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

Michael Buch via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 4 02:27:12 PST 2025


================
@@ -899,6 +917,12 @@ int main(int argc, char **argv) {
       Find.empty() && !FindAllApple)
     ShowChildren = true;
 
+  if (!ShowChildren && !FilterChildTag.empty()) {
+    WithColor::error() << "incompatible arguments: --filter-child-tag requires "
----------------
Michael137 wrote:

yea I don't mind doing that. Other non-composable options already behave that way anyway (like `--name` and `--debug-info=`).

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


More information about the llvm-commits mailing list