This is an archive of the discontinued LLVM Phabricator instance.

[darwin][driver] isMacosxVersionLT should check against the minimum supported OS version
ClosedPublic

Authored by arphaman on Jun 26 2020, 5:21 PM.

Details

Summary

This change ensures that the Darwin driver doesn't add unsupported libraries to the link invocation when linking the Apple Silicon macOS slice.

I also refactored the library adding logic in a pre-commit: https://github.com/llvm/llvm-project/commit/2b00cacb2835d11cab6f71466604b7b1bdd46a8d.

rdar://61011136

Diff Detail

Event Timeline

arphaman created this revision.Jun 26 2020, 5:21 PM
This revision is now accepted and ready to land.Jun 29 2020, 9:09 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptJun 29 2020, 12:29 PM