3 ms·
Clang has, for some time now, supported the MSVC ABI. Here is their implementation of name mangling: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/Micr
by cokernel_hacker 11y ago
Clang has, for some time now, supported the MSVC ABI.
Here is their implementation of name mangling: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/MicrosoftMangle.cpp?revision=235831&view=markup http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/Micros...
Here is their implementation of record layout: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/RecordLayoutBuilder.cpp?revision=235680&view=markup#l2075 http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/Record...
Here is their implementation of vtable generation: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/VTableBuilder.cpp?revision=236355&view=markup#l2384 http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/VTable...
Here is their implementation of RTTI: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/MicrosoftCXXABI.cpp?revision=236161&view=markup#l2919 http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/Mi...
Here is their implementation of C++ throw metadata: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/MicrosoftCXXABI.cpp?revision=236161&view=markup#l3644 http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/Mi...
- revelation 11y agoThat's nice, I wasn't aware that they were working on this specifically.
- DannyBee 11y agoThis was not done by microsoft at all :)
- bla2 11y agoBut none of that was written by Microsoft employees, so I'm a bit confused about what exactly this blog post is announcing. It feels a bit like they're taking credit for the work done by the clang community.
- spongo2 11y agoWe are announcing that we will ship a hybrid compiler that combines the clang frontend with the c2 existing backend. We will fully support that for building portable code within Visual Studio for Windows. We definitely don't want to take credit for the clang community's work. We have a ton of respect for those developers. We intend to make contributions back to the community and we've started to reach out to some of the relevant parties. Thanks, Steve, VC Dev Mgr
- cokernel_hacker 11y agoTo be clearer, "Here is their implementation of ..." should read as "Here is clang's implementation of ...". AFAIK, Microsoft hasn't contributed to any of these ends. I, for one, hope that they do.