projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb16824
)
CrashRecovery: Fix raise() override to actually send the right signal, *cough*.
author
Daniel Dunbar
<daniel@zuster.org>
Fri, 8 Oct 2010 18:31:34 +0000
(18:31 +0000)
committer
Daniel Dunbar
<daniel@zuster.org>
Fri, 8 Oct 2010 18:31:34 +0000
(18:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116072
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/System/Unix/Signals.inc
patch
|
blob
|
history
diff --git
a/lib/System/Unix/Signals.inc
b/lib/System/Unix/Signals.inc
index dcbda4e008dfcca3d8f9779c83337098572e3ecd..997d4781d860383862afb931d3e37c5caffc332c 100644
(file)
--- a/
lib/System/Unix/Signals.inc
+++ b/
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,