llvm-project/compiler-rt/lib/esan
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
cache_frag.cpp [ESan][MIPS] Fix tests struct-simple.cpp on MIPS 2016-09-22 08:36:54 +00:00
cache_frag.h [esan] Add __esan_report for mid-run data 2016-07-09 04:13:25 +00:00
esan.cpp [ESan][MIPS] Adds support for MIPS64 2016-10-06 09:58:11 +00:00
esan.h [ESan][MIPS] Adds support for MIPS64 2016-10-06 09:58:11 +00:00
esan.syms.extra [esan] Add compilation unit init/exit routines. 2016-05-24 22:22:20 +00:00
esan_circular_buffer.h [esan|wset] Add 8-level working set snapshot accumulation 2016-06-03 16:27:50 +00:00
esan_flags.cpp [compiler-rt] Do not introduce __sanitizer namespace globally 2016-09-15 21:02:18 +00:00
esan_flags.h [esan] Add custom flag support 2016-05-20 19:26:52 +00:00
esan_flags.inc [esan|cfrag] Compute the struct field access difference ratio 2016-06-03 20:48:17 +00:00
esan_hashtable.h [esan] Add iterator to esan's generic hashtable 2016-08-08 17:37:19 +00:00
esan_interceptors.cpp [sanitizer] Move mmap interceptors into sanitizer_common 2018-03-07 00:13:54 +00:00
esan_interface.cpp [esan|wset] Fix flaky sampling tests 2016-07-19 05:06:48 +00:00
esan_interface_internal.h [compiler-rt] Do not introduce __sanitizer namespace globally 2016-09-15 21:02:18 +00:00
esan_linux.cpp [ESan][MIPS] Adds support for MIPS64 2016-10-06 09:58:11 +00:00
esan_shadow.h [ESan][MIPS] Adds support for MIPS64 2016-10-06 09:58:11 +00:00
esan_sideline.h [esan] Fix compilation of signal handlers 2017-11-10 05:41:13 +00:00
esan_sideline_linux.cpp [esan] Fix compilation of signal handlers 2017-11-10 05:41:13 +00:00
working_set.cpp Refactor MemoryMappingLayout::Next to use a single struct instead of output parameters. NFC. 2017-07-11 18:54:00 +00:00
working_set.h [esan|wset] Fix flaky sampling tests 2016-07-19 05:06:48 +00:00
working_set_posix.cpp [esan] Fix compilation of signal handlers 2017-11-10 05:41:13 +00:00