summaryrefslogtreecommitdiffstats
path: root/compiler-rt
diff options
context:
space:
mode:
authorAlexey Samsonov <samsonov@google.com>2012-11-16 11:21:07 +0000
committerAlexey Samsonov <samsonov@google.com>2012-11-16 11:21:07 +0000
commit4ac66c49da86be32caff3a3af46266936050b53e (patch)
tree440e6fc5919ac3f0c8dfe22fbcc660256701f05f /compiler-rt
parent1594fbd07e7f33e5f863183dad660abaa0e7af36 (diff)
downloadbcm5719-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.cc2
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++;
OpenPOWER on IntegriCloud