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 | 6136aae3233b1fb59c7256524daf985d7ca97ca0 (patch) | |
| tree | 3dfc6d83750087ea14c9f02d4fe1335caae2af8f /compiler-rt/lib/tsan/rtl/tsan_flags.cc | |
| parent | edbb54d60c98cd5d99d90ad614642c80664bd9e0 (diff) | |
| download | bcm5719-llvm-6136aae3233b1fb59c7256524daf985d7ca97ca0.tar.gz bcm5719-llvm-6136aae3233b1fb59c7256524daf985d7ca97ca0.zip | |
[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.
llvm-svn: 212533
Diffstat (limited to 'compiler-rt/lib/tsan/rtl/tsan_flags.cc')
| -rw-r--r-- | compiler-rt/lib/tsan/rtl/tsan_flags.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler-rt/lib/tsan/rtl/tsan_flags.cc b/compiler-rt/lib/tsan/rtl/tsan_flags.cc index 143120010a1..123df494800 100644 --- a/compiler-rt/lib/tsan/rtl/tsan_flags.cc +++ b/compiler-rt/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()); |

