mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 19:12:56 +02:00
CrashRecovery: Fix raise() override to actually send the right signal, *cough*.
llvm-svn: 116072
This commit is contained in:
parent
fb59963159
commit
0ee860f6fd
@ -275,7 +275,7 @@ void llvm::sys::PrintStackTraceOnErrorSignal() {
|
||||
#ifdef __APPLE__
|
||||
|
||||
int raise(int sig) {
|
||||
return pthread_kill(pthread_self(), SIGABRT);
|
||||
return pthread_kill(pthread_self(), sig);
|
||||
}
|
||||
|
||||
void __assert_rtn(const char *func,
|
||||
|
Loading…
Reference in New Issue
Block a user