This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Slow handling of C++ symbol names
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: Michael Elizabeth Chastain <mec dot gnu at mindspring dot com>
- Cc: ian at wasabisystems dot com, gdb at sources dot redhat dot com
- Date: Wed, 3 Dec 2003 15:15:58 -0500
- Subject: Re: Slow handling of C++ symbol names
- References: <20031203195645.D38BA4B35C@berman.michael-chastain.com>
On Wed, Dec 03, 2003 at 02:56:45PM -0500, Michael Chastain wrote:
> ilt> Everything makes sense to me and I get the results I expect.
>
> That's good enough for me. I don't care much about the verbosity.
> My problem is: I've got 20,000 mangled names, and they demangle
> to 250 megabytes of text, and I want to find real bugs like the
> "operator< <" versus "operator <<" bug.
>
> It's a big needle-in-haystack problem. I'm messing around with
> a Perl script that helps sort out the haystack. After "monotone",
> I'd like to run it on mangled names from cygwin and mozilla and
> open-office too.
If what you're trying to do is canonicalize the names, consider the 20K
or so parser I posted to the "C++ / Java regressions" thread on Monday.
It has a couple of bugs left but it's pretty solid.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer