llvm-project/compiler-rt/lib/lsan
Alexey Samsonov 95cd990588 [LSan] Ignore all allocations made inside pthread_create.
Thread stack/TLS may be stored by libpthread for future reuse after
thread destruction, and the linked list it's stored in doesn't
even hold valid pointers to the objects, the latter are calculated
by obscure pointer arithmetic.

With this change applied, LSan test suite passes with
"use_ld_allocations" flag defaulted to "false". It still requires more
testing to check if the default can be switched.

llvm-svn: 257975
2016-01-16 00:57:25 +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 Revert "[CMake] Provide options for toggling on and off various runtime libraries." 2015-12-10 00:40:58 +00:00
Makefile.mk Remove support for building sanitizers from Makefile/autoconf build on Linux. 2015-02-18 22:26:49 +00:00
lsan.cc [LSan] Use __tls_get_addr interceptor to keep track of dynamic TLS. 2016-01-14 18:50:09 +00:00
lsan.h [Sanitizer] Make StackTrace a lightweight reference to array of PCs, and 2014-10-26 03:35:14 +00:00
lsan_allocator.cc [lsan] [aarch64] Add support for AArch64 2015-10-21 13:08:06 +00:00
lsan_allocator.h [lsan] Implement the public allocator interface in standalone LSan. 2014-08-26 14:28:28 +00:00
lsan_common.cc [LSan] Ignore all allocations made inside pthread_create. 2016-01-16 00:57:25 +00:00
lsan_common.h [LSan] Ignore all allocations made inside pthread_create. 2016-01-16 00:57:25 +00:00
lsan_common_linux.cc [LSan] Add "use_ld_allocations" flag to disable old way of DTLS handling. 2016-01-14 19:16:05 +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 [LSan] Ignore all allocations made inside pthread_create. 2016-01-16 00:57:25 +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 [LSan] Use __tls_get_addr interceptor to keep track of dynamic TLS. 2016-01-14 18:50:09 +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