Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new CPU subtype "arm64e" for apple format report. #304

Merged
merged 1 commit into from Feb 10, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
11 changes: 10 additions & 1 deletion Source/KSCrash/Reporting/Filters/KSCrashReportFilterAppleFmt.m
Expand Up @@ -257,7 +257,16 @@ - (NSString*) CPUArchForMajor:(cpu_type_t) majorCode minor:(cpu_subtype_t) minor
}
#ifdef CPU_TYPE_ARM64
case CPU_TYPE_ARM64:
{
switch (minorCode)
{
#ifdef CPU_SUBTYPE_ARM64E
case CPU_SUBTYPE_ARM64E:
return @"arm64e";
#endif
}
return @"arm64";
}
#endif
case CPU_TYPE_X86:
return @"i386";
Expand Down Expand Up @@ -564,7 +573,7 @@ - (NSString*) extraInfoStringForReport:(NSDictionary*) report
{
[str appendFormat:@"Object referenced by NSException:\n%@\n", [self JSONForObject:referencedObject]];
}

NSDictionary* crashedThread = [self crashedThread:report];
if(crashedThread != nil)
{
Expand Down