forked from OSchip/llvm-project
CrashRecoveryContext: Add missing return, so that the signal fires after we our
routine is off the stack. Otherwise we show up rather confusingly in the stack trace. llvm-svn: 116755
This commit is contained in:
parent
643c330b91
commit
418e7046f7
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue