Make ASan build not depend on asan.xcconfig
[WebKit-https.git] / Source / WTF / wtf / Compiler.h
index 9797e6f..0449c18 100644 (file)
 #define ASAN_ENABLED 0
 #endif
 
+#if ASAN_ENABLED
+#define SUPPRESS_ASAN __attribute__((no_sanitize_address))
+#else
+#define SUPPRESS_ASAN
+#endif
+
 /* ==== Compiler-independent macros for various compiler features, in alphabetical order ==== */
 
 /* ALWAYS_INLINE */