From: Hans Wennborg Date: Tue, 4 Oct 2016 21:01:00 +0000 (+0000) Subject: clang-cl: expose the -fuse-ld option X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=df6183345b38e3c28ef5cc12d9d9b953b632df21;p=clang clang-cl: expose the -fuse-ld option git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@283256 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Driver/Options.td b/include/clang/Driver/Options.td index d3de24b660..2ff4739b94 100644 --- a/include/clang/Driver/Options.td +++ b/include/clang/Driver/Options.td @@ -2155,7 +2155,7 @@ defm : BooleanFFlag<"keep-inline-functions">, Group, Group; def falign_functions_EQ : Joined<["-"], "falign-functions=">, Group; diff --git a/test/Driver/cl-link.c b/test/Driver/cl-link.c index 026c43383c..b195676250 100644 --- a/test/Driver/cl-link.c +++ b/test/Driver/cl-link.c @@ -51,3 +51,6 @@ // NONEXISTENT: link.exe // NONEXISTENT: "/libpath:somepath" // NONEXISTENT: nonexistent + +// RUN: %clang_cl /Tc%s -fuse-ld=lld -### 2>&1 | FileCheck --check-prefix=USE_LLD %s +// USE_LLD: lld-link.exe