diff options
author | Dmitry Vyukov <dvyukov@google.com> | 2018-12-19 09:34:13 +0000 |
---|---|---|
committer | Dmitry Vyukov <dvyukov@google.com> | 2018-12-19 09:34:13 +0000 |
commit | 2ba80d6df610f7bb8f6d6d5efa20d8571eac53ac (patch) | |
tree | 925aef24cfbc4e7401abc87e991048db262ffd3a /lldb/packages/Python/lldbsuite/test/lang/cpp/std-function-step-into-callable/main.cpp | |
parent | b110e2277cdfe025459633d93eca1f9cd64edacd (diff) | |
download | bcm5719-llvm-2ba80d6df610f7bb8f6d6d5efa20d8571eac53ac.tar.gz bcm5719-llvm-2ba80d6df610f7bb8f6d6d5efa20d8571eac53ac.zip |
tsan: align default value of detect_deadlocks flag with actual behavior
I tricked myself into thinking that deadlock detection is off by default in TSan by looking at the default value of the detect_deadlocks flag and outdated docs. (Created a pull request to update docs.)
I even managed to confuse others: https://groups.google.com/forum/#!topic/thread-sanitizer/xYvnAYwtoDk
However, the default value is overwritten in code (TSan_flags.cc:InitializeFlags). The TSan/deadlock tests also rely on this
This changes aligns the default value of the flag with the actual default behavior.
Author: yln (Julian Lettner)
Reviewed in: https://reviews.llvm.org/D55846
llvm-svn: 349609
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/cpp/std-function-step-into-callable/main.cpp')
0 files changed, 0 insertions, 0 deletions