[compiler-rt] [asan] Fix build on fuchsia (PR #136042)
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 16 15:03:48 PDT 2025
https://github.com/vitalybuka created https://github.com/llvm/llvm-project/pull/136042
Does not link after #131756
>From 5d377944bffa9f09e9616dab0b461070514d1dc9 Mon Sep 17 00:00:00 2001
From: Vitaly Buka <vitalybuka at google.com>
Date: Wed, 16 Apr 2025 15:03:33 -0700
Subject: [PATCH] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20initia?=
=?UTF-8?q?l=20version?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Created using spr 1.3.4
---
compiler-rt/lib/asan/asan_report.cpp | 2 ++
1 file changed, 2 insertions(+)
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.
More information about the llvm-commits
mailing list