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)
commit705085da37eed9557202ff1e86f9462842ef7af9
treed4db259fc0bb9a3bbb7d3ebfe0385bb540e22a0c
parent65615996b9db7c9a5700277007d71477f3cb745a
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.

llvm-svn: 175820
llvm/lib/DebugInfo/DWARFDebugFrame.cpp
llvm/lib/Support/Dwarf.cpp
llvm/test/DebugInfo/dwarfdump-debug-frame-simple.test