llvm-project/compiler-rt/lib/sanitizer_common/tests
Dan Liew d2c6af7358 Introduce `AddressSpaceView` template parameter to `SizeClassAllocator64`.
Summary:
This is a follow up patch to r349138.

This patch makes a `AddressSpaceView` a type declaration in the
allocator parameters used by `SizeClassAllocator64`. For ASan, LSan, and
the unit tests the AP64 declarations have been made templated so that
`AddressSpaceView` can be changed at compile time. For the other
sanitizers we just hard-code `LocalAddressSpaceView` because we have no
plans to use these allocators in an out-of-process manner.

rdar://problem/45284065

Reviewers: kcc, dvyukov, vitalybuka, cryptoad, eugenis, kubamracek, george.karpenkov

Subscribers: #sanitizers, llvm-commits

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

llvm-svn: 349954
2018-12-21 21:09:31 +00:00
..
CMakeLists.txt Implement a small subset of the C++ `type_traits` header inside sanitizer_common so we can avoid depending on system C++ headers. 2018-12-13 19:55:36 +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 Introduce `AddressSpaceView` template parameter to `SizeClassAllocator64`. 2018-12-21 21:09:31 +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 [compiler-rt] Fix fix format specifies type in test 2017-07-16 00:17:11 +00:00
sanitizer_bvgraph_test.cc
sanitizer_common_test.cc [Sanitizer] implementing remaining function under OSX 2018-08-24 16:53:06 +00:00
sanitizer_deadlock_detector_test.cc
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
sanitizer_libc_test.cc [sanitizer] Guard call to internal_lseek when SANITIZER_MAC is true 2018-06-18 13:53:51 +00:00
sanitizer_linux_test.cc [sanitizer] Use tid_t in ThreadLister 2018-05-09 21:21:26 +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_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 [Sanitizer] Internal Printf string width + left-justify. 2018-04-23 20:30:50 +00:00
sanitizer_procmaps_test.cc [sanitizer] Remove reserving constructor from InternalMmapVector 2018-05-07 05:56:24 +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_ring_buffer_test.cc [hwasan] Record and display stack history in stack-based reports. 2018-09-24 23:03:34 +00:00
sanitizer_stackdepot_test.cc
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_stoptheworld_test.cc
sanitizer_stoptheworld_testlib.cc
sanitizer_suppressions_test.cc
sanitizer_symbolizer_test.cc XFAIL one sanitizer symbolizer test for FreeBSD 2016-07-31 19:27:46 +00:00
sanitizer_test_config.h
sanitizer_test_main.cc [compiler-rt] Do not introduce __sanitizer namespace globally 2016-09-15 21:02:18 +00:00
sanitizer_test_utils.h [Sanitizers, test] Fix sanitizer tests on Solaris (PR 33274) 2018-01-17 12:26:04 +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
sanitizer_type_traits_test.cc Implement a small subset of the C++ `type_traits` header inside sanitizer_common so we can avoid depending on system C++ headers. 2018-12-13 19:55:36 +00:00
sanitizer_vector_test.cc [sanitizer] Fix __sanitizer::Vector::Resize vector 2018-04-13 18:41:52 +00:00
standalone_malloc_test.cc