Skip to content

Commit 8c4546f

Browse files
authored
Revert "[compiler-rt] Also consider SIGPROF as a synchronous signal (#85188)" (#85296)
This reverts commit 6f3f659. This change is causing TSAN failures on a bot as reported in #85188: https://lab.llvm.org/buildbot/#/builders/247/builds/15279
1 parent 95c1313 commit 8c4546f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,6 @@ const int SIGFPE = 8;
126126
const int SIGSEGV = 11;
127127
const int SIGPIPE = 13;
128128
const int SIGTERM = 15;
129-
const int SIGPROF = 27;
130129
#if defined(__mips__) || SANITIZER_FREEBSD || SANITIZER_APPLE || SANITIZER_NETBSD
131130
const int SIGBUS = 10;
132131
const int SIGSYS = 12;
@@ -2169,8 +2168,7 @@ static bool is_sync_signal(ThreadSignalContext *sctx, int sig,
21692168
return false;
21702169
#endif
21712170
return sig == SIGSEGV || sig == SIGBUS || sig == SIGILL || sig == SIGTRAP ||
2172-
sig == SIGABRT || sig == SIGFPE || sig == SIGPIPE || sig == SIGSYS ||
2173-
sig == SIGPROF;
2171+
sig == SIGABRT || sig == SIGFPE || sig == SIGPIPE || sig == SIGSYS;
21742172
}
21752173

21762174
void sighandler(int sig, __sanitizer_siginfo *info, void *ctx) {

0 commit comments

Comments
 (0)