forked from OSchip/llvm-project
988fab3f66
Summary: `sanitizer_common`'s coverage support is fairly well separated, and libcdep by default. Several sanitizers don't make use of coverage, and as far as I can tell do no benefit from the extra dependencies pulled in by the coverage public interface functions. The following sanitizers call `InitializeCoverage` explicitely: MSan, ASan, LSan, HWAsan, UBSan. On top of this, any sanitizer bundling RTUBSan should add the coverage RT as well: ASan, Scudo, UBSan, CFI (diag), TSan, MSan, HWAsan. So in the end the following have no need: DFSan, ESan, CFI, SafeStack (nolibc anyway), XRay, and the upcoming Scudo minimal runtime. I tested this with all the sanitizers check-* with gcc & clang, and in standalone on Linux & Android, and there was no issue. I couldn't test this on Mac, Fuchsia, BSDs, & Windows for lack of an environment, so adding a bunch of people for additional scrunity. I couldn't test HWAsan either. Reviewers: eugenis, vitalybuka, alekseyshl, flowerhack, kubamracek, dberris, rnk, krytarowski Reviewed By: vitalybuka, alekseyshl, flowerhack, dberris Subscribers: mgorny, delcypher, #sanitizers, llvm-commits Differential Revision: https://reviews.llvm.org/D44701 llvm-svn: 328204 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
ubsan.syms.extra | ||
ubsan_checks.inc | ||
ubsan_diag.cc | ||
ubsan_diag.h | ||
ubsan_diag_standalone.cc | ||
ubsan_flags.cc | ||
ubsan_flags.h | ||
ubsan_flags.inc | ||
ubsan_handlers.cc | ||
ubsan_handlers.h | ||
ubsan_handlers_cxx.cc | ||
ubsan_handlers_cxx.h | ||
ubsan_init.cc | ||
ubsan_init.h | ||
ubsan_init_standalone.cc | ||
ubsan_init_standalone_preinit.cc | ||
ubsan_interface.inc | ||
ubsan_platform.h | ||
ubsan_signals_standalone.cc | ||
ubsan_signals_standalone.h | ||
ubsan_type_hash.cc | ||
ubsan_type_hash.h | ||
ubsan_type_hash_itanium.cc | ||
ubsan_type_hash_win.cc | ||
ubsan_value.cc | ||
ubsan_value.h | ||
ubsan_win_dll_thunk.cc | ||
ubsan_win_dynamic_runtime_thunk.cc | ||
ubsan_win_weak_interception.cc | ||
weak_symbols.txt |