llvm-project/llvm/unittests/DebugInfo
Jonas Devlieghere c0a758d8ab [dwarfdump] Make .eh_frame an alias for .debug_frame
This patch makes the `.eh_frame` extension an alias for `.debug_frame`.
Up till now it was only possible to dump the section using objdump, but
not with dwarfdump. Since the two are essentially interchangeable, we
dump whichever of the two is present.

As a workaround, this patch also adds parsing for 3 currently
unimplemented CFA instructions: `DW_CFA_def_cfa_expression`,
`DW_CFA_expression`, and `DW_CFA_val_expression`. Because I lack the
required knowledge, I just parse the fields without actually creating
the instructions.

Finally, this also fixes the typo in the `.debug_frame` section name
which incorrectly contained a trailing `s`.

Differential revision: https://reviews.llvm.org/D37852

llvm-svn: 313530
2017-09-18 14:15:57 +00:00
..
CodeView [PDB] Fix linking of function symbols and local variables. 2017-08-08 18:34:44 +00:00
DWARF [dwarfdump] Make .eh_frame an alias for .debug_frame 2017-09-18 14:15:57 +00:00
MSF [pdb/lld] Write a valid FPM. 2017-08-02 22:31:39 +00:00
PDB [MSF] Move MSF unit tests to their own unittest target. 2017-08-02 22:26:09 +00:00
CMakeLists.txt [MSF] Move MSF unit tests to their own unittest target. 2017-08-02 22:26:09 +00:00