tsan: output message about failure to intercept only if verbosity flag is passed

llvm-svn: 157465
This commit is contained in:
Dmitry Vyukov 2012-05-25 09:47:18 +00:00
parent ff25cf5887
commit e86497ee1c
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ class ScopedInterceptor {
#define TSAN_INTERCEPTOR(ret, func, ...) INTERCEPTOR(ret, func, __VA_ARGS__) #define TSAN_INTERCEPTOR(ret, func, ...) INTERCEPTOR(ret, func, __VA_ARGS__)
#define TSAN_INTERCEPT(func) \ #define TSAN_INTERCEPT(func) \
if (!INTERCEPT_FUNCTION(func)) \ if (!INTERCEPT_FUNCTION(func) && flags()->verbosity) \
Printf("ThreadSanitizer: failed to intercept '" #func "' function\n"); \ Printf("ThreadSanitizer: failed to intercept '" #func "' function\n"); \
/**/ /**/