[llvm-bugs] [Bug 46414] New: llvm-dwarfdump --eh-frame: Wrong PC offset

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Jun 21 13:57:33 PDT 2020


https://bugs.llvm.org/show_bug.cgi?id=46414

            Bug ID: 46414
           Summary: llvm-dwarfdump --eh-frame: Wrong PC offset
           Product: tools
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: llvm-dwarfdump
          Assignee: unassignedbugs at nondot.org
          Reporter: jan.kratochvil at redhat.com
                CC: llvm-bugs at lists.llvm.org

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

-- 
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/20200621/6f151fe6/attachment.html>


More information about the llvm-bugs mailing list