This is an archive of the discontinued LLVM Phabricator instance.

[lldb] Recognize MachO cpu sub-type 2 as arm64
ClosedPublic

Authored by JDevlieghere on Dec 3 2020, 1:24 PM.

Details

Summary

Make sure we recognize cpu sub-type 2 as arm64. In reality it's arm64e,
but we don't have the triple for that. Without this patch, we fall back
to unknown-apple-macosx- for the default architecture, which breaks
things like running expressions without a target.

Diff Detail

Event Timeline

JDevlieghere created this revision.Dec 3 2020, 1:24 PM
JDevlieghere requested review of this revision.Dec 3 2020, 1:24 PM
This revision is now accepted and ready to land.Dec 3 2020, 1:25 PM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptDec 3 2020, 1:31 PM