[PATCH] Initial DWARF CFA instruction parsing support in lib/DebugInfo

Eli Bendersky eliben at google.com
Wed Feb 20 14:42:39 PST 2013


Hello,

Previously, parsing capability of the .debug_frame section was added
to lib/DebugInfo, with dumping in llvm-dwarfdump. This patch adds
initial ability to parse and dump CFA instructions contained in
entries.

To keep it manageable, the patch omits some more advanced capabilities
(accounted in TODOs):

* Parsing of instructions with BLOCK arguments (expression lists)
* Dumping of actual instruction arguments (currently only names are
dumped). This is quite tricky since the dumper has to effectively
"interpret" the instructions.

Eli
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dwarfdump-instr.1.patch
Type: application/octet-stream
Size: 9630 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130220/859b556d/attachment.obj>


More information about the llvm-commits mailing list