This is an archive of the discontinued LLVM Phabricator instance.

[llvm][TextAPI] Handle implicitly upgraded deployment versions
ClosedPublic

Authored by cishida on Mar 9 2023, 6:39 AM.

Details

Summary

Sometimes the clang driver will receive a target triple where the
deployment version is too low to support the platform + arch. In those
cases, the compiler upgrades the final minOS which is what gets recorded
ultimately by the linker in LC_BUILD_VERSION. TextAPI should also reuse
this logic for capturing minOS in recorded TBDv5 files.

Diff Detail

Event Timeline

cishida created this revision.Mar 9 2023, 6:39 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 9 2023, 6:39 AM
cishida requested review of this revision.Mar 9 2023, 6:39 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 9 2023, 6:39 AM
This revision is now accepted and ready to land.Mar 21 2023, 9:09 AM