This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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]

Re: [PATCH][C++] Fix PR29433, make C++ use a lot less time/memory


Hi,

On Mon, 11 Dec 2006, Daniel Jacobowitz wrote:

> No way, please don't do this.  DW_AT_name is supposed to be the type 
> name from the source language.
> 
> 14 Identifier Names
> 
> 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.

Meanwhile it seems people downthread came to a preferred solution (listing 
template args explicitely).  I'm not sure how sensible that is given 
testcases like in PR29433 (the debug info will still be HUGE and basically 
useless) but we probably don't gain that capability immediately.  So, do 
people really think that until then we should continue to output multi-MB 
strings which no sane person is interested to look at in a debugger anyway 
just for sake of a weakly defined specification until we gain that 
possibility?


Ciao,
Michael.


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