FYI: A new C++ demangler

Michael Elizabeth Chastain mec@shout.net
Thu Jul 10 21:57:00 GMT 2003


Andrew C writes:
> HJ, as a start why not separate out and submit these new tests you 
> refered to?  Knowing what's broken is a good starting point.

That part is already committed.  The libiberty test suite has 64 new
tests.  The current demangler fails 31 of the new tests.  I saw this in
my test bed and wrote it up.  Check out the "Libiberty Testing" section
near the top of:

  http://sources.redhat.com/ml/gdb-testers/2003-q3/msg00003.html

To me, the issue of what languages are acceptable for implementing the
demangler is separate from the issue of how the new demangler behaves
versus the old demangler.  I can say something about the second issue.
I see that the new demangler does perfectly on all the new tests in
libiberty, and I'm running gdb tests now.  I'll have more info to report
in a couple of hours.

Michael C



More information about the Binutils mailing list