diff options
| author | Alexey Samsonov <samsonov@google.com> | 2012-11-16 11:21:07 +0000 |
|---|---|---|
| committer | Alexey Samsonov <samsonov@google.com> | 2012-11-16 11:21:07 +0000 |
| commit | 4ac66c49da86be32caff3a3af46266936050b53e (patch) | |
| tree | 440e6fc5919ac3f0c8dfe22fbcc660256701f05f /compiler-rt | |
| parent | 1594fbd07e7f33e5f863183dad660abaa0e7af36 (diff) | |
| download | bcm5719-llvm-4ac66c49da86be32caff3a3af46266936050b53e.tar.gz bcm5719-llvm-4ac66c49da86be32caff3a3af46266936050b53e.zip | |
[TSan] use explicit ctor for BlockingCall
llvm-svn: 168150
Diffstat (limited to 'compiler-rt')
| -rw-r--r-- | compiler-rt/lib/tsan/rtl/tsan_interceptors.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc b/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc index af929126731..379de0b3ee1 100644 --- a/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc +++ b/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc @@ -163,7 +163,7 @@ ScopedInterceptor::~ScopedInterceptor() { #define BLOCK_REAL(name) (BlockingCall(thr), REAL(name)) struct BlockingCall { - BlockingCall(ThreadState *thr) + explicit BlockingCall(ThreadState *thr) : ctx(SigCtx(thr)) { CHECK_EQ(ctx->in_blocking_func, 0); ctx->in_blocking_func++; |

