File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
system/lib/compiler-rt/lib/lsan Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -532,7 +532,8 @@ namespace __lsan {
532
532
533
533
void InitializeInterceptors () {
534
534
// Fuchsia doesn't use interceptors that require any setup.
535
- #if !SANITIZER_FUCHSIA && !SANITIZER_EMSCRIPTEN
535
+ #if !SANITIZER_FUCHSIA
536
+ #if !SANITIZER_EMSCRIPTEN
536
537
InitializeSignalInterceptors ();
537
538
538
539
INTERCEPT_FUNCTION (malloc);
@@ -562,14 +563,16 @@ void InitializeInterceptors() {
562
563
LSAN_MAYBE_INTERCEPT_PTHREAD_ATFORK;
563
564
564
565
LSAN_MAYBE_INTERCEPT_STRERROR;
565
- #endif // !SANITIZER_FUCHSIA && ! SANITIZER_EMSCRIPTEN
566
+ #endif // !SANITIZER_EMSCRIPTEN
566
567
567
568
#if !SANITIZER_NETBSD && !SANITIZER_FREEBSD
568
569
if (pthread_key_create (&g_thread_finalize_key, &thread_finalize)) {
569
570
Report (" LeakSanitizer: failed to create thread key.\n " );
570
571
Die ();
571
572
}
572
573
#endif
574
+
575
+ #endif // !SANITIZER_FUCHSIA
573
576
}
574
577
575
578
} // namespace __lsan
You can’t perform that action at this time.
0 commit comments