mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
Rename RunCallBacksToRun to llvm::sys::RunSignalHandlers
And expose it in Signals.h, allowing clients to call it directly, possibly LLVMErrorHandler which currently calls RunInterruptHandlers but not RunSignalHandlers, thus for example not printing the stack backtrace on Unixish OSes. On Windows it does happen because RunInterruptHandlers ends up calling the callbacks as well via Cleanup(). This difference in behaviour and code structures in */Signals.inc should be patched in the future. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@242936 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -201,7 +201,7 @@ static RETSIGTYPE SignalHandler(int Sig) {
|
||||
}
|
||||
|
||||
// Otherwise if it is a fault (like SEGV) run any handler.
|
||||
RunCallBacksToRun();
|
||||
llvm::sys::RunSignalHandlers();
|
||||
|
||||
#ifdef __s390__
|
||||
// On S/390, certain signals are delivered with PSW Address pointing to
|
||||
|
Reference in New Issue
Block a user