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

Unified Diff: Source/platform/heap/ThreadState.cpp

Issue 1120943002: Various ASan exemptions to allow Oilpan pre-sweep poisoning of unmarkeds. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: avoid wtf/ => platform/ dependency. Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/platform/heap/Handle.h ('k') | Source/wtf/LinkedHashSet.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/heap/ThreadState.cpp
diff --git a/Source/platform/heap/ThreadState.cpp b/Source/platform/heap/ThreadState.cpp
index 699866a4516830374b32646ac8351c86a8c97e33..5af4c65bdf1aef92672cffecb127c2ee3048e27e 100644
--- a/Source/platform/heap/ThreadState.cpp
+++ b/Source/platform/heap/ThreadState.cpp
@@ -895,10 +895,8 @@ void ThreadState::preSweep()
}
#if defined(ADDRESS_SANITIZER)
-// TODO(haraken): Currently we cannot enable the poisoning because we have
-// real bugs where destructors touch other on-heap objects. Remove all the bugs
-// and enable the poisoning.
-#if 0
+// TODO(Oilpan): enable the poisoning always.
+#if ENABLE(OILPAN
tkent 2015/05/20 06:46:43 append ')'
Yuta Kitamura 2015/05/20 06:58:22 #if ENABLE(OILPAN ^
sof 2015/05/20 06:59:14 Oops, thanks for catching this.
for (int i = 0; i < NumberOfHeaps; i++)
m_heaps[i]->poisonUnmarkedObjects();
#endif
« no previous file with comments | « Source/platform/heap/Handle.h ('k') | Source/wtf/LinkedHashSet.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698