[clang] [clang][Driver] Allow -fuse-lld=lld-link when lto is enabled on *windows-msvc targets (PR #113966)

Zhaoshi Zheng via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 30 11:57:49 PDT 2024


zhaoshiz wrote:

> Windows should use `-fuse-ld=lld` as well, not `-fuse-ld=lld-link`

I don't disagree... But `-fuse-ld=lld-link` is auto generated by CMake in our case. I can add `-fuse-ld=lld` to CMAKE_C_FLAGS. But I have no control over what or how our downstream users build with LLVM.

https://github.com/llvm/llvm-project/pull/113966


More information about the cfe-commits mailing list