This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/19320] RTTI symbols not found for non-type templates


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]