[cfe-dev] Clang Microsoft CXX ABI support?

Eli Friedman eli.friedman at gmail.com
Fri Mar 23 13:51:02 PDT 2012


On Fri, Mar 23, 2012 at 4:31 AM, Timur Iskhodzhanov <timurrrr at google.com> wrote:
> Hello gentlemen,
>
> I'm working on AddressSanitizer (a.k.a. ASan,
> http://code.google.com/p/address-sanitizer/ ) and trying to port it to
> Windows.
>
> So far we've made good progress using Clang as a C frontend
> ( see http://code.google.com/p/address-sanitizer/wiki/WindowsPort )
> but struggle to make basic C++ programs work with the Microsoft CXX ABI.
>
> I've found a few bugs already which show that Clang++ can't
> compile/mangle some really basic stuff with this ABI.
>
> Here's an ASan meta-bug to track the list of Clang++ bugs:
> http://code.google.com/p/address-sanitizer/issues/detail?id=56
>
> Can you please suggest what to do with these bugs?

None of the core clang developers is doing any work on the Microsoft
ABI; filing bugs isn't going to change that.

You might want to try using MinGW.

-Eli



More information about the cfe-dev mailing list