]> granicus.if.org Git - clang/commit
Vary Windows toolchain selection by -fuse-ld
authorDave Lee <davelee.com@gmail.com>
Mon, 6 Nov 2017 21:18:05 +0000 (21:18 +0000)
committerDave Lee <davelee.com@gmail.com>
Mon, 6 Nov 2017 21:18:05 +0000 (21:18 +0000)
commitfcfc95066fbaf6b4b5e0ea8ae03fe52f4d7008c2
treee6c4dd5d9eeb7b38ea1ee06c7d0f9c990c249bae
parentcde1eeda784746f91d1088d2aae4a5f17f5a69e3
Vary Windows toolchain selection by -fuse-ld

Summary:
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.

Reviewers: rnk, compnerd

Reviewed By: compnerd

Subscribers: smeenai, cfe-commits

Differential Revision: https://reviews.llvm.org/D39509

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@317511 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/Driver.cpp
test/Driver/Inputs/Windows/usr/bin/ld.bfd [new file with mode: 0755]
test/Driver/fuse-ld.c