================ 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