diff options
Diffstat (limited to 'compiler-rt/lib/tsan/rtl/tsan_sync.cc')
-rw-r--r-- | compiler-rt/lib/tsan/rtl/tsan_sync.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/tsan/rtl/tsan_sync.cc b/compiler-rt/lib/tsan/rtl/tsan_sync.cc index 9cc77894754..1041073bed5 100644 --- a/compiler-rt/lib/tsan/rtl/tsan_sync.cc +++ b/compiler-rt/lib/tsan/rtl/tsan_sync.cc @@ -32,7 +32,7 @@ void SyncVar::Init(ThreadState *thr, uptr pc, uptr addr, u64 uid) { creation_stack_id = 0; if (kCppMode) // Go does not use them creation_stack_id = CurrentStackId(thr, pc); - if (flags()->detect_deadlocks) + if (common_flags()->detect_deadlocks) DDMutexInit(thr, pc, this); } |