mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2024-12-22 19:55:42 +00:00
Decode Mach EXC_RESOURCE and EXC_GUARD exception reasons
Change-Id: Iafe85ae2149961f13ba44664c99e18d92d1ec654 Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/4172753 Reviewed-by: Mark Mentovai <mark@chromium.org>
This commit is contained in:
parent
1eafed6806
commit
bae7147e78
|
@ -65,6 +65,10 @@ typedef enum {
|
|||
MD_EXCEPTION_MAC_MACH_SYSCALL = 8,
|
||||
/* EXC_MACH_SYSCALL */
|
||||
MD_EXCEPTION_MAC_RPC_ALERT = 9,
|
||||
/* EXC_RESOURCE */
|
||||
MD_EXCEPTION_MAC_RESOURCE = 11,
|
||||
/* EXC_GUARD */
|
||||
MD_EXCEPTION_MAC_GUARD = 12,
|
||||
/* EXC_RPC_ALERT */
|
||||
MD_EXCEPTION_MAC_SIMULATED = 0x43507378,
|
||||
/* Fake exception code used by Crashpad's SimulateCrash ('CPsx'). */
|
||||
|
|
|
@ -1243,6 +1243,14 @@ string MinidumpProcessor::GetCrashReason(Minidump* dump, uint64_t* address,
|
|||
reason = "EXC_RPC_ALERT / ";
|
||||
reason.append(flags_string);
|
||||
break;
|
||||
case MD_EXCEPTION_MAC_RESOURCE:
|
||||
reason = "EXC_RESOURCE / ";
|
||||
reason.append(flags_string);
|
||||
break;
|
||||
case MD_EXCEPTION_MAC_GUARD:
|
||||
reason = "EXC_GUARD / ";
|
||||
reason.append(flags_string);
|
||||
break;
|
||||
case MD_EXCEPTION_MAC_SIMULATED:
|
||||
reason = "Simulated Exception";
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue