Add high level API for breakpad on iOS.
The new API allows to automatically upload repports to the crash server when the application restarts. This change also: - Correct a bug on the test for correct alignment of the abrt signal handler - Add user friendly information on crashes for SIGABRT and NSException Review URL: https://breakpad.appspot.com/361001 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@935 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
7facb6a6fb
commit
1e8d2d5a4c
7 changed files with 402 additions and 11 deletions
|
@ -643,6 +643,12 @@ string MinidumpProcessor::GetCrashReason(Minidump *dump, u_int64_t *address) {
|
|||
case MD_EXCEPTION_MAC_SOFTWARE:
|
||||
reason = "EXC_SOFTWARE / ";
|
||||
switch (exception_flags) {
|
||||
case MD_EXCEPTION_CODE_MAC_ABORT:
|
||||
reason.append("SIGABRT");
|
||||
break;
|
||||
case MD_EXCEPTION_CODE_MAC_NS_EXCEPTION:
|
||||
reason.append("UNCAUGHT_NS_EXCEPTION");
|
||||
break;
|
||||
// These are ppc only but shouldn't be a problem as they're
|
||||
// unused on x86
|
||||
case MD_EXCEPTION_CODE_MAC_PPC_TRAP:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue