From e35b3b4a674e1bedec99cc8e0a93148be52b91d9 Mon Sep 17 00:00:00 2001 From: Themis wang Date: Tue, 12 Sep 2023 15:03:19 -0400 Subject: [PATCH] fix vision pro unit tests --- Crashlytics/Shared/FIRCLSMachO/FIRCLSMachO.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Crashlytics/Shared/FIRCLSMachO/FIRCLSMachO.m b/Crashlytics/Shared/FIRCLSMachO/FIRCLSMachO.m index afc6e922818..e2f17eb5547 100644 --- a/Crashlytics/Shared/FIRCLSMachO/FIRCLSMachO.m +++ b/Crashlytics/Shared/FIRCLSMachO/FIRCLSMachO.m @@ -352,7 +352,7 @@ struct FIRCLSMachOSlice FIRCLSMachOSliceWithHeader(void* machHeader) { return archInfo->name; #else - const char* archname = macho_arch_name_for_mach_header(NULL); + const char* archname = macho_arch_name_for_mach_header(slice->startAddress); if (!archname) { return "unknown";