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
- Build Status
Buildable 11725 Build 11725: arc lint + arc unit
Event Timeline
lib/Driver/Driver.cpp | ||
---|---|---|
3884 | 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). |
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).