[PATCH] D122110: [Clang] Set -mlinker-version explicitly in the lto test
Petr Hosek via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Mar 20 22:54:31 PDT 2022
phosek added a comment.
In D122110#3395336 <https://reviews.llvm.org/D122110#3395336>, @int3 wrote:
> Would it make sense to have clang pass `-object_path_lto` whenever it's invoking LLD?
It already does, see https://github.com/llvm/llvm-project/blob/afc2f024462951d6e74c5e733f4b4666e21d3309/clang/lib/Driver/ToolChains/Darwin.cpp#L232, but in this particular case the test is explicitly requesting the platform linker by passing `-fuse-ld=`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D122110/new/
https://reviews.llvm.org/D122110
More information about the cfe-commits
mailing list