Actions

icon Post
text/html Subscribe
text/html Unsubscribe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cxx-abi-dev] __cxa_demangle of type manglings


  • To: Dennis Handly <dhandly@xxxxxxxxxx>
  • Subject: Re: [cxx-abi-dev] __cxa_demangle of type manglings
  • From: Jason Merrill <jason@xxxxxxxxxx>
  • Date: Wed, 12 Jan 2005 00:47:08 -0500

On Tue, 11 Jan 2005 20:34:08 -0800 (PST), Dennis Handly <dhandly@xxxxxxxxxx> wrote:

>>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.
>
> 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.

Ah, you're saying that any user can prefilter names by checking for _Z and
not passing in other names.  Yes, that works, though I'd prefer not to
require users to have that kind of detailed knowledge of the mangling
scheme.

Jason