aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorHans Wennborg <hans@chromium.org>2020-02-27 13:48:26 +0100
committerHans Wennborg <hans@chromium.org>2020-02-27 13:48:26 +0100
commit5122e828701c88f8d53ee881bc68f3904454d154 (patch)
treecb04f72e61b866844290f959ce50435b546e3797 /llvm/lib/CodeGen/MachineFunction.cpp
parent45abcd1df1ae6c42f7b65afe4344d2c435141ccc (diff)
downloadllvm-5122e828701c88f8d53ee881bc68f3904454d154.zip
llvm-5122e828701c88f8d53ee881bc68f3904454d154.tar.gz
llvm-5122e828701c88f8d53ee881bc68f3904454d154.tar.bz2
[driver][darwin] Don't use -platform_version flag by default (PR44813)
The code in llvmorg-10-init-12188-g25ce33a6e4f is a breaking change for users of older linkers who don't pass a version parameter, which prevents a drop-in clang upgrade. Old tools can't know about what future tools will do, so as a general principle the burden should be new tools to be compatible by default. Also, for comparison, none of the other tests of Version within AddLinkArgs add any new behaviors unless the version is explicitly specified. Therefore, this patch changes the -platform_version behavior from opt-out to opt-in. Patch by David Major! Differential revision: https://reviews.llvm.org/D74784
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions