CrashRecovery: Fix raise() override to actually send the right signal, *cough*.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116072 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Daniel Dunbar 2010-10-08 18:31:34 +00:00
parent bb16824dc3
commit 95b4672234

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,