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:

> On Mon, Dec 11, 2006 at 04:50:41PM +0100, Richard Guenther wrote:
> > With using mangled names (which would lead to so much smaller debug info)
> > we'd have to fix gdb of course.  But maybe stage1 of gcc 4.3 is a good
> > amount ahead of time to let gdb folks sort this out themselves...
> 
> Maybe if someone could write up a coherent explanation of what you want
> to change...

The change in debug info would be that DW_AT_name would not necessarily 
contain a nice user printable name anymore (which right now is generated 
by gcc via the diagnostic machinery) but would sometimes contain a mangled 
name (i.e. recognizable by being prefixed with "_Z").  If gdb could handle 
that (i.e. before showing any name try to demangle it and see if that 
worked) all would be well.  DW_AT_linkage_name would not be touched by 
that.

There will be differences between the current user friendly name and the 
demangled version (for instance some scopes are left out in the current 
variant), but IMHO that's more consistent.


Ciao,
Michael.


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