[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


================
@@ -202,6 +202,8 @@ struct DIDumpOptions {
   bool ShowAddresses = true;
   bool ShowChildren = false;
   bool ShowParents = false;
+  /// List of DWARF tags to filter children by.
+  llvm::SmallVector<unsigned, 0> FilterChildTag;
----------------
jh7370 wrote:

Nit: this list is sorted by type, so this belongs near the end, probably next to the `JsonErrSummaryFile` entry.

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


More information about the llvm-commits mailing list