llvm-project/compiler-rt/lib/lsan
Francis Ricci 99a84b163f Postpone lsan tls allocation until required
Summary:
This prevents InternalAlloc from being called before the sanitizers
are fully initialized.

Reviewers: kubamracek, kcc

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D31306

llvm-svn: 298947
2017-03-28 21:56:45 +00:00
..
.clang-format Tell clang-format that (most) sanitizers are written using Google style guide. 2015-11-19 22:11:10 +00:00
CMakeLists.txt Move lsan allocator cache from lsan_common_linux to lsan_linux 2017-03-27 19:42:37 +00:00
lsan.cc [sanitizer] [SystemZ] Abort if the kernel might be vulnerable to CVE-2016-2143. 2016-04-27 17:42:00 +00:00
lsan.h [LSAN] Fix test swapcontext.cc on MIPS 2016-05-18 06:09:26 +00:00
lsan_allocator.cc Use pthreads for thread-local lsan allocator cache on darwin 2017-03-27 14:07:50 +00:00
lsan_allocator.h Use pthreads for thread-local lsan allocator cache on darwin 2017-03-27 14:07:50 +00:00
lsan_common.cc Use pthreads to manage thread-local storage on darwin for leak sanitizer 2017-02-13 22:20:07 +00:00
lsan_common.h Enable i386 builds for darwin lsan 2017-03-28 21:56:44 +00:00
lsan_common_linux.cc Move lsan allocator cache from lsan_common_linux to lsan_linux 2017-03-27 19:42:37 +00:00
lsan_common_mac.cc Postpone lsan tls allocation until required 2017-03-28 21:56:45 +00:00
lsan_flags.inc [LSan] Add "use_ld_allocations" flag to disable old way of DTLS handling. 2016-01-14 19:16:05 +00:00
lsan_interceptors.cc Disable darwin interception of non-darwin functions 2017-02-13 21:06:13 +00:00
lsan_linux.cc Fix missing sanitizer platform include 2017-03-27 20:22:02 +00:00
lsan_preinit.cc [Sanitizer] Introduce SANITIZER_CAN_USE_PREINIT_ARRAY definition and use it across sanitizers. 2014-07-25 22:05:02 +00:00
lsan_thread.cc Fix build breakage from moving kInvalidTid to lsan_common 2017-02-17 03:34:56 +00:00
lsan_thread.h [LSan] Use __tls_get_addr interceptor to keep track of dynamic TLS. 2016-01-14 18:50:09 +00:00
weak_symbols.txt Add cmake build support for lsan on OS X 2017-02-14 00:56:53 +00:00