[PATCH] D113460: [llvm-dwarfdump] Add support for filtering by DIE tags

James Henderson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 9 01:10:22 PST 2021


jhenderson added a comment.

I could see myself using this if I were to revisit some of my DWARF work before: in the past I've written scripts to search llvm-dwarfdump .debug_info output, looking for specific attributes of certain properties. For example, for the fragmented DWARF topic I looked at a little while ago, I searched debug output to find specific tags that needed splitting out from the rest of the DWARF. The script was quite slow because it had to trawl through a lot of debug data, even though most of it was irrelevant to the task at hand. Filtering down to specific tags would have sped this process up.

That being said, I'm also curious to know what the use-case is.

Don't forget to add the new option to llvm-dwarfdump's .rst file, when updating.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D113460/new/

https://reviews.llvm.org/D113460



More information about the llvm-commits mailing list