ref: 2ef970a885990ff462c30b6573bea5044bb4b0f5
parent: 9a9c0c7e78c3c277ebf5f8d10bef9bc81604c7a9
author: Martin Storsjö <martin@martin.st>
date: Wed Aug 7 18:19:14 EDT 2019
checkasm: Catch SIGBUS in addition to the other signals
--- a/tests/checkasm/checkasm.c
+++ b/tests/checkasm/checkasm.c
@@ -703,6 +703,7 @@
RemoveVectoredExceptionHandler(signal_handler);
#else
void (*const handler)(int) = enabled ? signal_handler : SIG_DFL;
+ signal(SIGBUS, handler);
signal(SIGFPE, handler);
signal(SIGILL, handler);
signal(SIGSEGV, handler);