]> granicus.if.org Git - clang/commit
[ms-cxxabi] Implement MSVC virtual base adjustment
authorReid Kleckner <reid@kleckner.net>
Wed, 29 May 2013 18:02:47 +0000 (18:02 +0000)
committerReid Kleckner <reid@kleckner.net>
Wed, 29 May 2013 18:02:47 +0000 (18:02 +0000)
commitb0f533e716ae5a21ca5682ea235a68082fd5ed28
tree6e981fc0eeb609a4c4b6f73cb089774f33e09f2b
parentc72ff4f71833c46702fbfc64a3b7743c4f2002a9
[ms-cxxabi] Implement MSVC virtual base adjustment

While we can't yet emit vbtables, this allows us to find virtual bases
of objects constructed in other TUs.

This make iostream hello world work, since basic_ostream virtually
inherits from basic_ios.

Differential Revision: http://llvm-reviews.chandlerc.com/D795

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@182870 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGCXXABI.h
lib/CodeGen/CGClass.cpp
lib/CodeGen/CodeGenFunction.h
lib/CodeGen/ItaniumCXXABI.cpp
lib/CodeGen/MicrosoftCXXABI.cpp
test/CodeGenCXX/virtual-base-cast.cpp