[cfe-dev] GSoC Proposal: Improve Windows Support

endlessroad1991 at gmail.com endlessroad1991 at gmail.com
Thu Apr 25 04:45:14 PDT 2013


Sorry, my bad. The name mangling suddenly works now. Didn't figure out what
went wrong.

About making Microsoft ABI default, since Microsoft ABI support has not
matured yet, maybe we can hold back for a while...

These headers aside, what's the major problem?


On Thu, Apr 25, 2013 at 6:41 PM, João Matos <ripzonetriton at gmail.com> wrote:

> On Thu, Apr 25, 2013 at 6:43 AM, endlessroad1991 at gmail.com <
> endlessroad1991 at gmail.com> wrote:
>
>> What's the current status of clang on Windows?
>>
>> I tried llvm & clang r180250 with MSVC 2012, with "clang++ -Xclang
>> -cxx-abi -Xclang microsoft -c 1.cpp"
>>  1. Can't parse MSVC headers. <iostream>, in this case
>>
>
> You need to patch the preprocessor to get most of MSVC 2012 headers
> working.
>
>
>> 2. Even if I specified -cxxabi microsoft, "dumpbin /disasm 1.o" gives
>> wrong mangled name: _Z1fi for "void f(int)",instead of cl compiled
>> object(?f@@YAXH at Z)
>>
>
> That should work. Anyway that reminds me it's about time we make Microsoft
> ABI the default when targeting the MSVC headers. What do you think? I had
> done a patch that did this a few months, I can send it for review.
>
> --
> João Matos




-- 
Best Regards, Tong Shen (沈彤)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130425/2a777bf8/attachment.html>


More information about the cfe-dev mailing list