[cfe-dev] Name mangling scheme

Sanghyeon Seo sanxiyn at gmail.com
Sun Apr 6 07:38:46 PDT 2008


2008/4/6, Cédric Venet <cedric.venet at laposte.net>:
> Hi,
>
>  As we start adding C++ support to clang, we will need to mangle name in
>  codegen. Which scheme should be used?
>
>  The same as gcc 3.x? I didn't found any real documentation on it.

Well, Itanium C++ ABI is *the* documentation on "gnu-v3" C++ name
mangling scheme. I'm not sure why you think it's not a "real"
documentation.

>  Perhaps the scheme should be configurable and selectable, but I am not sure
>  this is a good idea.

I think Microsoft C++-compatible name mangling could be useful.

-- 
Seo Sanghyeon




More information about the cfe-dev mailing list