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

Unified Diff: Source/wtf/AddressSanitizer.h

Issue 1259893002: Fix FreeList::zapFreedMemory to fail "use-of-uninitialized-value" on MSAN (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Not to addToFreeList Created 5 years, 5 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
« Source/platform/heap/Heap.cpp ('K') | « Source/platform/heap/Heap.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/AddressSanitizer.h
diff --git a/Source/wtf/AddressSanitizer.h b/Source/wtf/AddressSanitizer.h
index bd333708278af859bfb221b16771889faa107a9e..9b99531f399b856b0b081326b31f8078f79163d9 100644
--- a/Source/wtf/AddressSanitizer.h
+++ b/Source/wtf/AddressSanitizer.h
@@ -38,4 +38,10 @@
#define NO_LAZY_SWEEP_SANITIZE_ADDRESS
#endif
+#if defined(MEMORY_SANITIZER) && (!OS(WIN) || COMPILER(CLANG))
+#define NO_SANITIZE_MEMORY __attribute__((no_sanitize_memory))
+#else
+#define NO_SANITIZE_MEMORY
+#endif
+
#endif // WTF_AddressSanitizer_h
« Source/platform/heap/Heap.cpp ('K') | « Source/platform/heap/Heap.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698