summaryrefslogtreecommitdiffstats
path: root/lld/COFF/Driver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lld/COFF/Driver.cpp')
-rw-r--r--lld/COFF/Driver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/COFF/Driver.cpp b/lld/COFF/Driver.cpp
index fc5d040cb0b..088e5369e90 100644
--- a/lld/COFF/Driver.cpp
+++ b/lld/COFF/Driver.cpp
@@ -726,7 +726,7 @@ bool LinkerDriver::link(llvm::ArrayRef<const char *> ArgsArr) {
touchFile(Arg->getValue());
// Write the result.
- if (auto EC = writeResult(&Symtab, Config->OutputFile)) {
+ if (auto EC = writeResult(&Symtab)) {
llvm::errs() << EC.message() << "\n";
return false;
}
OpenPOWER on IntegriCloud