This change allows binutils to be used for linking with MSVC. Currently, when
using an MSVC target and -fuse-ld=bfd, the driver produces an invalid linker
invocation.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/Driver/Driver.cpp | ||
---|---|---|
3884 ↗ | (On Diff #121185) | lld-link is a valid invocation for LLD as well, so I'd either add that option, change the equality option to a start check, or invert the check and check for an -fuse-ld= option starting with bfd (since we want the MSVC toolchain to be the default). |