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: unassignedb...@nondot.org
          Reporter: rafael.espind...@gmail.com
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to