[compiler-rt] [asan][Windows] Synchronizing ASAN init on Windows (PR #73824)

Zack Johnson via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 29 10:04:07 PST 2023


================
@@ -130,6 +130,19 @@ void InstallAtExitCheckLeaks();
   if (&__asan_on_error) \
   __asan_on_error()
 
+// Depending on the loading thread and when ASAN is loaded on Windows,
+// race conditions can appear causing incorrect states or internal check
+// failures.
----------------
zacklj89 wrote:

Apologies, I'm trying to fulfill the repo's PR requirements here: https://github.com/llvm/llvm-project/pull/71833#issue-1986121343

This is just one of the spr PRs created. It appears I've done it incorrectly, though. I'll be closing this PR.

https://github.com/llvm/llvm-project/pull/73824


More information about the llvm-commits mailing list