mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2024-12-23 06:25:49 +00:00
ios/mac: Add exception code for Crashpad uncaught exceptions.
Change-Id: I4c6a6fb353cacb09710c579e59332d70d1e801a8 Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/3093129 Reviewed-by: Mark Mentovai <mark@chromium.org>
This commit is contained in:
parent
2d0d117749
commit
d93f6b9393
|
@ -69,6 +69,8 @@ typedef enum {
|
||||||
/* EXC_RPC_ALERT */
|
/* EXC_RPC_ALERT */
|
||||||
MD_EXCEPTION_MAC_SIMULATED = 0x43507378
|
MD_EXCEPTION_MAC_SIMULATED = 0x43507378
|
||||||
/* Fake exception code used by Crashpad's SimulateCrash ('CPsx'). */
|
/* Fake exception code used by Crashpad's SimulateCrash ('CPsx'). */
|
||||||
|
MD_NS_EXCEPTION_SIMULATED = 0x43506E78
|
||||||
|
/* Fake exception code used by Crashpad's uncaught exceptions ('CPnx'). */
|
||||||
} MDExceptionMac;
|
} MDExceptionMac;
|
||||||
|
|
||||||
/* For (MDException).exception_flags. Breakpad minidump extension for Mac OS X
|
/* For (MDException).exception_flags. Breakpad minidump extension for Mac OS X
|
||||||
|
|
|
@ -1138,6 +1138,9 @@ string MinidumpProcessor::GetCrashReason(Minidump* dump, uint64_t* address) {
|
||||||
case MD_EXCEPTION_MAC_SIMULATED:
|
case MD_EXCEPTION_MAC_SIMULATED:
|
||||||
reason = "Simulated Exception";
|
reason = "Simulated Exception";
|
||||||
break;
|
break;
|
||||||
|
case MD_NS_EXCEPTION_SIMULATED:
|
||||||
|
reason = "Uncaught NSException";
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue