aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineSink.cpp
diff options
context:
space:
mode:
authorPetr Hosek <phosek@google.com>2022-03-21 18:33:50 -0700
committerPetr Hosek <phosek@google.com>2022-03-21 18:33:50 -0700
commit7f7f4be78abcad4558367b22693ea55cfc5bb547 (patch)
tree6917b4bbe7feb46c3b1c0f5dbceb605b4a20362b /llvm/lib/CodeGen/MachineSink.cpp
parentc624cc252738c30ada3f00a498e971a7a3a84196 (diff)
downloadllvm-7f7f4be78abcad4558367b22693ea55cfc5bb547.zip
llvm-7f7f4be78abcad4558367b22693ea55cfc5bb547.tar.gz
llvm-7f7f4be78abcad4558367b22693ea55cfc5bb547.tar.bz2
[Clang] Set -mlinker-version explicitly in the lto test
This test assumes that the driver will set -object_path_lto linker flag and it requests the platform linker with -fuse-ld=. When lld is used as the host linker, the host linker version is unset and so Clang won't set -object_path_lto since that flag is set conditionally only when linker version is at least 116. We set the linker version explicitly to make sure that -object_path_lto is set. That approach is already used elsewhere in the test. Differential Revision: https://reviews.llvm.org/D122110
Diffstat (limited to 'llvm/lib/CodeGen/MachineSink.cpp')
0 files changed, 0 insertions, 0 deletions