diff options
Diffstat (limited to 'base/mac')
-rw-r--r-- | base/mac/os_crash_dumps.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/base/mac/os_crash_dumps.cc b/base/mac/os_crash_dumps.cc index e50ac39..5d65b46 100644 --- a/base/mac/os_crash_dumps.cc +++ b/base/mac/os_crash_dumps.cc @@ -30,11 +30,14 @@ void DisableOSCrashDumps() { // bsd/uxkern/ux_exception.c and machine_exception() in xnu's // bsd/dev/*/unix_signal.c. const int signals_to_intercept[] = { + // Hardware faults SIGILL, // EXC_BAD_INSTRUCTION SIGTRAP, // EXC_BREAKPOINT SIGFPE, // EXC_ARITHMETIC SIGBUS, // EXC_BAD_ACCESS - SIGSEGV // EXC_BAD_ACCESS + SIGSEGV, // EXC_BAD_ACCESS + // Not a hardware fault + SIGABRT }; // For all these signals, just wire things up so we exit immediately. |