From cc0e18dd4ae2a6878cf8e8d8bfc74e4b861ecf8a Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Fri, 8 Oct 2010 18:31:34 +0000 Subject: CrashRecovery: Fix raise() override to actually send the right signal, *cough*. llvm-svn: 116072 --- llvm/lib/System/Unix/Signals.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/System') diff --git a/llvm/lib/System/Unix/Signals.inc b/llvm/lib/System/Unix/Signals.inc index dcbda4e008d..997d4781d86 100644 --- a/llvm/lib/System/Unix/Signals.inc +++ b/llvm/lib/System/Unix/Signals.inc @@ -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, -- cgit v1.2.3