llvm-project/compiler-rt/lib/sanitizer_common/tests
Alexey Samsonov 6334f46db8 [Sanitizer] Introduce Allocator::may_return_null bool flag.
Summary:
Turn "allocator_may_return_null" common flag into an
Allocator::may_return_null bool flag. We want to make sure
that common flags are immutable after initialization. There
are cases when we want to change this flag in the allocator
at runtime: e.g. in unit tests and during ASan activation
on Android.

Test Plan: regression test suite, real-life applications

Reviewers: kcc, eugenis

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D6623

llvm-svn: 224148
2014-12-12 20:07:35 +00:00
..
CMakeLists.txt [mips] [test] Enable COMPILER_RT_INCLUDE_TESTS for MIPS 2014-12-12 07:08:12 +00:00
sanitizer_allocator_test.cc [Sanitizer] Introduce Allocator::may_return_null bool flag. 2014-12-12 20:07:35 +00:00
sanitizer_allocator_testlib.cc Add throw() specifiers to more redeclarations of operator delete and operator delete[]. 2014-02-08 01:42:08 +00:00
sanitizer_atomic_test.cc asan: fix atomic operations on ARM 2014-01-22 14:13:37 +00:00
sanitizer_bitvector_test.cc [sanitizer] implement node removal in Deadlock graph 2014-02-17 11:21:52 +00:00
sanitizer_bvgraph_test.cc [sanitizer] speed up the bitvector-based deadlock detector by ~15% (iterate over the currently held locks using the array, not the bitvector. Bitvector is not the best data structure to iterate over) 2014-03-31 07:23:50 +00:00
sanitizer_common_test.cc [Sanitizer] Introduce generic stack frame rendering machinery 2014-11-05 22:44:36 +00:00
sanitizer_deadlock_detector_test.cc tsan: optimize memory access functions 2014-05-30 13:36:29 +00:00
sanitizer_flags_test.cc [sanitizer] Update flags test. 2014-05-29 14:55:12 +00:00
sanitizer_format_interceptor_test.cc [Sanitizer tests] Fix most of the build problems on Windows 2014-05-13 12:02:53 +00:00
sanitizer_ioctl_test.cc [sanitizer] Relax sanity checks in ioctl decoding. 2014-06-10 13:54:15 +00:00
sanitizer_libc_test.cc [Sanitizer tests] Exclude three tests that fail on Windows 2014-05-13 13:34:00 +00:00
sanitizer_linux_test.cc [sanitizer] Define kPthreadDestructorIterations on POSIX systems. 2013-10-11 14:19:14 +00:00
sanitizer_list_test.cc Remove thread-locals from sanitizer_common tests. 2013-01-14 14:06:58 +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 [nolibc] Add a test case for Linux/x86_64. 2013-05-28 12:37:34 +00:00
sanitizer_nolibc_test_main.cc [nolibc] Now that we have a custom allocator, remove dummy allocator 2013-05-29 10:52:59 +00:00
sanitizer_posix_test.cc PR20721: Don't let UBSan print inaccessible memory 2014-09-17 17:56:15 +00:00
sanitizer_printf_test.cc [mips] [test] Enable COMPILER_RT_INCLUDE_TESTS for MIPS 2014-12-12 07:08:12 +00:00
sanitizer_procmaps_test.cc [Sanitizer tests] Fix most of the build problems on Windows 2014-05-13 12:02:53 +00:00
sanitizer_pthread_wrappers.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_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] Introduce generic stack frame rendering machinery 2014-11-05 22:44:36 +00:00
sanitizer_stacktrace_test.cc [Sanitizer] Make StackTrace a lightweight reference to array of PCs, and 2014-10-26 03:35:14 +00:00
sanitizer_stoptheworld_test.cc [sanitizer_common] Add internal_clone(). 2013-09-02 11:36:19 +00:00
sanitizer_stoptheworld_testlib.cc [sanitizer] Minor fixes in sanitizer_common tests. 2013-05-14 13:19:33 +00:00
sanitizer_suppressions_test.cc Implement AddressSanitizer suppressions. 2014-12-05 20:26:09 +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 [nolibc] Add a test case for Linux/x86_64. 2013-05-28 12:37:34 +00:00
sanitizer_test_utils.h Fix checks for Android. 2014-10-20 15:35:01 +00:00
sanitizer_thread_registry_test.cc tsan: address comments in r214912 2014-09-02 09:34:34 +00:00
standalone_malloc_test.cc [asan] add more frames to standalone_malloc_test 2013-01-14 07:59:09 +00:00