diff options
author | Kostya Serebryany <kcc@google.com> | 2014-07-08 13:40:08 +0000 |
---|---|---|
committer | Kostya Serebryany <kcc@google.com> | 2014-07-08 13:40:08 +0000 |
commit | ac3d9556dec854d5a53fa1f53f0d5a3010d7cb56 (patch) | |
tree | d098ca580502c57e8723403c6ae639354bd2e963 /lib/tsan/rtl/tsan_flags.cc | |
parent | 6e23467162423e7be4f2e8cc9fdb966d256877fb (diff) |
[tsan] Enable tsan's deadlock detector by default.
The tsan's deadlock detector has been used in Chromium for a while;
it found a few real bugs and reported no false positives.
So, it's time to give it a bit more exposure.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@212533 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/tsan/rtl/tsan_flags.cc')
-rw-r--r-- | lib/tsan/rtl/tsan_flags.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/tsan/rtl/tsan_flags.cc b/lib/tsan/rtl/tsan_flags.cc index 143120010..123df4948 100644 --- a/lib/tsan/rtl/tsan_flags.cc +++ b/lib/tsan/rtl/tsan_flags.cc @@ -102,6 +102,7 @@ void InitializeFlags(Flags *f, const char *env) { SetCommonFlagsDefaults(f); // Override some common flags defaults. f->allow_addr2line = true; + f->detect_deadlocks = true; // Let a frontend override. ParseFlags(f, __tsan_default_options()); |