projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c88580c
)
Update to match LLVM r300135.
author
Richard Smith
<richard-llvm@metafoo.co.uk>
Wed, 12 Apr 2017 23:51:20 +0000
(23:51 +0000)
committer
Richard Smith
<richard-llvm@metafoo.co.uk>
Wed, 12 Apr 2017 23:51:20 +0000
(23:51 +0000)
llvm-svn: 300141
lld/COFF/Driver.cpp
patch
|
blob
|
history
diff --git
a/lld/COFF/Driver.cpp
b/lld/COFF/Driver.cpp
index
9f52ba0
..
3e7f10b
100644
(file)
--- a/
lld/COFF/Driver.cpp
+++ b/
lld/COFF/Driver.cpp
@@
-616,7
+616,7
@@
void LinkerDriver::link(ArrayRef<const char *> ArgsArr) {
}
}
- 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 char *> ArgsArr) {
// 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.