mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-01 08:28:19 +00:00
fix PR3965:SIGINT handler not restored after calling ParseAST(),
patch by Alexei Svitkine! llvm-svn: 68929
This commit is contained in:
parent
ad8137187c
commit
76d47b6629
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user