Frederic Riss
de3743453f
[dwarfdump] Fix frame info register number dump.
...
llvm-svn: 230559
2015-02-25 22:30:09 +00:00
Frederic Riss
ac10b0d61d
Try to appease buildbots.
...
It seems ArrayRefs to multi-dimensional arrays confuse some compilers.
llvm-svn: 230554
2015-02-25 22:07:43 +00:00
Frederic Riss
c0dd7243ee
[dwarfdump] Make debug_frame dump actually useful.
...
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
2015-02-25 21:30:22 +00:00
Frederic Riss
2fe0e54fd6
[dwarfdump] Don't print meaningless pointer.
...
CIE pointers were never filled in before, and printing the pointer
is totally pointless anyway.
llvm-svn: 230550
2015-02-25 21:30:19 +00:00
Frederic Riss
056ad058bb
DWARFDebugFrame: Move some code around. NFC.
...
Move the FrameEntry::dumpInstructions down in the file at some
place where it can see the declarations of FDE and CIE.
llvm-svn: 230549
2015-02-25 21:30:16 +00:00
Frederic Riss
41bb2c6d4f
DWARFDebugFrame: Add some trivial accessors. NFC.
...
To be used for dumping.
llvm-svn: 230548
2015-02-25 21:30:13 +00:00
Frederic Riss
baf195f7eb
DWARFDebugFrame: Actually collect CIEs associated with FDEs.
...
This is the first commit in a small series aiming at making
debug_frame dump more useful (right now it prints a list of
opeartions without their operands).
llvm-svn: 230547
2015-02-25 21:30:09 +00:00
Zachary Turner
82af9438d0
Move DebugInfo to DebugInfo/DWARF.
...
In preparation for adding PDB support to LLVM, this moves the
DWARF parsing code to its own subdirectory under DebugInfo, and
renames LLVMDebugInfo to LLVMDebugInfoDWARF.
This is purely a mechanical / build system change.
Differential Revision: http://reviews.llvm.org/D7269
Reviewed by: Eric Christopher
llvm-svn: 227586
2015-01-30 18:07:45 +00:00