llvm-project/compiler-rt/test/lsan/TestCases
Alex Shlyapnikov d3213c792e [LSan] Make LSan allocator allocator_may_return_null compliant
Summary:
An attempt to reland D34786 (which caused bot failres on Mac), now with
properly intercepted operators new() and delete().

LSan allocator used to always return nullptr on too big allocation requests
(the definition of "too big" depends on platform and bitness), now it
follows policy configured by allocator_may_return_null flag

Reviewers: eugenis

Subscribers: llvm-commits

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

llvm-svn: 306845
2017-06-30 17:21:34 +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
allocator_returns_null.cc [LSan] Make LSan allocator allocator_may_return_null compliant 2017-06-30 17:21:34 +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