summaryrefslogtreecommitdiffstats
path: root/llvm/test/DebugInfo/dwarfdump-debug-frame-simple.test
Commit message (Collapse)AuthorAgeFilesLines
* [dwarfdump] Make debug_frame dump actually useful.Frederic Riss2015-02-251-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | This adds support for pretty-printing instruction operands. The new output looks like: 00000000 00000010 ffffffff CIE Version: 1 Augmentation: Code alignment factor: 1 Data alignment factor: -4 Return address column: 8 DW_CFA_def_cfa: reg4 +4 DW_CFA_offset: reg8 -4 DW_CFA_nop: DW_CFA_nop: 00000014 00000010 00000000 FDE cie=00000000 pc=00000000...00000022 DW_CFA_advance_loc: 3 DW_CFA_def_cfa_offset: +12 DW_CFA_nop: llvm-svn: 230551
* Previously, parsing capability of the .debug_frame section was addedEli Bendersky2013-02-211-0/+13
| | | | | | | | | | | | | | | | 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
* Fix typoEli Bendersky2013-02-061-1/+1
| | | | llvm-svn: 174553
* Add a comment to the test that points to the source from which the input objectEli Bendersky2013-02-061-0/+1
| | | | | | file was generated. llvm-svn: 174551
* Add a test for checking the current .debug_frame dumping capability.Eli Bendersky2013-02-061-0/+14
The test is a binary placed in test/DebugInfo/Inputs, with a source C file used for reference/reproducing. The source's first line is a clang build command for reproducing the binary. llvm-svn: 174543
OpenPOWER on IntegriCloud