HomePhabricator

[clang+lld] Pass -platform_version args to ld64.lld

Authored by int3 on Mar 2 2021, 9:50 AM.

Description

[clang+lld] Pass -platform_version args to ld64.lld

Fix regression where we aren't passing -platform_version to new ld64.lld after D95204: [lld-macho] Switch default to new Darwin backend.

Most of the changes were originally in D95204, but I backed them out due to
test failures on builds which have CLANG_DEFAULT_LINKER=lld. The tests are
properly updated in this diff.

Reviewed By: #lld-macho, thakis

Differential Revision: https://reviews.llvm.org/D97741

Details

Committed
int3Mar 2 2021, 9:52 AM
Reviewer
Restricted Project
Differential Revision
D97741: [clang+lld] Pass -platform_version args to ld64.lld
Parents
rG563ea45052bd: [flang][driver] Fix -fdefault* family bug
Branches
Unknown
Tags
Unknown