This is an archive of the discontinued LLVM Phabricator instance.

[lldb] Don't set the OS for ARMGetSupportedArchitectureAtIndex
ClosedPublic

Authored by JDevlieghere on Nov 3 2021, 5:47 PM.

Details

Summary

Don't set the OS when computing supported architectures in PlatformDarwin::ARMGetSupportedArchitectureAtIndex.

Diff Detail

Event Timeline

JDevlieghere created this revision.Nov 3 2021, 5:47 PM
jasonmolenda accepted this revision.Nov 3 2021, 11:01 PM

Yep, looks good, we can't hardcode the OS in this triple, we might be getting iOS or macOS binaries and should accept any OS these days.

This revision is now accepted and ready to land.Nov 3 2021, 11:01 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 5 2021, 10:52 PM