[lld] r300141 - Update to match LLVM r300135.
Richard Smith via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 12 16:51:20 PDT 2017
Author: rsmith
Date: Wed Apr 12 18:51:20 2017
New Revision: 300141
URL: http://llvm.org/viewvc/llvm-project?rev=300141&view=rev
Log:
Update to match LLVM r300135.
Modified:
lld/trunk/COFF/Driver.cpp
Modified: lld/trunk/COFF/Driver.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/COFF/Driver.cpp?rev=300141&r1=300140&r2=300141&view=diff
==============================================================================
--- lld/trunk/COFF/Driver.cpp (original)
+++ lld/trunk/COFF/Driver.cpp Wed Apr 12 18:51:20 2017
@@ -616,7 +616,7 @@ void LinkerDriver::link(ArrayRef<const c
}
}
- if (Args.filtered_begin(OPT_INPUT) == Args.filtered_end())
+ if (!Args.hasArgNoClaim(OPT_INPUT))
fatal("no input files");
// Construct search path list.
@@ -917,7 +917,7 @@ void LinkerDriver::link(ArrayRef<const c
// Set default image name if neither /out or /def set it.
if (Config->OutputFile.empty()) {
Config->OutputFile =
- getOutputPath((*Args.filtered_begin(OPT_INPUT))->getValue());
+ getOutputPath((*Args.filtered(OPT_INPUT).begin())->getValue());
}
// Put the PDB next to the image if no /pdb flag was passed.
More information about the llvm-commits
mailing list