Skip to content

Commit cc0e18d

Browse files
committed
CrashRecovery: Fix raise() override to actually send the right signal, *cough*.
llvm-svn: 116072
1 parent 3db5480 commit cc0e18d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/System/Unix/Signals.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ void llvm::sys::PrintStackTraceOnErrorSignal() {
275275
#ifdef __APPLE__
276276

277277
int raise(int sig) {
278-
return pthread_kill(pthread_self(), SIGABRT);
278+
return pthread_kill(pthread_self(), sig);
279279
}
280280

281281
void __assert_rtn(const char *func,

0 commit comments

Comments
 (0)