This is an archive of the discontinued LLVM Phabricator instance.

[macho] Allow CPUSubtype to contribute to architecture identification
ClosedPublic

Authored by dsanders on Nov 15 2019, 3:09 PM.

Details

Summary

Sometimes the CPUSubtype determines the Triple::ArchType that must be used.
Add the subtype to the API's to allow targets that need this to correctly
identify the contents of the binary.

Diff Detail

Event Timeline

dsanders created this revision.Nov 15 2019, 3:09 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 15 2019, 3:09 PM
Herald added a subscriber: hiraditya. · View Herald Transcript
pete accepted this revision.Nov 15 2019, 3:36 PM

LGTM

This revision is now accepted and ready to land.Nov 15 2019, 3:36 PM
This revision was automatically updated to reflect the committed changes.