[llvm] 133de6c - [llvm-dlltool] Add a missing trailing newline in an error message
Martin Storsjö via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 19 05:16:19 PST 2023
Author: Martin Storsjö
Date: 2023-12-19T15:14:04+02:00
New Revision: 133de6c1510b15108f729f0d981d45cb7e936b85
URL: https://github.com/llvm/llvm-project/commit/133de6c1510b15108f729f0d981d45cb7e936b85
DIFF: https://github.com/llvm/llvm-project/commit/133de6c1510b15108f729f0d981d45cb7e936b85.diff
LOG: [llvm-dlltool] Add a missing trailing newline in an error message
Added:
Modified:
llvm/lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp
Removed:
################################################################################
diff --git a/llvm/lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp b/llvm/lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp
index 781bc9a058e1fd..834903857a88eb 100644
--- a/llvm/lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp
+++ b/llvm/lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp
@@ -171,7 +171,7 @@ int llvm::dlltoolDriverMain(llvm::ArrayRef<const char *> ArgsArr) {
if (!Def) {
llvm::errs() << "error parsing definition\n"
- << errorToErrorCode(Def.takeError()).message();
+ << errorToErrorCode(Def.takeError()).message() << "\n";
return 1;
}
More information about the llvm-commits
mailing list