[compiler-rt] [asan] Fix build on fuchsia (PR #136042)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 16 15:04:24 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-compiler-rt-sanitizer
Author: Vitaly Buka (vitalybuka)
<details>
<summary>Changes</summary>
Does not link after #<!-- -->131756
---
Full diff: https://github.com/llvm/llvm-project/pull/136042.diff
1 Files Affected:
- (modified) compiler-rt/lib/asan/asan_report.cpp (+2)
``````````diff
diff --git a/compiler-rt/lib/asan/asan_report.cpp b/compiler-rt/lib/asan/asan_report.cpp
index e515f20548c00..8b22aebe7cafc 100644
--- a/compiler-rt/lib/asan/asan_report.cpp
+++ b/compiler-rt/lib/asan/asan_report.cpp
@@ -149,7 +149,9 @@ class ScopedInErrorReport {
// 2. Subsequent error reporting avoids nested lock acquisition patterns.
// 3. Eliminates the lock order inversion risk between libdl and ASan's
// thread registry.
+#if !SANITIZER_SYMBOLIZER_MARKUP
Symbolizer::GetOrInit()->GetRefreshedListOfModules();
+#endif
// Make sure the registry and sanitizer report mutexes are locked while
// we're printing an error report.
``````````
</details>
https://github.com/llvm/llvm-project/pull/136042
More information about the llvm-commits
mailing list