[LLVMdev] llvm-dwarfdump improvements

Frédéric Riss friss at apple.com
Wed Sep 3 09:30:14 PDT 2014


Hi,

[ I think I put the most important contributors to the DebugInfo stuff in Cc:. Is there anyone else that I am missing? ]

Just a short notice that I am currently working on making llvm-dwarfdump more developer friendly. There are quite a few features in Darwin’s dwarfdump that we find quite useful and that we would like to contribute to llvm-dwarfdump.

I have started by augmenting the -debug-dump=info output:
 - Symbolic names for attribute values
 - Line table lookups for DW_AT_decl_file
 - Annotate DW_AT_specification with the target DIE’s name
 - DWARF expression pretty-printing

With these enhancements, the debug_info dump is nearly always sufficient and the user rarely needs to go and decode himself the referenced content of other debug sections.

There will be more work by me going on in llvm-dwarfdump/libDebugInfo these coming weeks.
I’ll start sending patches to llvm-commits later today.

Cheers,
Fred



More information about the llvm-dev mailing list