[llvm] [llvm-debuginfo-analyzer] Add support for LLVM IR format. (PR #134622)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 7 06:07:38 PDT 2025
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 HEAD~1 HEAD --extensions h,cpp -- llvm/include/llvm/DebugInfo/LogicalView/Readers/LVIRReader.h llvm/lib/DebugInfo/LogicalView/Readers/LVIRReader.cpp llvm/unittests/DebugInfo/LogicalView/IRReaderTest.cpp llvm/include/llvm/DebugInfo/LogicalView/Core/LVReader.h llvm/include/llvm/DebugInfo/LogicalView/Core/LVSupport.h llvm/include/llvm/DebugInfo/LogicalView/LVReaderHandler.h llvm/include/llvm/DebugInfo/LogicalView/Readers/LVBinaryReader.h llvm/include/llvm/DebugInfo/LogicalView/Readers/LVDWARFReader.h llvm/lib/DebugInfo/LogicalView/Core/LVElement.cpp llvm/lib/DebugInfo/LogicalView/Core/LVReader.cpp llvm/lib/DebugInfo/LogicalView/LVReaderHandler.cpp llvm/lib/DebugInfo/LogicalView/Readers/LVBinaryReader.cpp llvm/lib/DebugInfo/LogicalView/Readers/LVDWARFReader.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/include/llvm/DebugInfo/LogicalView/LVReaderHandler.h b/llvm/include/llvm/DebugInfo/LogicalView/LVReaderHandler.h
index cbc5b031b..c743e517e 100644
--- a/llvm/include/llvm/DebugInfo/LogicalView/LVReaderHandler.h
+++ b/llvm/include/llvm/DebugInfo/LogicalView/LVReaderHandler.h
@@ -30,9 +30,9 @@ namespace logicalview {
using LVReaders = std::vector<std::unique_ptr<LVReader>>;
using ArgVector = std::vector<std::string>;
-using PdbOrObjOrIr = PointerUnion<object::ObjectFile *, pdb::PDBFile *,
- object::IRObjectFile *, MemoryBufferRef *,
- StringRef *>;
+using PdbOrObjOrIr =
+ PointerUnion<object::ObjectFile *, pdb::PDBFile *, object::IRObjectFile *,
+ MemoryBufferRef *, StringRef *>;
// This class performs the following tasks:
// - Creates a logical reader for every binary file in the command line,
``````````
</details>
https://github.com/llvm/llvm-project/pull/134622
More information about the llvm-commits
mailing list