[llvm] llvm-dwarfdump --verify aggregated output to JSON file (PR #81762)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 14 09:10:46 PST 2024
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 4ad9f5be8348374ed2bfff32842f395f6e5f41a4 c61e34e8458e07c7ab91ef5224a8e3d87ea2baa7 -- llvm/include/llvm/DebugInfo/DIContext.h llvm/lib/DebugInfo/DWARF/DWARFVerifier.cpp llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/DebugInfo/DWARF/DWARFVerifier.cpp b/llvm/lib/DebugInfo/DWARF/DWARFVerifier.cpp
index 5c8b5ba48f..3d5b895992 100644
--- a/llvm/lib/DebugInfo/DWARF/DWARFVerifier.cpp
+++ b/llvm/lib/DebugInfo/DWARF/DWARFVerifier.cpp
@@ -2042,8 +2042,8 @@ void DWARFVerifier::summarize() {
sys::fs::OF_Text | sys::fs::OF_None);
if (EC) {
error() << "error opening aggregate error json file '"
- << DumpOpts.AggregateErrJsonFile << "' for writing: "
- << EC.message() << '\n';
+ << DumpOpts.AggregateErrJsonFile
+ << "' for writing: " << EC.message() << '\n';
return;
}
JsonStream << "{\"errors\":[\n";
``````````
</details>
https://github.com/llvm/llvm-project/pull/81762
More information about the llvm-commits
mailing list