Add SIGILL to ob_signal_handler

This commit is contained in:
gaopy3 2024-12-02 07:45:04 +00:00 committed by ob-robot
parent 1e8344bb26
commit c54c1c56e5

View File

@ -48,7 +48,7 @@ ObSigFaststack &ObSigFaststack::get_instance()
return sig_faststack;
}
static const int SIG_SET[] = {SIGABRT, SIGBUS, SIGFPE, SIGSEGV, SIGURG};
static const int SIG_SET[] = {SIGABRT, SIGBUS, SIGFPE, SIGSEGV, SIGURG, SIGILL};
static constexpr char MINICORE_SHELL_PATH[] = "tools/minicore.sh";
static constexpr char FASTSTACK_SHELL_PATH[] = "tools/callstack.sh";
static constexpr char MINICORE_SCRIPT[] = "if [ -e bin/minicore.py ]; then\n"