Add a crash reason string for the simulated crashpad exception code
BUG= Change-Id: I19a1abf1d00f208943db1c362cc426ca8bd2068e Reviewed-on: https://chromium-review.googlesource.com/409632 Reviewed-by: Mark Mentovai <mark@chromium.org>
This commit is contained in:

committed by
Mark Mentovai

parent
2f6cb866d6
commit
4eb76cbc9e
@@ -1028,6 +1028,9 @@ string MinidumpProcessor::GetCrashReason(Minidump *dump, uint64_t *address) {
|
||||
reason = "EXC_RPC_ALERT / ";
|
||||
reason.append(flags_string);
|
||||
break;
|
||||
case MD_EXCEPTION_MAC_SIMULATED:
|
||||
reason = "Simulated Exception";
|
||||
break;
|
||||
}
|
||||
break;
|
||||
}
|
||||
@@ -1195,6 +1198,9 @@ string MinidumpProcessor::GetCrashReason(Minidump *dump, uint64_t *address) {
|
||||
case MD_EXCEPTION_CODE_WIN_UNHANDLED_CPP_EXCEPTION:
|
||||
reason = "Unhandled C++ Exception";
|
||||
break;
|
||||
case MD_EXCEPTION_CODE_WIN_SIMULATED:
|
||||
reason = "Simulated Exception";
|
||||
break;
|
||||
default:
|
||||
BPLOG(INFO) << "Unknown exception reason " << reason;
|
||||
break;
|
||||
|
Reference in New Issue
Block a user