llvm-project/compiler-rt/lib/sanitizer_common/symbolizer
Mehdi Amini 402461beb0 Build libSupport with -Werror=global-constructors (NFC)
Ensure that libSupport does not carry any static global initializer.
libSupport can be embedded in use cases where we don't want to load all
cl::opt unless we want to parse the command line.
ManagedStatic can be used to enable lazy-initialization of globals.

The -Werror=global-constructors is only added on platform that have
support for the flag and for which std::mutex does not have a global
destructor. This is ensured by having CMake trying to compile a file
with a global mutex before adding the flag to libSupport.
2021-07-27 04:27:18 +00:00
..
scripts Build libSupport with -Werror=global-constructors (NFC) 2021-07-27 04:27:18 +00:00
sanitizer_symbolize.cpp sanitizer_common/symbolizer: fix crashes during exit 2021-05-18 08:58:08 +02:00
sanitizer_wrappers.cpp Summary: update macro for OFF_T so that sanitizer works on AARCH64. 2020-01-10 13:34:49 -08:00