[LLVMbugs] [Bug 11700] New: clang++ puts DW_AT_containing type in the wrong place in DWARF output
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Jan 3 15:44:53 PST 2012
http://llvm.org/bugs/show_bug.cgi?id=11700
Bug #: 11700
Summary: clang++ puts DW_AT_containing type in the wrong place
in DWARF output
Product: new-bugs
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: davea42 at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 7837
--> http://llvm.org/bugs/attachment.cgi?id=7837
Same example source as 11695, demonstrating different DWARF bug
The output of
clang++ -g -O0 const.cpp
(source attached)
followed by dwarfdump -i a.out
shows in part:
< 2><0x000000e9> DW_TAG_class_type
DW_AT_sibling <0x000007b7>
DW_AT_containing_type <0x000000e9>
DW_AT_name "ios_base"
but the DWARF4 spec says DW_AT_containing type should
only appear on DW_TAG_ptr_to_member_type.
Using clang HEAD on Ubuntu 11.10 x86.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list