[PATCH] Demangler woes with current CVS and type names
Mark Mitchell
mark@codesourcery.com
Wed Jan 30 14:06:00 GMT 2002
--On Wednesday, January 30, 2002 04:50:23 PM -0500 Daniel Berlin
<dan@dberlin.org> wrote:
> On Wed, 30 Jan 2002, Mark Mitchell wrote:
>
>>
>> > The ABI says it should return a mangled name for the type.
>> > Without the _Z, it's not a mangled name.
>>
>> Sorry, this is false.
> Then the ABI doc isn't clear at all.
> Read the grammar:
Oh, I've read it all right.
The spec is hardly the best-written document imaginable. But
if work through the grammar you'll see that _Z <type> is not a legal
production. The section on the NTBS associated with <typeinfo> isn't
very clear.
I see, however, that at some point the demangler inteface got updated
to just what Phil suggested. So, Phil, your original patch is fine;
go ahead and check it in on the mainline.
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com
More information about the Gcc-patches
mailing list