mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-27 05:30:49 +00:00
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116755 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e7d4a4c6c8
commit
d49e2aa5b8
@ -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
Block a user