[LLVMbugs] [Bug 11695] New: clang++ DWARF DW_TAG_friend generated wrong
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Jan 3 09:08:41 PST 2012
http://llvm.org/bugs/show_bug.cgi?id=11695
Bug #: 11695
Summary: clang++ DWARF DW_TAG_friend generated wrong
Product: new-bugs
Version: 2.9
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 7832
--> http://llvm.org/bugs/attachment.cgi?id=7832
source code used to generate bad DWARF
DW_TAG_friend is first documented in DWARF4 and should have
a DW_AT_friend attribute, not the attributes listed here
(attributes as shown by dwarfdump -i -M).
< 4><0x00000dd4> DW_TAG_friend
DW_AT_type <0x00000272> <form DW_FORM_ref4>
DW_AT_data_member_location DW_OP_plus_uconst 0 <form DW_FORM_block1>
DW_AT_accessibility DW_AT_accessibility has a bad form.
This is 2.9. The compile command was clang++ -O0 -g const.cpp
on Ubuntu 11.10 x86_64. And on Ubuntu 11.10 x86.
David Anderson, maintainer of dwarfdump/libdwarf.
--
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