mirror of
https://github.com/chromium/crashpad.git
synced 2025-01-14 01:08:01 +08:00
ios: Fix testCrashWithDyldErrorString on arm64.
Fixed when running a simulator on arm64 Apple Silicon. Change-Id: I6a6e917b4d5ff009683214794fe6a6af833be3c0 Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/3758362 Reviewed-by: Rohit Rao <rohitrao@chromium.org> Commit-Queue: Justin Cohen <justincohen@chromium.org>
This commit is contained in:
parent
7a622b2f6b
commit
1424632592
@ -286,7 +286,13 @@
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
[rootObject_ crashWithDyldErrorString];
|
[rootObject_ crashWithDyldErrorString];
|
||||||
|
#if defined(ARCH_CPU_X86_64)
|
||||||
[self verifyCrashReportException:EXC_BAD_INSTRUCTION];
|
[self verifyCrashReportException:EXC_BAD_INSTRUCTION];
|
||||||
|
#elif defined(ARCH_CPU_ARM64)
|
||||||
|
[self verifyCrashReportException:EXC_BREAKPOINT];
|
||||||
|
#else
|
||||||
|
#error Port to your CPU architecture
|
||||||
|
#endif
|
||||||
NSArray* vector = [rootObject_ getAnnotations][@"vector"];
|
NSArray* vector = [rootObject_ getAnnotations][@"vector"];
|
||||||
// This message is set by dyld-353.2.1/src/ImageLoaderMachO.cpp
|
// This message is set by dyld-353.2.1/src/ImageLoaderMachO.cpp
|
||||||
// ImageLoaderMachO::doInitialization().
|
// ImageLoaderMachO::doInitialization().
|
||||||
|
Loading…
x
Reference in New Issue
Block a user