[llvm] [llvm-gsymutil] Print a DWO file missing warning under --quiet flag (PR #68062)

via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 2 19:14:44 PDT 2023


github-actions[bot] wrote:


<!--LLVM CODE FORMAT COMMENT: {clang-format}-->

:warning: C/C++ code formatter, clang-format found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
git-clang-format --diff e8970141ec4326acb139789db01fb7c51538a4be a7899c6f0bd15c6aca5f723cd26ed94561db0b3f -- llvm/lib/DebugInfo/GSYM/DwarfTransformer.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/llvm/lib/DebugInfo/GSYM/DwarfTransformer.cpp b/llvm/lib/DebugInfo/GSYM/DwarfTransformer.cpp
index f239950d2..2cd16da1d 100644
--- a/llvm/lib/DebugInfo/GSYM/DwarfTransformer.cpp
+++ b/llvm/lib/DebugInfo/GSYM/DwarfTransformer.cpp
@@ -516,9 +516,11 @@ Error DwarfTransformer::convert(uint32_t NumThreads, raw_ostream *OS) {
           *OS << "warning: Unable to retrieve DWO .debug_info section for "
               << DWOName << "\n";
         } else {
-          std::call_once(flag, [](){
-            outs() << "warning: Unable to retrieve DWO .debug_info section for some "
-            "object files. (Remove the --quiet flag for full output)\n";
+          std::call_once(flag, []() {
+            outs()
+                << "warning: Unable to retrieve DWO .debug_info section for "
+                   "some "
+                   "object files. (Remove the --quiet flag for full output)\n";
           });
         }
       } else {

``````````

</details>


https://github.com/llvm/llvm-project/pull/68062


More information about the llvm-commits mailing list