llvm-project/compiler-rt/lib/tsan
Dmitry Vyukov d31b2dc235 tsan: add debugging code for ptrace test failures
Debugging of crashes on powerpc after commit:
c80604f7a3 ("tsan: remove real func check from interceptors")
Somehow replacing if with DCHECK leads to strange failures in:
SanitizerCommon-tsan-powerpc64le-Linux :: Linux/ptrace.cpp
https://lab.llvm.org/buildbot/#/builders/105
https://lab.llvm.org/buildbot/#/builders/121
https://lab.llvm.org/buildbot/#/builders/57

The hypothesis is that something writes out-of-bounds
into pt_regs on stack and that corrupts internal tsan state.

Reviewed By: melver

Differential Revision: https://reviews.llvm.org/D112703
2021-10-29 17:37:02 +02:00
..
benchmarks compiler-rt: Rename .cc file in lib/tsan/{benchmarks,dd,go} to .cpp 2019-08-01 14:30:49 +00:00
dd tsan/dd: fix format strings 2021-08-13 17:45:29 +02:00
go tsan: move memory access functions to a separate file 2021-10-28 13:31:10 +02:00
rtl tsan: add debugging code for ptrace test failures 2021-10-29 17:37:02 +02:00
tests tsan: switch sync test from EXPECT to CHECK 2021-10-27 15:11:31 +02:00
.clang-format Revert "sanitizers: increase .clang-format columns to 100" 2021-07-28 09:40:21 +02:00
CMakeLists.txt tsan: move memory access functions to a separate file 2021-10-28 13:31:10 +02:00
analyze_libtsan.sh [compiler-rt] Use portable "#!/usr/bin/env bash" shebang for tests. 2021-09-24 19:10:07 +05:30
check_analyze.sh [compiler-rt] Use portable "#!/usr/bin/env bash" shebang for tests. 2021-09-24 19:10:07 +05:30
check_cmake.sh [compiler-rt] Use portable "#!/usr/bin/env bash" shebang for tests. 2021-09-24 19:10:07 +05:30