llvm-project/compiler-rt/test/lsan/TestCases
Alex Shlyapnikov 10f50a44c1 [ASan] Report proper ASan error on allocator failures instead of CHECK(0)-ing
Summary:
Currently many allocator specific errors (OOM, for example) are reported as
a text message and CHECK(0) termination, not stack, no details, not too
helpful nor informative. To improve the situation, ASan detailed errors were
defined and reported under the appropriate conditions.

Issue: https://github.com/google/sanitizers/issues/887

Reviewers: eugenis

Subscribers: kubamracek, delcypher, #sanitizers, llvm-commits

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

llvm-svn: 328722
2018-03-28 18:22:40 +00:00
..
Darwin Add lsan interceptors for libdispatch functions on darwin 2017-06-19 19:21:31 +00:00
Linux [PowerPC] Disable failing dynamic tls test cases 2018-03-21 11:58:37 +00:00
allocator_returns_null.cc [ASan] Report proper ASan error on allocator failures instead of CHECK(0)-ing 2018-03-28 18:22:40 +00:00
default_options.cc [lsan] Add __lsan_default_options 2017-09-22 23:49:49 +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 Revert "Prevent DCE on __lsan_is_turned_off and re-enable test case" 2017-09-08 21:09:43 +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 [LSan] Disable a couple of failing tests on PPC64 (pending investigation). 2017-10-27 00:29:40 +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 [LSan] Disable a couple of failing tests on PPC64 (pending investigation). 2017-10-27 00:29:40 +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 [LSan] Enable LSan tests on PPC64 Linux. 2017-10-26 20:59:04 +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