diff options
Diffstat (limited to 'llvm/lib/System/Unix')
-rw-r--r-- | llvm/lib/System/Unix/Signals.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/System/Unix/Signals.inc b/llvm/lib/System/Unix/Signals.inc index be22bd83fc0..e385e0c5566 100644 --- a/llvm/lib/System/Unix/Signals.inc +++ b/llvm/lib/System/Unix/Signals.inc @@ -126,7 +126,8 @@ static RETSIGTYPE SignalHandler(int Sig) { IF(); // run the interrupt function. return; } - exit(1); // If this is an interrupt signal, exit the program + raise(Sig); // Execute the default handler. + return; } // Otherwise if it is a fault (like SEGV) run any handler. |