[LLVMdev] llvm-dwarfdump improvements

Frédéric Riss friss at apple.com
Wed Sep 3 11:03:23 PDT 2014


> On 03 Sep 2014, at 19:31, Eric Christopher <echristo at gmail.com> wrote:
> 
> 
> On Wed, Sep 3, 2014 at 9:30 AM, Frédéric Riss <friss at apple.com <mailto:friss at apple.com>> wrote:
> Hi,
> 
> [ I think I put the most important contributors to the DebugInfo stuff in Cc:. Is there anyone else that I am missing? ]
> 
> No one comes to mind.
>  
> 
> 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.
> 
> 
> Hopefully we'll get the verifier too ;)

It’s not done, but it’s on my list.

>  
> 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
> 
> 
> Awesome.
>  
> 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.
> 
> 
> Though these changes should also make the dumping of those sections much better too?

For location list sections, sure. I’m not sure if any other section is impacted right now.

Fred

> 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.
> 
> Thanks for the heads up.
> 
> -eric
>  
> 
> Cheers,
> Fred
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140903/e0c0fdc8/attachment.html>


More information about the llvm-dev mailing list