[Dwarf-Discuss] [PING] [RFC] content of DW_AT_name for template instantiations

Jason Merrill jason at redhat.com
Tue Jun 7 07:31:45 PDT 2011


I don't think these are exceptions; 2.15 says,

Any debugging information entry representing a program entity that has 
been given a name may have a DW_AT_name attribute, whose value is a 
string representing the name as it appears in the source program.

The name of a class template specialization is the name of the template; 
the template-id is a way of specifying a particular specialization, but 
it isn't a name.

I do think it makes sense to change the sections you mention, but I'd 
add the text as a clarifying note in italics rather than call it an 
exception.

Jason



More information about the Dwarf-Discuss mailing list