Skip to content

Commit dee3070

Browse files
committed
[LSAN] Add extra suppressions on Apple Aarch64
- _fetchInitializingClassList for startup code in dyld. - dyld4::RuntimeState::_instantiateTLVs for thread locals.
1 parent c4d656a commit dee3070

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

compiler-rt/lib/lsan/lsan_common.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,13 @@ static const char kStdSuppressions[] =
121121
# if SANITIZER_APPLE
122122
// For Darwin and os_log/os_trace: https://reviews.llvm.org/D35173
123123
"leak:*_os_trace*\n"
124+
# if SANITIZER_ARM64
125+
// Apple Aarch64 leaks in dyld on startup.
126+
// See https://github.com/llvm/llvm-project/issues/115992.
127+
"leak:*_fetchInitializingClassList*\n"
128+
// Apple Aarch64 leaks when using thread locals.
129+
"leak:*dyld4::RuntimeState::_instantiateTLVs*\n"
130+
# endif
124131
# endif
125132
// TLS leak in some glibc versions, described in
126133
// https://sourceware.org/bugzilla/show_bug.cgi?id=12650.

0 commit comments

Comments
 (0)