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:
e7d4a4c
)
CrashRecoveryContext: Add missing return, so that the signal fires after we our
author
Daniel Dunbar
<daniel@zuster.org>
Mon, 18 Oct 2010 21:55:18 +0000
(21:55 +0000)
committer
Daniel Dunbar
<daniel@zuster.org>
Mon, 18 Oct 2010 21:55:18 +0000
(21:55 +0000)
routine is off the stack. Otherwise we show up rather confusingly in the stack
trace.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116755
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Support/CrashRecoveryContext.cpp
patch
|
blob
|
history
diff --git
a/lib/Support/CrashRecoveryContext.cpp
b/lib/Support/CrashRecoveryContext.cpp
index 49258ede83c1df71b22ff45e7a3917e3574c2ac8..93af79bc0f564df3d360b42c5b116cac557099f2 100644
(file)
--- a/
lib/Support/CrashRecoveryContext.cpp
+++ b/
lib/Support/CrashRecoveryContext.cpp
@@
-128,6
+128,9
@@
static void CrashRecoverySignalHandler(int Signal) {
// This call of Disable isn't thread safe, but it doesn't actually matter.
CrashRecoveryContext::Disable();
raise(Signal);
+
+ // The signal will be thrown once the signal mask is restored.
+ return;
}
// Unblock the signal we received.