[PATCH] Allow clang-cl to automatically use lld instead of forcing the MSVC linker

Rui Ueyama ruiu at google.com
Wed Nov 26 17:34:47 PST 2014


================
Comment at: lib/Driver/Tools.cpp:7987
@@ +7986,3 @@
+    ld_value = A->getValue();
+    if (StringRef(ld_value).equals_lower("lld"))
+      ld_value = "lld-link";
----------------
Why don't you just pass "lld-link" (not "lld") to -fuse-ld option?

http://reviews.llvm.org/D6428






More information about the cfe-commits mailing list