[llvm-branch-commits] [llvm] [llvm-debuginfo-analyzer] Add support for LLVM IR format. (PR #135440)
Carlos Alberto Enciso via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed Jun 11 00:53:48 PDT 2025
================
@@ -22,6 +22,30 @@ using namespace llvm::logicalview;
#define DEBUG_TYPE "Reader"
+// Traverse all the logical elements and print its basic information.
+void printCollectedElements(LVScope *Root) {
+ std::function<void(LVScope * Parent)> TraverseScope = [&](LVScope *Parent) {
+ // Print the elements.
+ auto Print = [&](const auto &Set) {
+ if (Set)
----------------
CarlosAlbertoEnciso wrote:
Good catch. Changed.
https://github.com/llvm/llvm-project/pull/135440
More information about the llvm-branch-commits
mailing list