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

Unified Diff: Source/wtf/AddressSanitizer.h

Issue 1257303003: Revert of Fix FreeList::zapFreedMemory to fail "use-of-uninitialized-value" on MSAN (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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
« no previous file with comments | « 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 59ccfc1e061e8a1c2cd324aeb92269252003a44b..bd333708278af859bfb221b16771889faa107a9e 100644
--- a/Source/wtf/AddressSanitizer.h
+++ b/Source/wtf/AddressSanitizer.h
@@ -4,8 +4,6 @@
#ifndef WTF_AddressSanitizer_h
#define WTF_AddressSanitizer_h
-// TODO(kojii): This file will need to be renamed, because it's no more
-// specific to AddressSanitizer.
// TODO(sof): Add SyZyASan support?
#if defined(ADDRESS_SANITIZER)
@@ -24,10 +22,6 @@
#define __lsan_unregister_root_region(addr, size) ((void)(addr), (void)(size))
#endif
-#if defined(MEMORY_SANITIZER)
-#include <sanitizer/msan_interface.h>
-#endif
-
// TODO(sof): Have to handle (ADDRESS_SANITIZER && _WIN32) differently as it
// uses both Clang (which supports the __attribute__ syntax) and CL (which doesn't)
// as long as we use "clang-cl /fallback". This shouldn't be needed when Clang
@@ -44,10 +38,4 @@
#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
« no previous file with comments | « Source/platform/heap/Heap.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698