[cfe-dev] Working on Microsoft C++ ABI

Timur Iskhodzhanov timurrrr at google.com
Tue Apr 17 10:55:41 PDT 2012


Hi John, cfe-dev,

I want to work on Microsoft C++ ABI.
Do you have any tips or suggestions?

My ultimate goal is to make Clang capable of compiling Chromium for
Windows and use it together AddressSanitizer for testing Chromium.
Cross-compiling on Linux for Windows would be a plus too.

I know Chromium is too large to start with, so the initial target
should probably be ThreadSanitizer unittests:
http://code.google.com/p/data-race-test/wiki/RacecheckUnittest
and maybe AddressSanitizer unittest [too POSIX-oriented now]:
http://code.google.com/p/address-sanitizer/wiki/HowToBuild

ThreadSanitizer tests are buildable on both Windows and Linux now;
they use very limited set of C++ features.

Also, I'm not yet interested in complex multiple inheritance or RTTI
as Chromium coding style forbids them.

My short-term targets are:
http://llvm.org/bugs/show_bug.cgi?id=12332 [patch sent for review]
http://llvm.org/bugs/show_bug.cgi?id=12574 [will send the draft for
review soon, need some help with tests there]
http://llvm.org/bugs/show_bug.cgi?id=12333 [waiting for 12574 first]

Does the above sound OK for you?

Thanks in advance,
Timur Iskhodzhanov,
Google Russia



More information about the cfe-dev mailing list