forked from OSchip/llvm-project
dfd9808b6c
Currently ThreadRegistry is overcomplicated because of tsan, it needs tid quarantine and reuse counters. Other sanitizers don't need that. It also seems that no other sanitizer now needs max number of threads. Asan used to need 2^24 limit, but it does not seem to be needed now. Other sanitizers blindly copy-pasted that without reasons. Lsan also uses quarantine, but I don't see why that may be potentially needed. Add a ThreadRegistry ctor that does not require any sizes and use it in all sanitizers except for tsan. In preparation for new tsan runtime, which won't need any of these parameters as well. Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D105713 |
||
---|---|---|
.. | ||
.clang-format | ||
CMakeLists.txt | ||
lsan.cpp | ||
lsan.h | ||
lsan_allocator.cpp | ||
lsan_allocator.h | ||
lsan_common.cpp | ||
lsan_common.h | ||
lsan_common_fuchsia.cpp | ||
lsan_common_linux.cpp | ||
lsan_common_mac.cpp | ||
lsan_flags.inc | ||
lsan_fuchsia.cpp | ||
lsan_fuchsia.h | ||
lsan_interceptors.cpp | ||
lsan_linux.cpp | ||
lsan_mac.cpp | ||
lsan_malloc_mac.cpp | ||
lsan_posix.cpp | ||
lsan_posix.h | ||
lsan_preinit.cpp | ||
lsan_thread.cpp | ||
lsan_thread.h | ||
weak_symbols.txt |