[PATCH] D39509: Vary Windows toolchain selection by -fused-ld

2017-11-01 Thread Shoaib Meenai via Phabricator via cfe-commits
smeenai added a comment. Also title says `-fused-ld` instead of `-fuse-ld` https://reviews.llvm.org/D39509 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[PATCH] D39509: Vary Windows toolchain selection by -fused-ld

2017-11-01 Thread Shoaib Meenai via Phabricator via cfe-commits
smeenai added inline comments. Comment at: lib/Driver/Driver.cpp:3884 +const auto A = Args.getLastArgValue(options::OPT_fuse_ld_EQ, "link"); +if (A.equals_lower("link") || A.equals_lower("lld")) + TC = `lld-link` is a valid invocation for

[PATCH] D39509: Vary Windows toolchain selection by -fused-ld

2017-11-01 Thread Dave Lee via Phabricator via cfe-commits
kastiglione updated this revision to Diff 121185. kastiglione added a comment. Use "link" as default when inspecting -fuse-ld= https://reviews.llvm.org/D39509 Files: lib/Driver/Driver.cpp test/Driver/Inputs/Windows/usr/bin/ld.bfd test/Driver/fuse-ld.c Index: test/Driver/fuse-ld.c ==