This is an archive of the discontinued LLVM Phabricator instance.

[lld-macho] Fix cpuSubtype for non-x86_64 archs
ClosedPublic

Authored by int3 on Feb 11 2021, 4:56 PM.

Details

Reviewers
thakis
Group Reviewers
Restricted Project
Commits
rG5bfdbdeb408a: [lld-macho] Fix cpuSubtype for non-x86_64 archs
Summary

dyld on iOS will complain if the LIB64 bit is set.

Diff Detail

Event Timeline

int3 created this revision.Feb 11 2021, 4:56 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 11 2021, 4:56 PM
int3 requested review of this revision.Feb 11 2021, 4:56 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 11 2021, 4:56 PM
thakis accepted this revision.Feb 18 2021, 8:30 AM
This revision is now accepted and ready to land.Feb 18 2021, 8:30 AM
This revision was automatically updated to reflect the committed changes.
dyung added a subscriber: dyung.Feb 24 2021, 2:29 AM

FYI, arm64 is aarch64, not arm I believe. I've updated a few tests you added to reflect that.

int3 added a comment.Feb 24 2021, 6:37 AM

Oops, thanks for the fix!