projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff25cf5
)
tsan: output message about failure to intercept only if verbosity flag is passed
author
Dmitry Vyukov
<dvyukov@google.com>
Fri, 25 May 2012 09:47:18 +0000
(09:47 +0000)
committer
Dmitry Vyukov
<dvyukov@google.com>
Fri, 25 May 2012 09:47:18 +0000
(09:47 +0000)
llvm-svn: 157465
compiler-rt/lib/tsan/rtl/tsan_interceptors.cc
patch
|
blob
|
history
diff --git
a/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc
b/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc
index
424404a
..
8eac562
100644
(file)
--- a/
compiler-rt/lib/tsan/rtl/tsan_interceptors.cc
+++ b/
compiler-rt/lib/tsan/rtl/tsan_interceptors.cc
@@
-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"); \
/**/