[lld] r196196 - [PECOFF] Print input file names if /verbose is specified.
Rui Ueyama
ruiu at google.com
Mon Dec 2 18:21:52 PST 2013
Author: ruiu
Date: Mon Dec 2 20:21:52 2013
New Revision: 196196
URL: http://llvm.org/viewvc/llvm-project?rev=196196&view=rev
Log:
[PECOFF] Print input file names if /verbose is specified.
Modified:
lld/trunk/lib/Driver/WinLinkDriver.cpp
lld/trunk/lib/Driver/WinLinkOptions.td
Modified: lld/trunk/lib/Driver/WinLinkDriver.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/Driver/WinLinkDriver.cpp?rev=196196&r1=196195&r2=196196&view=diff
==============================================================================
--- lld/trunk/lib/Driver/WinLinkDriver.cpp (original)
+++ lld/trunk/lib/Driver/WinLinkDriver.cpp Mon Dec 2 20:21:52 2013
@@ -808,6 +808,10 @@ WinLinkDriver::parse(int argc, const cha
ctx.setDeadStripping(false);
break;
+ case OPT_verbose:
+ ctx.setLogInputFiles(true);
+ break;
+
case OPT_force:
case OPT_force_unresolved:
// /force and /force:unresolved mean the same thing. We do not currently
Modified: lld/trunk/lib/Driver/WinLinkOptions.td
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/Driver/WinLinkOptions.td?rev=196196&r1=196195&r2=196196&view=diff
==============================================================================
--- lld/trunk/lib/Driver/WinLinkOptions.td (original)
+++ lld/trunk/lib/Driver/WinLinkOptions.td Mon Dec 2 20:21:52 2013
@@ -52,7 +52,7 @@ def incl_c : Separate<["/", "-"], "inclu
def nodefaultlib_all : F<"nodefaultlib">;
def noentry : F<"noentry">;
def dll : F<"dll">;
-
+def verbose : F<"verbose">;
def debug : F<"debug">;
def swaprun_cd : F<"swaprun:cd">;
def swaprun_net : F<"swaprun:net">;
@@ -94,7 +94,6 @@ def ignoreidl : F<"ignoreidl">;
def incremental : F<"incremental">;
def no_incremental : F<"incremental:no">;
def nologo : F<"nologo">;
-def verbose : F<"verbose">;
def delay : QF<"delay">;
def delayload : QF<"delayload">;
More information about the llvm-commits
mailing list