[cxx-abi-dev] __cxa_demangle of type manglings

Dennis Handly dhandly at cup.hp.com
Wed Jan 12 04:34:08 UTC 2005


>From: Jason Merrill <jason at redhat.com>
>So your __cxa_demangle always interprets an argument as a type mangling if
>possible?  That's the behavior I'm advocating.

Exactly.

>> There is no need to have another entry.  If it doesn't start with "_Z"
>> it is a type or a non-mangled object or function name.

>Yes, but which?  Type or non-mangled name?  That's the ambiguity, and I
>think the user should be able to control how it is resolved.
Jason

It should alway do the type.  If you don't want the type, don't call
__cxa_demangle because it won't do anything anyway, if it followed
the current ABI exactly.



More information about the cxx-abi-dev mailing list