This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB 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: Slow handling of C++ symbol names


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


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