Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1)

Issue 428002: Compatibility with AddressSanitizer (fast memory error detector for C/C++) (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 8 months ago by Ivan Penkov
Modified:
11 years, 8 months ago
CC:
google-breakpad-dev_googlegroups.com
Base URL:
http://google-breakpad.googlecode.com/svn/trunk/src/
Visibility:
Public.

Description

Compatibility with AddressSanitizer (fast memory error detector for C/C++)

Patch Set 1 #

Patch Set 2 : Converting the #ifndef's into #ifdef's for better readability #

Total comments: 8

Patch Set 3 : Wrapping the whole test in #ifndef ADDRESS_SANITIZER #

Unified diffs Side-by-side diffs Delta from patch set Stats Patch
M client/linux/handler/exception_handler_unittest.cc View 1 2 2 chunks +7 lines, -0 lines 0 comments Download

Messages

Total messages: 6
ivanpe.google
Very straightforward change. Only affects a single unit test when compiled with ADDRESS_SANITIZER=1. Thanks, -Ivan
11 years, 8 months ago #1
Ted Mielczarek
http://breakpad.appspot.com/428002/diff/2001/client/linux/handler/exception_handler_unittest.cc File client/linux/handler/exception_handler_unittest.cc (right): http://breakpad.appspot.com/428002/diff/2001/client/linux/handler/exception_handler_unittest.cc#newcode542 client/linux/handler/exception_handler_unittest.cc:542: #ifdef ADDRESS_SANITIZER Seems like it'd be simpler to just ...
11 years, 8 months ago #2
Mark Mentovai
http://breakpad.appspot.com/428002/diff/2001/client/linux/handler/exception_handler_unittest.cc File client/linux/handler/exception_handler_unittest.cc (right): http://breakpad.appspot.com/428002/diff/2001/client/linux/handler/exception_handler_unittest.cc#newcode588 client/linux/handler/exception_handler_unittest.cc:588: // If AddressSanitizer is used, we end up with ...
11 years, 8 months ago #3
Ted Mielczarek
11 years, 8 months ago #4
ivanpe.google
I wrapped the whole test in #ifndef ADDRESS_SANITIZER. Thanks, -Ivan http://breakpad.appspot.com/428002/diff/2001/client/linux/handler/exception_handler_unittest.cc File client/linux/handler/exception_handler_unittest.cc (right): http://breakpad.appspot.com/428002/diff/2001/client/linux/handler/exception_handler_unittest.cc#newcode542 ...
11 years, 8 months ago #5
Mark Mentovai
11 years, 8 months ago #6
LGTM
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld 1004:630ec63f810e-tainted