[llvm] [llvm][dwarfdump] Add --child-tags option to filter by DWARF tags (PR #165720)

James Henderson via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 4 01:03:46 PST 2025


================
@@ -134,6 +134,12 @@ OPTIONS
 
             Abbreviate the description of type unit entries.
 
+.. option:: -t, --filter-child-tag
+
+            Only dump children whose DWARF tag is one of the specified tags.
+            Example usage:
+            `llvm-dwarfdump -t DW_TAG_structure_type -t DW_TAG_member -c`
----------------
jh7370 wrote:

Do you have a local docs build? How does this render in the output? What it be better using `.. code-block:: c`?

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


More information about the llvm-commits mailing list