[PATCH] D113460: [llvm-dwarfdump] Add support for filtering by DIE tags
William Woodruff via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 8 21:58:14 PST 2021
woodruffw created this revision.
Herald added a reviewer: jhenderson.
Herald added a subscriber: cmtice.
woodruffw requested review of this revision.
Herald added subscribers: llvm-commits, MaskRay.
Herald added a project: LLVM.
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
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D113460
Files:
llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D113460.385699.patch
Type: text/x-patch
Size: 5054 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211109/e8e3e1ea/attachment.bin>
More information about the llvm-commits
mailing list