[compiler-rt] [ASan][Windows] Synchronizing ASAN init on Windows (PR #71833)
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 9 14:02:16 PST 2023
================
@@ -71,16 +71,54 @@ static void CheckUnwind() {
}
// -------------------------- Globals --------------------- {{{1
-static int asan_inited = 0;
-static int asan_init_is_running = 0;
+#if SANITIZER_WINDOWS
----------------
vitalybuka wrote:
do we need to #if ?
maybe atomic everywhere?
https://github.com/llvm/llvm-project/pull/71833
More information about the llvm-commits
mailing list