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

via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 1 06:53:40 PST 2023


github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {clang-format}-->


:warning: C/C++ code formatter, clang-format found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
git-clang-format --diff 93636581d3589b3b986c0080a82de7fc0bbd01cf 1449b5262b8d6f04389546611a7e2f3c9e5cc02e -- compiler-rt/lib/asan/asan_internal.h compiler-rt/lib/asan/asan_rtl.cpp compiler-rt/lib/asan/asan_thread.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/compiler-rt/lib/asan/asan_internal.h b/compiler-rt/lib/asan/asan_internal.h
index 569f8aedc6..b19ed92be1 100644
--- a/compiler-rt/lib/asan/asan_internal.h
+++ b/compiler-rt/lib/asan/asan_internal.h
@@ -130,7 +130,7 @@ void InstallAtExitCheckLeaks();
   if (&__asan_on_error) \
   __asan_on_error()
 
-// Unless synchronization is used during initialization, 
+// Unless synchronization is used during initialization,
 // race conditions can appear causing incorrect states or internal check
 // failures, depending on the loading thread and when ASAN is loaded on Windows.
 // From a multithreaded managed environment, if an ASAN instrumented dll

``````````

</details>


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


More information about the llvm-commits mailing list