llvm-project/compiler-rt/lib/tsan
Dmitry Vyukov 2ba80d6df6 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
2018-12-19 09:34:13 +00:00
..
benchmarks
dd [CMake] Tidy up the organisation of compiler-rt when configured as a standalone 2018-06-27 12:56:34 +00:00
go Switch syscall(2)/__syscall(2) calls to libc calls on NetBSD 2018-10-01 19:50:12 +00:00
rtl tsan: align default value of detect_deadlocks flag with actual behavior 2018-12-19 09:34:13 +00:00
tests [tsan] Use DARWIN_osx_LINK_FLAGS when building unit tests to match ASan behavior. 2018-06-21 18:00:51 +00:00
.clang-format [sanitizer] Remove unneeded blank lines 2018-05-09 00:44:26 +00:00
CMakeLists.txt Improve the comment in previous 2018-12-16 10:24:06 +00:00
analyze_libtsan.sh [TSan] Slightly improve check_analyze script. 2015-12-07 20:18:50 +00:00
check_analyze.sh tsan: Update measurements in check_analyze.sh. 2018-11-22 00:47:37 +00:00
check_cmake.sh