llvm-project/compiler-rt/lib/tsan/tests/unit
Alex Shlyapnikov c75d47b52d [TSan] Report proper error on allocator failures instead of CHECK(0)-ing
Summary:
Following up on and complementing D44404 and other sanitizer allocators.

Currently many allocator specific errors (OOM, for example) are reported as
a text message and CHECK(0) termination, no stack, no details, not too
helpful nor informative. To improve the situation, detailed and structured
common errors were defined and reported under the appropriate conditions.

Common tests were generalized a bit to cover a slightly different TSan
stack reporting format, extended to verify errno value and returned
pointer value check is now explicit to facilitate debugging.

Reviewers: dvyukov

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

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

llvm-svn: 334975
2018-06-18 20:03:31 +00:00
..
CMakeLists.txt Move __tsan::Vector to __sanitizer 2017-12-04 12:30:09 +00:00
tsan_clock_test.cc tsan: optimize sync clock memory consumption 2017-07-14 11:30:06 +00:00
tsan_dense_alloc_test.cc
tsan_flags_test.cc [Sanitizers] Unify the semantics and usage of "exitcode" runtime flag across all sanitizers. 2015-08-21 20:49:37 +00:00
tsan_mman_test.cc [TSan] Report proper error on allocator failures instead of CHECK(0)-ing 2018-06-18 20:03:31 +00:00
tsan_mutex_test.cc Remove TSAN_DEBUG in favor of SANITIZER_DEBUG. 2015-01-03 04:29:12 +00:00
tsan_mutexset_test.cc
tsan_shadow_test.cc
tsan_stack_test.cc
tsan_sync_test.cc tsan: don't create sync objects on acquire 2016-06-27 11:14:59 +00:00
tsan_unit_test_main.cc [sanitizer] On OS X, verify that interceptors work and abort if not, take 2 2016-03-17 08:37:25 +00:00