llvm-project/compiler-rt/lib
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
..
BlocksRuntime
asan [sanitizer] Switch dlsym hack to internal_allocator 2021-11-12 16:11:10 -08:00
builtins [clang][compiler-rt][atomics] Add `__c11_atomic_fetch_nand` builtin and support `__atomic_fetch_nand` libcall 2021-10-28 02:18:43 +00:00
cfi Enable -Wformat-pedantic and fix fallout. 2021-11-05 13:12:35 +01:00
crt [cmake] By default do not instrument compiler-rt if LLVM_BUILD_INSTRUMENTED_COVERAGE is ON 2021-11-09 10:59:25 +01:00
dfsan [sanitizer] Switch dlsym hack to internal_allocator 2021-11-12 16:11:10 -08:00
fuzzer [libFuzzer] Disable Msan on InternalStrnlen 2021-11-05 15:24:09 -07:00
gwp_asan Fix a few warnings (signed/unsigned comparison in gtest, and missing field initializers) 2021-10-16 22:43:57 -07:00
hwasan [sanitizer] Switch dlsym hack to internal_allocator 2021-11-12 16:11:10 -08:00
interception [compiler-rt] [windows] Add more assembly patterns for interception 2021-09-21 15:51:58 -07:00
lsan [sanitizer] Switch dlsym hack to internal_allocator 2021-11-12 16:11:10 -08:00
memprof [sanitizer] Switch dlsym hack to internal_allocator 2021-11-12 16:11:10 -08:00
msan [msan] Fix test with GLIBC 2.34 2021-11-14 20:15:45 -08:00
orc [ORC][ORC-RT] Register type metadata from __swift5_types MachO section 2021-11-12 16:39:59 -08:00
profile [VE] Disable incompatible compiler-rt tests 2021-11-12 08:40:03 +01:00
safestack Revert "sanitizers: increase .clang-format columns to 100" 2021-07-28 09:40:21 +02:00
sanitizer_common [sanitizer][aarch64] fix clone system call's inline assembly 2021-11-14 09:45:40 +09:00
scudo [scudo] Fix running tests under hwasan. 2021-10-14 14:56:58 -07:00
stats [compiler-rt] separate lsan, ubsan, stats configuration from SANITIZER_COMMON_SUPPORTED_OS 2021-11-10 19:16:20 -08:00
tsan tsan: fix crash during thread exit 2021-11-16 16:43:09 +01:00
ubsan [compiler-rt] separate lsan, ubsan, stats configuration from SANITIZER_COMMON_SUPPORTED_OS 2021-11-10 19:16:20 -08:00
ubsan_minimal [compiler-rt] separate lsan, ubsan, stats configuration from SANITIZER_COMMON_SUPPORTED_OS 2021-11-10 19:16:20 -08:00
xray Enable -Wformat-pedantic and fix fallout. 2021-11-05 13:12:35 +01:00
CMakeLists.txt [ORC-RT] Re-apply "Initial ORC Runtime directories and build..." with fixes. 2021-04-24 16:00:20 -07:00