Teaches llvm-dwarfdump the --tag=<tag> option, which allows
for filtering of DIEs by their DW_TAG_ values in a manner similar
to the current --name=<pattern> option.
--tag=<tag> can be composed with --name=<pattern>, allowing
uses like discovering every subprogram DIE that contains the
pattern Vector:
llvm-dwarfdump --tag subprogram --name Vector --regex some-binary
Looks like this has different behavior from the original - this'll print if the name or the tag is satisfied, the original printed only if the name and the tag were satisfied, I think? From the patch description, it sounds like the original was the desired behavior, and this new behavior is unintended.
(speaking of: this needs test coverage)