This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][C++] Fix PR29433, make C++ use a lot less time/memory
- From: Michael Matz <matz at suse dot de>
- To: Daniel Jacobowitz <drow at false dot org>
- Cc: Richard Guenther <rguenther at suse dot de>, Jason Merrill <jason at redhat dot com>, Gabriel Dos Reis <gdr at cs dot tamu dot edu>, Nathan Sidwell <nathan at codesourcery dot com>, Mark Mitchell <mark at codesourcery dot com>, Richard Guenther <richard dot guenther at gmail dot com>, gcc-patches at gcc dot gnu dot org, mrs at apple dot com, Paolo Carlini <pcarlini at suse dot de>
- Date: Mon, 11 Dec 2006 17:03:18 +0100 (CET)
- Subject: Re: [PATCH][C++] Fix PR29433, make C++ use a lot less time/memory
- References: <457BA21B.3070203@codesourcery.com> <Pine.GSO.4.58.0612092359390.26522@sun> <457C874D.6060806@redhat.com> <457D35D0.5080101@codesourcery.com> <457D726E.7060905@redhat.com> <Pine.LNX.4.64.0612111628100.3105@zhemvz.fhfr.qr> <Pine.GSO.4.58.0612110926270.19022@sun> <Pine.LNX.4.64.0612111635030.3105@zhemvz.fhfr.qr> <457D7AB1.10706@redhat.com> <Pine.LNX.4.64.0612111647520.3105@zhemvz.fhfr.qr> <20061211155733.GA2660@nevyn.them.org>
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.
- References:
- Re: [PATCH][C++] Fix PR29433, make C++ use a lot less time/memory
- Re: [PATCH][C++] Fix PR29433, make C++ use a lot less time/memory
- Re: [PATCH][C++] Fix PR29433, make C++ use a lot less time/memory
- Re: [PATCH][C++] Fix PR29433, make C++ use a lot less time/memory
- Re: [PATCH][C++] Fix PR29433, make C++ use a lot less time/memory
- Re: [PATCH][C++] Fix PR29433, make C++ use a lot less time/memory
- Re: [PATCH][C++] Fix PR29433, make C++ use a lot less time/memory
- Re: [PATCH][C++] Fix PR29433, make C++ use a lot less time/memory
- Re: [PATCH][C++] Fix PR29433, make C++ use a lot less time/memory
- Re: [PATCH][C++] Fix PR29433, make C++ use a lot less time/memory
- Re: [PATCH][C++] Fix PR29433, make C++ use a lot less time/memory