[PATCH] D69760: [Clang][Driver] Don't pun -fuse-ld=lld as -fuse-ld=lld-link with msvc

Nico Weber via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 5 11:43:29 PST 2019


thakis added a comment.

In D69760#1734524 <https://reviews.llvm.org/D69760#1734524>, @thakis wrote:

> We currently do cross builds of chrome/win on linux, and this breaks that.
>
> As far as I know, no linker other than lld-link is able to write PDB files, so when targeting windows-msvc we definitely shouldn't change the current behavior. I don't have an opinion on windows-mingw.


Actually, we don't call the linker through the compiler driver when targeting Windows, so this doesn't break our cross build. I manually use `clang-cl -fuse-ld=lld` often though, so it'd make me type a lot more :)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D69760/new/

https://reviews.llvm.org/D69760





More information about the llvm-commits mailing list