[cfe-dev] Clang/LLVM Member Function Pointers size and behavior?

João Matos ripzonetriton at gmail.com
Tue Oct 16 13:06:28 PDT 2012


AFAIK MS name mangling in x64 is pretty broken atm. See
http://llvm.org/bugs/show_bug.cgi?id=13792

Why do you need member pointer compatiblity with MSVC even when using
Itanium ABI?

On Tue, Oct 16, 2012 at 8:30 PM, Devid <DevOmem at web.de> wrote:

>
> Ok this is clear that changing ItaniumCXXABI is not the solution.
> Another idea would be to derive MicrosoftCXXABI (another one ?) from
> ItaniumCXXABI and then overload EmitLoadOfMemberFunctionPointer() ...
>
> The point is Itanium ABI is working well (in my cases) on Windows x64 so
> apparently Itanium ABI is much more similar to MS ABI in x64 as does in
> x32.
>
> Using -Xclang -cxx-abi -Xclang microsoft  (CXXABI_Microsoft) just break
> anything.
>
> > Well, but this obviously doesn't give you any MSVC compatibility.
> No Name Mangling is not the same as code generation.
> If you can compile everything using the same Mangling then this is not the
> problem any more even on Windows.
>
>
>
>
>
> --
> View this message in context:
> http://clang-developers.42468.n3.nabble.com/Clang-LLVM-Member-Function-Pointers-size-and-behavior-tp4027414p4027452.html
> Sent from the Clang Developers mailing list archive at Nabble.com.
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>



-- 
João Matos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20121016/cc0b9f1a/attachment.html>


More information about the cfe-dev mailing list