[llvm-bugs] [Bug 27249] New: llvm-objdump --dwarf=frames printing wrong values

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Apr 6 12:54:44 PDT 2016


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

            Bug ID: 27249
           Summary: llvm-objdump --dwarf=frames printing wrong values
           Product: new-bugs
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: rafael.espindola at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 16176
  --> https://llvm.org/bugs/attachment.cgi?id=16176&action=edit
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

-- 
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/20160406/7b828904/attachment.html>


More information about the llvm-bugs mailing list