[cfe-dev] [GSoC] "Microsoft Visual C++ ABI support in Clang" proposal

Charles Davis cdavis at mymail.mines.edu
Mon Mar 28 20:02:38 PDT 2011


On 3/28/11 8:44 PM, Óscar Fuentes wrote:
> Charles Davis <cdavis at mymail.mines.edu> writes:
> 
>> Title: Microsoft Visual C++ ABI support in Clang
>>
>> Abstract:
>>
>> Both GCC and Clang default to using the Itanium C++ ABI. However, the de
>> facto standard C++ ABI on Windows is the one provided by Microsoft in
>> their Visual C++ product.
> 
> Long time ago I used a lot of Windows C++ compilers and the only one
> that was compatible with VC++ was Intel. Are there any others that
> switched to the MS C++ ABI? Just curious.
The Windows version of Metrowerks CodeWarrior, when it still supported
x86 code-gen. (It was my very first compiler...)
> 
> [snip]
> 
>> In this project, I will implement enough of the Visual C++ ABI to get
>> simple programs working, such as the C++ "Hello, world" program. If time
>> permits, which I admit it likely will, I will implement additional
>> features. Features covered by the scope of this project include
>> everything outside of exception handling, including name mangling
>> (already partially implemented), class layout, vtable layout, calls to
>> virtual functions, and accesses of members in virtual bases. Proper EH
>> support requires SEH support and is thus beyond the scope of this project.
> 
> LLVM needs some non-trivial enhancements. See PR5058 and PR5064. Also
> note the claims about MS C++ ABI being undocumented on the commentaries
> to the last PR.
> 
> Did you investigate the legal status of the pieces of VC++ ABI?
> 
> [snip]
> 
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev






More information about the cfe-dev mailing list