summaryrefslogtreecommitdiffstats
path: root/llvm/lib/System/Unix/Signals.inc
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/System/Unix/Signals.inc')
-rw-r--r--llvm/lib/System/Unix/Signals.inc2
1 files changed, 1 insertions, 1 deletions
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,
OpenPOWER on IntegriCloud