llvm-project/compiler-rt/lib/sanitizer_common/tests
Alex Shlyapnikov 01676883cd [Sanitizers] 64 bit allocator respects allocator_may_return_null flag
Summary:
Make SizeClassAllocator64 return nullptr when it encounters OOM, which
allows the entire sanitizer's allocator to follow
allocator_may_return_null=1 policy
(LargeMmapAllocator: D34243, SizeClassAllocator64: D34433).

Reviewers: eugenis

Subscribers: srhines, kubamracek, llvm-commits

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

llvm-svn: 306342
2017-06-26 22:54:10 +00:00
..
CMakeLists.txt [compiler-rt][cmake] Build unit tests conditionally with _FILE_OFFSET_BITS=64 and _LARGEFILE_SOURCE 2017-05-18 13:19:35 +00:00
malloc_stress_transfer_test.cc [sanitizer] adding a threaded performance stress test for malloc (useful for manual analysis of malloc performance) 2016-08-23 21:12:04 +00:00
sanitizer_allocator_test.cc [Sanitizers] 64 bit allocator respects allocator_may_return_null flag 2017-06-26 22:54:10 +00:00
sanitizer_allocator_testlib.cc Recommit: Stop intercepting some malloc-related functions on FreeBSD and 2017-01-30 19:06:13 +00:00
sanitizer_atomic_test.cc
sanitizer_bitvector_test.cc [asan] replace std::random_shuffle with std::shuffle in tests since std::random_shuffle is being deprecated in C++17; NFC 2017-02-07 23:13:10 +00:00
sanitizer_bvgraph_test.cc
sanitizer_common_test.cc [Sanitizers] 32 bit allocator respects allocator_may_return_null flag 2017-06-22 00:02:37 +00:00
sanitizer_deadlock_detector_test.cc Remove TSAN_DEBUG in favor of SANITIZER_DEBUG. 2015-01-03 04:29:12 +00:00
sanitizer_flags_test.cc [sanitizer-coverage] nuke more stale code 2017-06-02 01:17:04 +00:00
sanitizer_format_interceptor_test.cc [asan] Fix handling of %m in printf interceptor. 2016-12-27 22:14:03 +00:00
sanitizer_ioctl_test.cc [Compiler-rt] Fix ioctl codes for MIPS in sanitizer_ioctl_test 2016-03-11 05:57:20 +00:00
sanitizer_libc_test.cc [compiler-rt] Do not introduce __sanitizer namespace globally 2016-09-15 21:02:18 +00:00
sanitizer_linux_test.cc Fixed non-NULL terminating array bug in SanitizerCommon.StartSubprocessTest that caused them to fail sometimes and act flaky. 2016-02-15 05:11:51 +00:00
sanitizer_list_test.cc Whenever reasonable, merge ASAN quarantine batches to save memory. 2017-01-19 22:15:54 +00:00
sanitizer_mutex_test.cc [Sanitizer tests] Fix most of the build problems on Windows 2014-05-13 12:02:53 +00:00
sanitizer_nolibc_test.cc
sanitizer_nolibc_test_main.cc [compiler-rt] Do not introduce __sanitizer namespace globally 2016-09-15 21:02:18 +00:00
sanitizer_posix_test.cc [compiler-rt] Fix TLS resource leaking in unittest 2016-06-30 19:56:14 +00:00
sanitizer_printf_test.cc [compiler-rt] Fix Sanitizer-common Unittests on win64 2016-06-29 21:57:58 +00:00
sanitizer_procmaps_test.cc [sanitizer] Track architecture and UUID of modules in LoadedModule 2016-12-02 21:27:14 +00:00
sanitizer_pthread_wrappers.h [sanitizers] Allocate 12MB for stack instead of 134MB 2016-07-12 20:10:28 +00:00
sanitizer_quarantine_test.cc Whenever reasonable, merge ASAN quarantine batches to save memory. 2017-01-19 22:15:54 +00:00
sanitizer_stackdepot_test.cc Change StackDepot interface to use StackTrace more extensively 2014-10-26 06:23:07 +00:00
sanitizer_stacktrace_printer_test.cc [sanitizer] Use architecture/slice information when symbolizing fat Mach-O files on Darwin 2017-01-06 21:45:05 +00:00
sanitizer_stacktrace_test.cc [sanitizer] Stop unwinding the stack when a close-to-zero PC is found 2016-06-27 15:32:18 +00:00
sanitizer_stoptheworld_test.cc asan: fix signal handling during stoptheworld 2015-03-02 17:36:02 +00:00
sanitizer_stoptheworld_testlib.cc
sanitizer_suppressions_test.cc Unit test the CRLF change to suppression parsing 2015-08-27 18:05:33 +00:00
sanitizer_symbolizer_test.cc XFAIL one sanitizer symbolizer test for FreeBSD 2016-07-31 19:27:46 +00:00
sanitizer_test_config.h [Sanitizer tests] Add sanitizer_test_config.h to make the inclusion of gtest.h conditional 2014-05-13 13:25:12 +00:00
sanitizer_test_main.cc [compiler-rt] Do not introduce __sanitizer namespace globally 2016-09-15 21:02:18 +00:00
sanitizer_test_utils.h [asan] Add strndup/__strndup interceptors. 2017-06-01 09:37:22 +00:00
sanitizer_thread_registry_test.cc Fixup of r293882: Forgot to update sanitizer_thread_registry.test.cc 2017-02-02 13:07:22 +00:00
standalone_malloc_test.cc