1
0
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:
Daniel Dunbar 2010-10-08 18:31:34 +00:00
parent fb59963159
commit 0ee860f6fd

View File

@ -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,