llvm-project/compiler-rt/test/lsan/TestCases
Francis Ricci 42175cb0d7 Add lsan interceptors for libdispatch functions on darwin
Summary:
This is required for standalone LSan to work with libdispatch worker threads,
and is a slimmed down version of the functionality provided for ASan
in asan_mac.cc.

Re-commit of r305695 with use_stacks=0 to get around a racy lingering pointer.

Reviewers: alekseyshl, kubamracek, glider, kcc

Subscribers: mgorny, llvm-commits

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

llvm-svn: 305732
2017-06-19 19:21:31 +00:00
..
Darwin Add lsan interceptors for libdispatch functions on darwin 2017-06-19 19:21:31 +00:00
Linux make detect_leaks=1 the default for the lsan test suite 2017-04-20 21:00:02 +00:00
disabler.c Allow for setting of global platform-specific lsan options in the test suite 2017-04-18 20:56:56 +00:00
disabler.cc make detect_leaks=1 the default for the lsan test suite 2017-04-20 21:00:02 +00:00
do_leak_check_override.cc make detect_leaks=1 the default for the lsan test suite 2017-04-20 21:00:02 +00:00
high_allocator_contention.cc make detect_leaks=1 the default for the lsan test suite 2017-04-20 21:00:02 +00:00
ignore_object.c Allow for setting of global platform-specific lsan options in the test suite 2017-04-18 20:56:56 +00:00
ignore_object_errors.cc Allow for setting of global platform-specific lsan options in the test suite 2017-04-18 20:56:56 +00:00
large_allocation_leak.cc make detect_leaks=1 the default for the lsan test suite 2017-04-20 21:00:02 +00:00
leak_check_at_exit.cc make detect_leaks=1 the default for the lsan test suite 2017-04-20 21:00:02 +00:00
leak_check_before_thread_started.cc Allow for setting of global platform-specific lsan options in the test suite 2017-04-18 20:56:56 +00:00
link_turned_off.cc Disable two failing darwin lsan tests 2017-05-12 16:52:19 +00:00
many_tls_keys.cc [LSAN-ARM] Marking new test unsupported on ARMHF due to bot failures 2017-05-26 17:31:33 +00:00
new_array_with_dtor_0.cc
pointer_to_self.cc make detect_leaks=1 the default for the lsan test suite 2017-04-20 21:00:02 +00:00
print_suppressions.cc make detect_leaks=1 the default for the lsan test suite 2017-04-20 21:00:02 +00:00
recoverable_leak_check.cc Disable two failing darwin lsan tests 2017-05-12 16:52:19 +00:00
register_root_region.cc make detect_leaks=1 the default for the lsan test suite 2017-04-20 21:00:02 +00:00
sanity_check_pure_c.c
stale_stack_leak.cc make detect_leaks=1 the default for the lsan test suite 2017-04-20 21:00:02 +00:00
strace_test.cc [test] Enable the strace_test only if strace is installed 2017-02-08 08:43:44 +00:00
suppressions_default.cc make detect_leaks=1 the default for the lsan test suite 2017-04-20 21:00:02 +00:00
suppressions_file.cc make detect_leaks=1 the default for the lsan test suite 2017-04-20 21:00:02 +00:00
swapcontext.cc make detect_leaks=1 the default for the lsan test suite 2017-04-20 21:00:02 +00:00
use_after_return.cc make detect_leaks=1 the default for the lsan test suite 2017-04-20 21:00:02 +00:00
use_globals_initialized.cc make detect_leaks=1 the default for the lsan test suite 2017-04-20 21:00:02 +00:00
use_globals_uninitialized.cc make detect_leaks=1 the default for the lsan test suite 2017-04-20 21:00:02 +00:00
use_poisoned_asan.cc make detect_leaks=1 the default for the lsan test suite 2017-04-20 21:00:02 +00:00
use_registers.cc make detect_leaks=1 the default for the lsan test suite 2017-04-20 21:00:02 +00:00
use_stacks.cc make detect_leaks=1 the default for the lsan test suite 2017-04-20 21:00:02 +00:00
use_stacks_threaded.cc make detect_leaks=1 the default for the lsan test suite 2017-04-20 21:00:02 +00:00
use_unaligned.cc make detect_leaks=1 the default for the lsan test suite 2017-04-20 21:00:02 +00:00