Previously, parsing capability of the .debug_frame section was added
authorEli Bendersky <eliben@google.com>
Thu, 21 Feb 2013 22:53:19 +0000 (22:53 +0000)
committerEli Bendersky <eliben@google.com>
Thu, 21 Feb 2013 22:53:19 +0000 (22:53 +0000)
commit7bf3d6a0438485df61c438f26cfbaef2f8d8a3c4
tree624aeeb01fc813834ac4db1984520d63c969261a
parent0711d46a72580a943d60a770776a22aeb494e66c
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175820 91177308-0d34-0410-b5e6-96231b3b80d8
lib/DebugInfo/DWARFDebugFrame.cpp
lib/Support/Dwarf.cpp
test/DebugInfo/dwarfdump-debug-frame-simple.test