Commit 2ef970a8 authored by Martin Storsjö's avatar Martin Storsjö

checkasm: Catch SIGBUS in addition to the other signals

parent 9a9c0c7e
......@@ -703,6 +703,7 @@ void checkasm_set_signal_handler_state(const int enabled) {
void (*const handler)(int) = enabled ? signal_handler : SIG_DFL;
signal(SIGBUS, handler);
signal(SIGFPE, handler);
signal(SIGILL, handler);
signal(SIGSEGV, handler);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment