<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 --- - llvm-dwarfdump doesn't dump DW_AT_frame_base"
   href="http://llvm.org/bugs/show_bug.cgi?id=22221">22221</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>llvm-dwarfdump doesn't dump DW_AT_frame_base
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>new-bugs
          </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>new bugs
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>hjl.tools@gmail.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=13683" name="attach_13683" title="An object file">attachment 13683</a> <a href="attachment.cgi?id=13683&action=edit" title="An object file">[details]</a></span>
An object file

llvm-dwarfdump doesn't dump DW_FORM_exprloc/DW_AT_frame_base:

[hjl@gnu-6 bin]$ readelf -w debug.o | grep DW_AT_frame_base  
    <37>   DW_AT_frame_base  : 1 byte block: 56     (DW_OP_reg6 (rbp))
    <5f>   DW_AT_frame_base  : 1 byte block: 56     (DW_OP_reg6 (rbp))
    DW_AT_frame_base   DW_FORM_exprloc
    DW_AT_frame_base   DW_FORM_exprloc
[hjl@gnu-6 bin]$ ./llvm-dwarfdump debug.o | grep DW_AT_frame_base
    DW_AT_frame_base    DW_FORM_exprloc
    DW_AT_frame_base    DW_FORM_exprloc
                DW_AT_frame_base [DW_FORM_exprloc]    (<0x1> 56 )
                DW_AT_frame_base [DW_FORM_exprloc]    (<0x1> 56 )
[hjl@gnu-6 bin]$ 

readelf can dump DW_AT_frame_base.  llvm-dwarfdump only shows DW_FORM_exprloc.</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>