<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Add .eh_frame support"
   href="http://llvm.org/bugs/show_bug.cgi?id=15647">15647</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Add .eh_frame support
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>tools
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>llvm-dwarfdump
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>jcarter@mips.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=10269" name="attach_10269" title="ELF object for dump">attachment 10269</a> <a href="attachment.cgi?id=10269&action=edit" title="ELF object for dump">[details]</a></span>
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</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>