forked from OSchip/llvm-project
596b8b4a22
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 |
||
---|---|---|
.. | ||
tests | ||
.clang-format | ||
CMakeLists.txt | ||
msan.cc | ||
msan.h | ||
msan.syms.extra | ||
msan_allocator.cc | ||
msan_allocator.h | ||
msan_blacklist.txt | ||
msan_chained_origin_depot.cc | ||
msan_chained_origin_depot.h | ||
msan_flags.h | ||
msan_flags.inc | ||
msan_interceptors.cc | ||
msan_interface_internal.h | ||
msan_linux.cc | ||
msan_new_delete.cc | ||
msan_origin.h | ||
msan_poisoning.cc | ||
msan_poisoning.h | ||
msan_report.cc | ||
msan_thread.cc | ||
msan_thread.h |