[compiler-rt] [rtsan] Make sure rtsan gets initialized on mac (PR #100188)
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 30 10:34:13 PDT 2024
================
@@ -39,7 +39,6 @@
using namespace __sanitizer;
-using __rtsan::rtsan_init_is_running;
using __rtsan::rtsan_initialized;
----------------
vitalybuka wrote:
It would be better to use atomics here
see `static atomic_uint8_t asan_inited`
https://github.com/llvm/llvm-project/pull/100188
More information about the llvm-commits
mailing list