[LLVMbugs] [Bug 22221] New: llvm-dwarfdump doesn't dump DW_AT_frame_base

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Jan 13 17:00:06 PST 2015


            Bug ID: 22221
           Summary: llvm-dwarfdump doesn't dump DW_AT_frame_base
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: hjl.tools at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 13683
  --> http://llvm.org/bugs/attachment.cgi?id=13683&action=edit
An object file

llvm-dwarfdump doesn't dump DW_FORM_exprloc/DW_AT_frame_base:

[hjl at gnu-6 bin]$ readelf -w debug.o | grep DW_AT_frame_base  
    <37>   DW_AT_frame_base  : 1 byte block: 56     (DW_OP_reg6 (rbp))
    <5f>   DW_AT_frame_base  : 1 byte block: 56     (DW_OP_reg6 (rbp))
    DW_AT_frame_base   DW_FORM_exprloc
    DW_AT_frame_base   DW_FORM_exprloc
[hjl at gnu-6 bin]$ ./llvm-dwarfdump debug.o | grep DW_AT_frame_base
    DW_AT_frame_base    DW_FORM_exprloc
    DW_AT_frame_base    DW_FORM_exprloc
                DW_AT_frame_base [DW_FORM_exprloc]    (<0x1> 56 )
                DW_AT_frame_base [DW_FORM_exprloc]    (<0x1> 56 )
[hjl at gnu-6 bin]$ 

readelf can dump DW_AT_frame_base.  llvm-dwarfdump only shows DW_FORM_exprloc.

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/20150114/0a181b3d/attachment.html>

More information about the llvm-bugs mailing list