[PATCH] Initial support for parsing DWARF CFI in DebugInfo and dumping it in llvm-dwarfdump
Eric Christopher
echristo at gmail.com
Tue Feb 5 15:04:03 PST 2013
If you can split up the AddressSize/PointerSize part of the patch into
something separate that'd be good. Also formatting and I think 80-column
violations.
Otherwise looks fine.
-eric
On Tue, Feb 5, 2013 at 2:47 PM, Eli Bendersky <eliben at google.com> wrote:
> The attached patch is the first step for adding DWARF CFI parsing and
> dumping support to LLVM's tools.
>
> What it does:
>
> * Parses the .debug_frame section, obtaining the CIE and FDE headers
> * Dumping those in a readelf-compatible format for the llvm-dwarfdump tool
>
> What it doesn't do yet:
>
> * No support for .eh_frame, only .debug_frame
> * Doesn't decode actual instructions, only entry headers
>
> This is something that can (and should) be developed incrementally, so
> once the initial patch gets accepted and committed, more features can
> be added. Even in its initial form it can already allow some tests to
> be written more naturally with llvm-dwarfdump. Note that I didn't
> include tests in the patch - I'll add them once the general direction
> is approved.
>
> Eli
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130205/059212b9/attachment.html>
More information about the llvm-commits
mailing list