[TSan] use explicit ctor for BlockingCall
llvm-svn: 168150
This commit is contained in:
parent
1594fbd07e
commit
4ac66c49da
|
|
@ -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++;
|
||||
|
|
|
|||
Loading…
Reference in New Issue