<html>
    <head>
      <base href="https://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-objdump --dwarf=frames printing wrong values"
   href="https://llvm.org/bugs/show_bug.cgi?id=27249">27249</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>llvm-objdump --dwarf=frames printing wrong values
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>new-bugs
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </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>rafael.espindola@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=16176" name="attach_16176" title="test">attachment 16176</a> <a href="attachment.cgi?id=16176&action=edit" title="test">[details]</a></span>
test

In the attached file llvm-objdump print

00000018 00000014 0000001c FDE cie=0000001c pc=00000e18...00000e19
...
00000030 00000014 00000034 FDE cie=00000034 pc=00000e02...00000e04
...
00000048 00000014 0000004c FDE cie=0000004c pc=00000de9...00000dea

while the gnu one prints

00000018 0000000000000014 0000001c FDE cie=00000000
pc=0000000000001000..0000000000001001
00000030 0000000000000014 00000034 FDE cie=00000000
pc=0000000000001002..0000000000001004
00000048 0000000000000014 0000004c FDE cie=00000000
pc=0000000000001001..0000000000001002

The addresses in the second output are correct:


  [ 6] foo               PROGBITS        0000000000001000 001000 000002 00  AX 
0   0  1
  [ 7] bar               PROGBITS        0000000000001002 001002 000002 00  AX 
0   0  1</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>