llvm-project/compiler-rt/lib/asan/tests
Kostya Kortchinsky 596b8b4a22 [sanitizer] Split Symbolizer/StackTraces from core RTSanitizerCommon
Summary:
Host symbolizer & stacktraces related code in their own RT:
`RTSanitizerCommonSymbolizer`, which is "libcdep" by nature. Symbolizer &
stacktraces specific code that used to live in common files is moved to a new
file `sanitizer_symbolizer_report.cc` as is.

The purpose of this is the enforce a separation between code that relies on
symbolization and code that doesn't. This saves the inclusion of spurious code
due to the interface functions with default visibility, and the extra data
associated.

The following sanitizers makefiles were modified & tested locally:
- dfsan: doesn't require the new symbolizer RT
- esan: requires it
- hwasan: requires it
- lsan: requires it
- msan: requires it
- safestack: doesn't require it
- xray: doesn't require it
- tsan: requires it
- ubsan: requires it
- ubsan_minimal: doesn't require it
- scudo: requires it (but not for Fuchsia that has a minimal runtime)

This was tested locally on Linux, Android, Fuchsia.

Reviewers: alekseyshl, eugenis, dberris, kubamracek, vitalybuka, dvyukov, mcgrathr

Reviewed By: alekseyshl, vitalybuka

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

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

llvm-svn: 330131
2018-04-16 16:32:19 +00:00
..
CMakeLists.txt [sanitizer] Split Symbolizer/StackTraces from core RTSanitizerCommon 2018-04-16 16:32:19 +00:00
asan_asm_test.cc [asan] Properly mark or disable tests that only work with shadow scale of 3 2017-11-16 23:29:19 +00:00
asan_benchmarks_test.cc
asan_exceptions_test.cc
asan_fake_stack_test.cc
asan_globals_test.cc
asan_interface_test.cc [asan] Properly mark or disable tests that only work with shadow scale of 3 2017-11-16 23:29:19 +00:00
asan_internal_interface_test.cc [asan] Remove `using std::vector` and `using std::map` 2017-02-06 17:28:05 +00:00
asan_mac_test.cc [ASan] Fix the links to bugs and wikipages. 2015-12-04 17:37:40 +00:00
asan_mac_test.h
asan_mac_test_helpers.mm Fix memory leaks in address sanitizer darwin tests 2017-04-12 17:31:41 +00:00
asan_mem_test.cc Revert "[compiler-rt] Change std::sort to llvm::sort in response to r327219" 2018-03-20 01:17:18 +00:00
asan_noinst_test.cc [asan] Enable back some ASan tests disabled on PowerPC. 2017-05-26 14:49:42 +00:00
asan_oob_test.cc
asan_racy_double_free_test.cc
asan_str_test.cc [asan] Disable wcslen test on 32-bit Android. 2017-10-07 00:04:24 +00:00
asan_test.cc [Sanitizers, test] Fix sanitizer tests on Solaris (PR 33274) 2018-01-17 12:26:04 +00:00
asan_test.ignore
asan_test_config.h [asan] Remove `using std::vector` and `using std::map` 2017-02-06 17:28:05 +00:00
asan_test_main.cc Define a suppression for known leaks on pthread_exit call. 2017-04-20 20:54:19 +00:00
asan_test_utils.h NetBSD compatibility nit in asan_test_utils.h 2017-08-08 18:16:35 +00:00