[LLVMbugs] [Bug 15647] New: Add .eh_frame support

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Apr 1 15:46:46 PDT 2013


http://llvm.org/bugs/show_bug.cgi?id=15647

            Bug ID: 15647
           Summary: Add .eh_frame support
           Product: tools
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: llvm-dwarfdump
          Assignee: unassignedbugs at nondot.org
          Reporter: jcarter at mips.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 10269
  --> http://llvm.org/bugs/attachment.cgi?id=10269&action=edit
ELF object for dump

The .eh_frame section is very similar to the .debug_frame section.

This section describes exception handling. If this bug belongs in llvm-objdump,
please move it there. I could not find a bugzilla spot for it.

Basically we need a pretty printer output for exception handling info if for no
other reason, to create "make check" tests.

This is what gnu's readelf -wf dumps for my small test case:

svn: readelf -wf ../../j.o
Contents of the .eh_frame section:

00000000 0000001c 00000000 CIE
  Version:               1
  Augmentation:          "zPLR"
  Code alignment factor: 1
  Data alignment factor: -8
  Return address column: 31
  Augmentation data:     00 00 00 00 00 00 00 00 00 00 00

  DW_CFA_def_cfa: r29 ofs 0

00000020 0000002c 00000024 FDE cie=00000000 pc=00000000..0000007c
  Augmentation data:     00 00 00 00 00 00 00 00

  DW_CFA_advance_loc: 4 to 00000004
  DW_CFA_def_cfa_offset: 16
  DW_CFA_advance_loc: 8 to 0000000c
  DW_CFA_offset: r31 at cfa-8
  DW_CFA_offset: r28 at cfa-16
  DW_CFA_nop
  DW_CFA_nop
  DW_CFA_nop
  DW_CFA_nop
  DW_CFA_nop
  DW_CFA_nop
  DW_CFA_nop

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130401/125aca0f/attachment.html>


More information about the llvm-bugs mailing list