[cfe-dev] Get mangled names C++

Frank Fuchs fk.fuchs at googlemail.com
Fri Jul 16 05:34:23 PDT 2010

> There are several problems with what you are trying to do,
> Firstly it will only work with gcc or something that uses exactly the
> same ABI as clang so for now no MSVC

Ok but that is not a real concern ... I'm avoiding MSVC anyway.

> secondly the JIT is supposed to be able to use dlsym to resolve
> functions at runtime but this only works on non windows,
> Putting manglings into your code manually is horrible and will only
> break stuff down the road.

Ugh this would indead be a showstopper. Does name mangling work differently
on windows?
To state it agian I dodn't want to mangle my methods manually!
I just tested it for one routine to see whether or not it works.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20100716/b0600848/attachment.html>

More information about the cfe-dev mailing list