[PATCH] Add option to llvm-dwarfdump to dump .eh_frame sections.

Eli Bendersky eliben at google.com
Wed Feb 20 14:12:24 PST 2013


On Wed, Feb 20, 2013 at 2:05 PM, Erik Verbruggen <erik.verbruggen at me.com> wrote:
> Add option to llvm-dwarfdump to dump .eh_frame sections.
>
>

Erik, thanks for working on this. You're reusing the DWARFDebugFrame
class, but AFAIK there are subtle format differences between
.debug_frame and .eh_frame. E.g. check out this:
http://www.airs.com/blog/archives/460 and other resources.

Thoughts?

Also, I'm concerned about your test not being restricted to a specific
architecture/triple. It may fail on platforms with different word size
and other parameters. Where did you test it?

P.S. I'm going out to send a patch to enhance DWARFDebugFrame with
some initial CFA instruction parsing very soon. It shouldn't interfere
with yours, though.

Eli



More information about the llvm-commits mailing list