diff --git a/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp b/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp --- a/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp +++ b/compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp @@ -2452,7 +2452,7 @@ internal_memset(&act.sa_mask, -1, sizeof(act.sa_mask)); act.sa_flags = 0; __sanitizer_sigaction old; - int res = sigaction_symname(sig, &act, &old); + int res = REAL(sigaction_symname)(sig, &act, &old); if (res) return (__sanitizer_sighandler_ptr)sig_err; return old.handler; }