llvm-project/compiler-rt/lib/tsan
Dmitry Vyukov c7081b5b4c tsan: fix crash during thread exit
Use of gethostent provokes caching of some resources inside of libc.
They are freed in __libc_thread_freeres very late in thread lifetime,
after our ThreadFinish. __libc_thread_freeres calls free which
previously crashed in malloc hooks.
Fix it by setting ignore_interceptors for finished threads,
which in turn prevents malloc hooks.

Reviewed By: melver

Differential Revision: https://reviews.llvm.org/D113989
2021-11-16 16:43:09 +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 Revert "tsan: new runtime (v3)" 2021-11-12 17:49:47 +01:00
rtl tsan: fix crash during thread exit 2021-11-16 16:43:09 +01:00
tests Revert "tsan: new runtime (v3)" 2021-11-12 17:49:47 +01:00
.clang-format Revert "sanitizers: increase .clang-format columns to 100" 2021-07-28 09:40:21 +02:00
CMakeLists.txt add tsan shared lib 2021-11-16 00:42:30 +00: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