llvm-project/compiler-rt/lib/tsan
Dmitry Vyukov 9e66e5872c tsan: print signal num in errno spoiling reports
For errno spoiling reports we only print the stack
where the signal handler is invoked. And the top
frame is the signal handler function, which is supposed
to give the info for debugging.
But in same cases the top frame can be some common thunk,
which does not give much info. E.g. for Go/cgo it's always
runtime.cgoSigtramp.

Print the signal number.
This is what we can easily gather and it may give at least
some hints regarding the issue.

Reviewed By: melver, vitalybuka

Differential Revision: https://reviews.llvm.org/D121979
2022-03-18 16:12:11 +01: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: remove old vector clocks 2021-12-21 19:54:27 +01:00
rtl tsan: print signal num in errno spoiling reports 2022-03-18 16:12:11 +01:00
rtl-old [TSan][NFC] fixup for comment of Shadow 2022-02-23 11:24:24 -08:00
tests Reapply "[cmake] Prefix gtest and gtest_main with "llvm_"." 2022-03-04 13:45:43 -08:00
.clang-format Revert "sanitizers: increase .clang-format columns to 100" 2021-07-28 09:40:21 +02:00
CMakeLists.txt tsan: enable the new runtime 2021-12-13 12:50:13 +01: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 tsan: new runtime (v3) 2021-12-13 12:48:34 +01:00
check_cmake.sh [compiler-rt] Use portable "#!/usr/bin/env bash" shebang for tests. 2021-09-24 19:10:07 +05:30