forked from OSchip/llvm-project
![]() Summary: Stop using the Linux solution with pthread_key_create(3). This approach does not work on NetBSD, because calling the thread destructor is not the latest operation on a POSIX thread entity. Detect _lwp_exit(2) call as it is really the latest operation called from a detaching POSIX thread. The pthread_key_create(3) solution also cannot be used in early libc/libpthread initialization on NetBSD as the system libraries are not bootstrapped enough. Sponsored by <The NetBSD Foundation> Reviewers: joerg, vitalybuka, kcc, dvyukov Reviewed By: dvyukov Subscribers: llvm-commits, #sanitizers Tags: #sanitizers Differential Revision: https://reviews.llvm.org/D40457 llvm-svn: 318994 |
||
---|---|---|
.. | ||
.clang-format | ||
CMakeLists.txt | ||
lsan.cc | ||
lsan.h | ||
lsan_allocator.cc | ||
lsan_allocator.h | ||
lsan_common.cc | ||
lsan_common.h | ||
lsan_common_linux.cc | ||
lsan_common_mac.cc | ||
lsan_flags.inc | ||
lsan_interceptors.cc | ||
lsan_linux.cc | ||
lsan_mac.cc | ||
lsan_malloc_mac.cc | ||
lsan_preinit.cc | ||
lsan_thread.cc | ||
lsan_thread.h | ||
weak_symbols.txt |