diff options
| author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2013-11-11 11:28:30 +0000 |
|---|---|---|
| committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2013-11-11 11:28:30 +0000 |
| commit | b69699eb58d408c055e4c632782c24ae70606b45 (patch) | |
| tree | 9e390980497735b440b432f9fe9805315ab54345 /compiler-rt/lib/tsan | |
| parent | fa421639de2e616a62f1d4cc6aa595c68576f3bd (diff) | |
| download | bcm5719-llvm-b69699eb58d408c055e4c632782c24ae70606b45.tar.gz bcm5719-llvm-b69699eb58d408c055e4c632782c24ae70606b45.zip | |
[sanitizer] Warn if interception fails.
This includes a clang-format pass over common interceptors.
llvm-svn: 194372
Diffstat (limited to 'compiler-rt/lib/tsan')
| -rw-r--r-- | compiler-rt/lib/tsan/rtl/tsan_interceptors.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc b/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc index 7a8d616718b..0b956224a1e 100644 --- a/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc +++ b/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc @@ -1840,6 +1840,7 @@ struct TsanInterceptorContext { // Causes interceptor recursion (glob64() calls lstat64()) #undef SANITIZER_INTERCEPT_GLOB +#define COMMON_INTERCEPT_FUNCTION(name) INTERCEPT_FUNCTION(name) #define COMMON_INTERCEPTOR_UNPOISON_PARAM(ctx, count) \ do { \ } while (false) |

