<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </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 --eh-frame: Wrong PC offset"
   href="https://bugs.llvm.org/show_bug.cgi?id=46414">46414</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>llvm-dwarfdump --eh-frame: Wrong PC offset
          </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>jan.kratochvil@redhat.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>echo 'int main(void) { return 0; }'|clang -x c -;(readelf -wf
a.out;llvm-dwarfdump --eh-frame)|less

readelf:
00000018 0000000000000010 0000001c FDE cie=00000000
pc=0000000000401020..000000000040104f
                                                      
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  DW_CFA_advance_loc: 4 to 0000000000401024
  DW_CFA_undefined: r16 (rip)

llvm-dwarfdump:
00000018 00000010 0000001c FDE cie=00000000
pc=ffffffffffffefb8...ffffffffffffefe7
                                              
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  Format:       DWARF32
  DW_CFA_advance_loc: 4
  DW_CFA_undefined: reg16</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>