Special characters in mangled names
Michael Tiemann
tiemann at cygnus.com
Thu Nov 11 14:18:15 UTC 1999
The reason that compilers have extensions to support these characters is
to defeat the mechanism of completely separating the C and assembly
namespaces. I'd take a cue from that and just keep it simple: use __
(double underscore). After all, the GNU compilers support the associate
of arbitrary text (includign register names) with symbols, so don't
knock yourself out trying to create symbols that you think the compiler
cannot touch.
M
Mark Mitchell wrote:
>
> >>>>> "Daveed" == Daveed Vandevoorde <daveed at edg.com> writes:
>
> Daveed> The period (".") was mentioned. Does that work for all
> Daveed> the IA-64 assemblers (and similar tools) out there?
>
> The `$' is supported by many assemblers. The problem is that
> characters supported by assemblers for this purpose are often
> supported as extensions to the corresponding C compilers; there are
> certainly compilers that allow `$' in C function names.
>
> --
> Mark Mitchell mark at codesourcery.com
> CodeSourcery, LLC http://www.codesourcery.com
More information about the cxx-abi-dev
mailing list