tsan: output message about failure to intercept only if verbosity flag is passed
llvm-svn: 157465
This commit is contained in:
parent
ff25cf5887
commit
e86497ee1c
|
@ -139,7 +139,7 @@ class ScopedInterceptor {
|
|||
|
||||
#define TSAN_INTERCEPTOR(ret, func, ...) INTERCEPTOR(ret, func, __VA_ARGS__)
|
||||
#define TSAN_INTERCEPT(func) \
|
||||
if (!INTERCEPT_FUNCTION(func)) \
|
||||
if (!INTERCEPT_FUNCTION(func) && flags()->verbosity) \
|
||||
Printf("ThreadSanitizer: failed to intercept '" #func "' function\n"); \
|
||||
/**/
|
||||
|
||||
|
|
Loading…
Reference in New Issue