Skip to content

[MachO] Recognize arm64e.x1 and other new Mach-O slice variants - #8572

Merged
bdash merged 1 commit into
devfrom
test_macho_arm64e_x1
Sep 22, 2026
Merged

bdash merged 1 commit into
devfrom
test_macho_arm64e_x1

Conversation

@bdash

@bdash bdash commented Sep 21, 2026

Copy link
Copy Markdown
Contributor

Fixes #8571.


Xcode 27's linker also knows about .x2 variants so I've added those while I'm here. Its CPU subtypes come from ld's output.

The non-e variants are included for symmetry. CPU_SUBTYPE_ARM64_X1 is declared in mach/machine.h, and clang -c will emit arm64.x1 objects. ld is not able to link an executable or dylib for either of them.

@bdash
bdash requested a review from emesare September 21, 2026 19:47
@bdash
bdash force-pushed the test_macho_arm64e_x1 branch from 7e02119 to 2c04e47 Compare September 21, 2026 19:53
@bdash bdash added this to the Krypton R2 milestone Sep 21, 2026
@bdash
bdash force-pushed the test_macho_arm64e_x1 branch from 2c04e47 to 84e70be Compare September 22, 2026 00:22
@bdash
bdash merged commit 84e70be into dev Sep 22, 2026
5 of 6 checks passed
@bdash
bdash deleted the test_macho_arm64e_x1 branch September 22, 2026 00:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Mach-O] arm64e.x1 is mislabeled as arm64 in UI

2 participants