summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp
diff options
context:
space:
mode:
authorMartin Storsjo <martin@martin.st>2019-08-02 11:20:03 +0000
committerMartin Storsjo <martin@martin.st>2019-08-02 11:20:03 +0000
commited7e1cd877a43a0d723e08dac12625bf303edfde (patch)
tree2c21f0034eaeed9b4a3f25cbbfbc093e44497322 /llvm/lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp
parent8d99a5c0e629131e732baf02cfeea8f42f61f5f2 (diff)
downloadbcm5719-llvm-ed7e1cd877a43a0d723e08dac12625bf303edfde.tar.gz
bcm5719-llvm-ed7e1cd877a43a0d723e08dac12625bf303edfde.zip
[llvm-dlltool] Clarify an error message. NFC.
The parameter to the -D (--dllname) option is the name of the dll that llvm-dlltool produces an import library for. Even though this is named "OutputFile" in the COFFModuleDefinition class, it's not an output file name in the context of llvm-dlltool, but the name of the DLL to create an import library for. llvm-svn: 367676
Diffstat (limited to 'llvm/lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp')
-rw-r--r--llvm/lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp b/llvm/lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp
index 0b406cc531a..603ba826e5e 100644
--- a/llvm/lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp
+++ b/llvm/lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp
@@ -149,7 +149,7 @@ int llvm::dlltoolDriverMain(llvm::ArrayRef<const char *> ArgsArr) {
Def->OutputFile = Arg->getValue();
if (Def->OutputFile.empty()) {
- llvm::errs() << "no output file specified\n";
+ llvm::errs() << "no DLL name specified\n";
return 1;
}
OpenPOWER on IntegriCloud