[PATCH] D36993: [llvm-dwarfdump] Print type names in DW_AT_type DIEs
David Blaikie via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 12 13:11:03 PST 2018
dblaikie added a comment.
In D36993#1328613 <https://reviews.llvm.org/D36993#1328613>, @probinson wrote:
> In D36993#1328536 <https://reviews.llvm.org/D36993#1328536>, @dblaikie wrote:
>
> > FWIW, I ended up adding test coverage for some of this in r348954 while improving the printing of arrays to include array dimensions - hand written assembly, so yeah, it's a bit less than ideal to maintain (mostly having to edit both the abbreviation and the definition - a solution to that would be handy (& having to lookup the numeric values of the enums (DW_AT/DW_TAGs))) but I think it's worth having.
>
>
> I can imagine some scheme involving a tool that generates assembler-source constants by pulling in Dwarf.def, but it's harder to imagine getting that hooked into the test infrastructure somehow.
Something like yaml2obj probably already uses LLVM's object libraries, so having access to the DWARF constants there wouldn't be too hard - I think they're down at a pretty low level near there.
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D36993/new/
https://reviews.llvm.org/D36993
More information about the llvm-commits
mailing list