[cfe-dev] Calling a function from Visual Studio dll - name mangling issues

Óscar Fuentes ofv at wanadoo.es
Sun Mar 20 17:03:52 PDT 2011


Charles Davis <cdavis at mymail.mines.edu> writes:

> On 3/20/11 5:23 PM, Óscar Fuentes wrote:
>> Clang has no support for VC++ name mangling,
> Wrong. I wrote the code myself. You can turn it on by passing "-Xclang
> -cxx-abi -Xclang microsoft" on the driver command line. It's not
> finished yet, though, so some stuff might not work.

I stand corrected. I'd never imagine someone working on adding VC++ name
mangling without aiming at full C++ ABI compatibility. If that's the
final goal, it is a nice feature, because all those libraries
distributed in binary form for VC++.

[snip]




More information about the cfe-dev mailing list