[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
================
@@ -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 "
----------------
jh7370 wrote:
I'd be tempted to just silently do nothing in this case, rather than emitting an error.
https://github.com/llvm/llvm-project/pull/165720
More information about the llvm-commits
mailing list