[llvm] 9827467 - [Debuginfod] Add \n to llvm-debuginfod-find error

Daniel Thornburgh via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 9 14:22:07 PDT 2023


Author: Daniel Thornburgh
Date: 2023-10-09T14:20:04-07:00
New Revision: 9827467d849541e2abd9010308113225baf85e96

URL: https://github.com/llvm/llvm-project/commit/9827467d849541e2abd9010308113225baf85e96
DIFF: https://github.com/llvm/llvm-project/commit/9827467d849541e2abd9010308113225baf85e96.diff

LOG: [Debuginfod] Add \n to llvm-debuginfod-find error

Added: 
    

Modified: 
    llvm/tools/llvm-debuginfod-find/llvm-debuginfod-find.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/tools/llvm-debuginfod-find/llvm-debuginfod-find.cpp b/llvm/tools/llvm-debuginfod-find/llvm-debuginfod-find.cpp
index a9b34522f3cb431..425ee8d986a829f 100644
--- a/llvm/tools/llvm-debuginfod-find/llvm-debuginfod-find.cpp
+++ b/llvm/tools/llvm-debuginfod-find/llvm-debuginfod-find.cpp
@@ -123,6 +123,6 @@ std::string fetchDebugInfo(object::BuildIDRef BuildID) {
           DebuginfodFetcher(DebugFileDirectory).fetch(BuildID))
     return *Path;
   errs() << "Build ID " << llvm::toHex(BuildID, /*Lowercase=*/true)
-         << " could not be found.";
+         << " could not be found.\n";
   exit(1);
 }


        


More information about the llvm-commits mailing list