Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(490)

Issue 15652009: Add LeakSanitizer annotations to base/debug/leak_annotations.h (Closed)

Created:
7 years, 6 months ago by earthdok_at_google
Modified:
7 years, 6 months ago
CC:
chromium-reviews, erikwright+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Add LeakSanitizer annotations to base/debug/leak_annotations.h If building with LeakSanitizer, define leak annotations appropriately. http://clang.llvm.org/docs/LeakSanitizer.html R=glider@chromium.org,jar@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=206167

Patch Set 1 #

Total comments: 2

Patch Set 2 : addressed glider's comments #

Total comments: 4

Patch Set 3 : removed spurious define #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -12 lines) Patch
M base/debug/leak_annotations.h View 1 2 1 chunk +37 lines, -12 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
earthdok
Please take a look.
7 years, 6 months ago (2013-06-11 16:35:20 UTC) #1
jar (doing other things)
I'm not very familiar with this code, and would like to hear more informed comments ...
7 years, 6 months ago (2013-06-12 18:43:59 UTC) #2
Alexander Potapenko
LGTM in general https://codereview.chromium.org/15652009/diff/1/base/debug/leak_annotations.h File base/debug/leak_annotations.h (right): https://codereview.chromium.org/15652009/diff/1/base/debug/leak_annotations.h#newcode15 base/debug/leak_annotations.h:15: // Annotate a program scope as ...
7 years, 6 months ago (2013-06-13 10:47:56 UTC) #3
earthdok
- rewrote the comments - used the DISALLOW_COPY_AND_ASSIGN macro - got rid of namespace
7 years, 6 months ago (2013-06-13 11:54:08 UTC) #4
Alexander Potapenko
https://codereview.chromium.org/15652009/diff/7001/base/debug/leak_annotations.h File base/debug/leak_annotations.h (right): https://codereview.chromium.org/15652009/diff/7001/base/debug/leak_annotations.h#newcode23 base/debug/leak_annotations.h:23: // LeakSanitizer won't). What about annotating the same object ...
7 years, 6 months ago (2013-06-13 13:41:27 UTC) #5
earthdok
https://codereview.chromium.org/15652009/diff/7001/base/debug/leak_annotations.h File base/debug/leak_annotations.h (right): https://codereview.chromium.org/15652009/diff/7001/base/debug/leak_annotations.h#newcode23 base/debug/leak_annotations.h:23: // LeakSanitizer won't). On 2013/06/13 13:41:27, Alexander Potapenko wrote: ...
7 years, 6 months ago (2013-06-13 13:52:02 UTC) #6
Alexander Potapenko
> It's actually not a fatal error in HeapChecker. I was wrong before. Yeah, and ...
7 years, 6 months ago (2013-06-13 13:58:05 UTC) #7
jar (doing other things)
Mostly rubber stamp LGTM
7 years, 6 months ago (2013-06-13 17:21:58 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/earthdok@google.com/15652009/11001
7 years, 6 months ago (2013-06-13 17:41:32 UTC) #9
commit-bot: I haz the power
7 years, 6 months ago (2013-06-13 22:30:34 UTC) #10
Message was sent while issue was closed.
Change committed as 206167

Powered by Google App Engine
This is Rietveld 408576698