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

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

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 3 months ago by Ivan Penkov
Modified:
12 years, 3 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
12 years, 3 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 ...
12 years, 3 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 ...
12 years, 3 months ago #3
Ted Mielczarek
12 years, 3 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 ...
12 years, 3 months ago #5
Mark Mentovai
12 years, 3 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