[llvm] Added --report=debugger option to llvm-debuginfo-analyzer (PR #159853)

Carlos Alberto Enciso via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 19 22:32:13 PDT 2025


================
@@ -855,6 +861,73 @@ layout and given the number of matches.
   -----------------------------
   Total           26          8
 
+DEBUGGER VIEW
+"""""""""""""
+In debugger view, :program:`llvm-debuginfo-analyzer` prints out
+debug-info in a manner that emulates a debugger. For each function, each
+statement line is printed out in order, complete with the inlined
+callstack. This is useful to verify the specific orders of lines, as
+well as verifying inline callstacks.
+
+.. code-block:: none
+
+  llvm-debuginfo-analyzer --report=debugger
+                          test-dwarf-clang.o test-dwarf-gcc.o
----------------
CarlosAlbertoEnciso wrote:

For consistency with the another general printing layouts, include:
`Logical View` title follow by `{File` and `CompileUnit` entries

 ```
 Logical View:
  [000]           {File} 'test-dwarf-clang.o'
  [001]           {CompileUnit} 'test.cpp'
```

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


More information about the llvm-commits mailing list