This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug c++/19320] RTTI symbols not found for non-type templates
- From: "weimin.pan at oracle dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Mon, 21 May 2018 21:17:59 +0000
- Subject: [Bug c++/19320] RTTI symbols not found for non-type templates
- Auto-submitted: auto-generated
- References: <bug-19320-4717@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=19320
weimin.pan at oracle dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |weimin.pan at oracle dot com
--- Comment #1 from weimin.pan at oracle dot com ---
The warning was issued when no type could be found in
gnuv3_rtti_type(), using the class name in the vtable
entry:
The vtable's demangled name:
_ZTV5ChildILc5EE == vtable for Child<(char)5>
with class name == Child<(char)5>
But the dwarf info generated for the struct:
<1><29>: Abbrev Number: 2 (DW_TAG_structure_type)
<2a> DW_AT_name : (indirect string, offset: 0x7f): Child<'\005'>
<2e> DW_AT_byte_size : 8
<2f> DW_AT_decl_file : 1
<30> DW_AT_decl_line : 6
<31> DW_AT_containing_type: <0xb5>
<35> DW_AT_sibling : <0xb5>
in which the name looks incorrect.
--
You are receiving this mail because:
You are on the CC list for the bug.