<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 03 Sep 2014, at 19:31, Eric Christopher <<a href="mailto:echristo@gmail.com" class="">echristo@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="gmail_extra"><br class=""><div class="gmail_quote">On Wed, Sep 3, 2014 at 9:30 AM, Frédéric Riss <span dir="ltr" class=""><<a href="mailto:friss@apple.com" target="_blank" class="">friss@apple.com</a>></span> wrote:<br class="">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br class="">
<br class="">
[ I think I put the most important contributors to the DebugInfo stuff in Cc:. Is there anyone else that I am missing? ]<br class=""></blockquote><div class=""><br class=""></div><div class="">No one comes to mind.</div><div class=""> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br class="">
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.<br class="">
<br class=""></blockquote><div class=""><br class=""></div><div class="">Hopefully we'll get the verifier too ;)</div></div></div></div></div></blockquote><div><br class=""></div><div>It’s not done, but it’s on my list.</div><br class=""><blockquote type="cite" class=""><div dir="ltr" class=""><div class="gmail_extra"><div class="gmail_quote"><div class=""> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I have started by augmenting the -debug-dump=info output:<br class="">
- Symbolic names for attribute values<br class="">
- Line table lookups for DW_AT_decl_file<br class="">
- Annotate DW_AT_specification with the target DIE’s name<br class="">
- DWARF expression pretty-printing<br class="">
<br class=""></blockquote><div class=""><br class=""></div><div class="">Awesome.</div><div class=""> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
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.<br class="">
<br class=""></blockquote><div class=""><br class=""></div><div class="">Though these changes should also make the dumping of those sections much better too?</div></div></div></div></blockquote><div><br class=""></div><div>For location list sections, sure. I’m not sure if any other section is impacted right now.</div><div><br class=""></div><div>Fred</div><br class=""><blockquote type="cite" class=""><div dir="ltr" class=""><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
There will be more work by me going on in llvm-dwarfdump/libDebugInfo these coming weeks.<br class="">
I’ll start sending patches to llvm-commits later today.<br class=""></blockquote><div class=""><br class=""></div><div class="">Thanks for the heads up.</div><div class=""><br class=""></div><div class="">-eric</div><div class=""> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br class="">
Cheers,<br class="">
Fred</blockquote></div><br class=""></div></div>
</blockquote></div><br class=""></body></html>