[ Date Prev][ Date Next][ Thread Prev][ Thread Next][ Date Index][ Thread Index]
Re: [cxx-abi-dev] Name mangling question
- To: loewis@xxxxxxxxxxxxxxxxxxxxxxx
- Subject: Re: [cxx-abi-dev] Name mangling question
- From: nasgaard@xxxxxxxxxx
- Date: Wed, 27 Nov 2002 09:42:37 -0500
I agree that the mangling you gave is correct for your example, but that is
not the example I gave and it is not the mangling g++ gives for my example.
In my example _Impl is nested inside locale. The mangling g++ gives is
_ZN6locale5_Impl3fooERS0_.
Demangled this is locale::_Impl::foo(locale::_Impl&)
Howard W. Nasgaard
C++ Compiler Development
e-mail: nasgaard@xxxxxxxxxx
C2/KD2/8200/MKM
905-413-3683
Tie: 969-3683
loewis@xxxxxxxxxxxx
u-berlin.de (Martin To: Howard Nasgaard/Toronto/IBM@IBMCA
v. Löwis) cc: cxx-abi-dev@xxxxxxxxxxxxxxxx
Subject: Re: [cxx-abi-dev] Name mangling question
11/27/2002 09:12 AM
nasgaard@xxxxxxxxxx writes:
> The mangled name you specified would be correct if there was a struct
_Impl
> at namespace scope. For the function in question we need to mangle the
> type of the parameter which, in my example, is locale::_Impl, a nested
> class.
So you agree that the mangling that g++ generates is correct? If not,
what other mangling would you expect?
Regards,
Martin
|