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

via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 29 10:01:47 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.
----------------
AdvenamTacet wrote:

Is it still true with changes from that patch?

Also, it would be nice, if explanation from that comment would be in a PR description and commit message.

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


More information about the llvm-commits mailing list