Skip to content

Commit 19d1755

Browse files
authored
Merge pull request #9531 from swiftlang/cherrypick-115191
[dsymutil] Add missing newlines in error messages. (llvm#115191)
2 parents 8c3e30e + ee09ad9 commit 19d1755

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/tools/dsymutil/dsymutil.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -721,7 +721,7 @@ int dsymutil_main(int argc, char **argv, const llvm::ToolContext &) {
721721
Expected<OutputLocation> OutputLocationOrErr =
722722
getOutputFileName(InputFile, Options);
723723
if (!OutputLocationOrErr) {
724-
WithColor::error() << toString(OutputLocationOrErr.takeError());
724+
WithColor::error() << toString(OutputLocationOrErr.takeError()) << "\n";
725725
return EXIT_FAILURE;
726726
}
727727
Options.LinkOpts.ResourceDir = OutputLocationOrErr->getResourceDir();
@@ -799,7 +799,7 @@ int dsymutil_main(int argc, char **argv, const llvm::ToolContext &) {
799799
Options.LinkOpts.NoOutput ? "-" : OutputFile, EC,
800800
sys::fs::OF_None);
801801
if (EC) {
802-
WithColor::error() << OutputFile << ": " << EC.message();
802+
WithColor::error() << OutputFile << ": " << EC.message() << "\n";
803803
AllOK.fetch_and(false);
804804
return;
805805
}

0 commit comments

Comments
 (0)