Skip to content

Commit 7623501

Browse files
authored
[asan] Fix build on fuchsia (#136042)
Does not link after #131756
1 parent 6727d58 commit 7623501

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

compiler-rt/lib/asan/asan_report.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,9 @@ class ScopedInErrorReport {
149149
// 2. Subsequent error reporting avoids nested lock acquisition patterns.
150150
// 3. Eliminates the lock order inversion risk between libdl and ASan's
151151
// thread registry.
152+
#if !SANITIZER_SYMBOLIZER_MARKUP
152153
Symbolizer::GetOrInit()->GetRefreshedListOfModules();
154+
#endif
153155

154156
// Make sure the registry and sanitizer report mutexes are locked while
155157
// we're printing an error report.

0 commit comments

Comments
 (0)