| 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
|
|
|