diff options
author | Alex Lorenz <arphaman@gmail.com> | 2019-12-16 16:46:41 -0800 |
---|---|---|
committer | Alex Lorenz <arphaman@gmail.com> | 2019-12-17 10:26:32 -0800 |
commit | 25ce33a6e4f3b13732c0f851e68390dc2acb9123 (patch) | |
tree | f3c0a7c2916e4c77d452a71d88efca3df40b0362 /llvm/lib/Transforms/Utils/CodeMoverUtils.cpp | |
parent | 0c83f8ccc745522d2a25bcef2067bde295be9f75 (diff) | |
download | llvm-25ce33a6e4f3b13732c0f851e68390dc2acb9123.zip llvm-25ce33a6e4f3b13732c0f851e68390dc2acb9123.tar.gz llvm-25ce33a6e4f3b13732c0f851e68390dc2acb9123.tar.bz2 |
[driver][darwin] Pass -platform_version flag to the linker instead of the -<platform>_version_min flag
In Xcode 11, ld added a new flag called -platform_version that can be used instead of the old -<platform>_version_min flags.
The new flag allows Clang to pass the SDK version from the driver to the linker.
This patch adopts the new -platform_version flag in Clang, and starts using it by default,
unless a linker version < 520 is passed to the driver.
Differential Revision: https://reviews.llvm.org/D71579
Diffstat (limited to 'llvm/lib/Transforms/Utils/CodeMoverUtils.cpp')
0 files changed, 0 insertions, 0 deletions