We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ac7997 commit f9224c1Copy full SHA for f9224c1
1 file changed
src/public/minbase/minbase_decls.h
@@ -164,8 +164,10 @@
164
// We also add noinline, to make sure the function is not inlined into a caller that is
165
// instrumented by TSan, which would cause the instrumentation to be applied to the function
166
// anyway.
167
-#if !defined( __SANITIZE_THREAD__ ) && defined(__has_feature) && __has_feature(thread_sanitizer)
168
- #define __SANITIZE_THREAD__ 1
+#if !defined( __SANITIZE_THREAD__ ) && defined(__has_feature)
+ #if __has_feature(thread_sanitizer)
169
+ #define __SANITIZE_THREAD__ 1
170
+ #endif
171
#endif
172
#if __SANITIZE_THREAD__
173
#define ATTR_NO_SANITIZE_THREAD __attribute__(( no_sanitize("thread") ))
0 commit comments