[Patch] Mangle C __stdcall and __fastcall in clang

Reid Kleckner rnk at google.com
Wed Oct 9 10:24:06 PDT 2013


Doesn't mingw need these manglings to match the Windows C ABI?
 MicrosoftMangle isn't used for mingw, and is really all about the C++ ABI,
which is where the real fun begins.


On Wed, Oct 9, 2013 at 10:17 AM, Rafael EspĂ­ndola <
rafael.espindola at gmail.com> wrote:

> I am trying to get llvm-ar to include IL symbols in the index. A
> particular annoyance is that to do that it needs a mangler and for
> that it needs a target machine.
>
> The mangler only uses the target machine to handle __stdcall and
> __fastcall. One way to solve this is simply to mangle them in clang.
>
> That is what this patch does.
>
> Cheers,
> Rafael
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131009/e2624679/attachment.html>


More information about the cfe-commits mailing list