[PATCH] [ms-cxxabi] Implement MSVC virtual base adjustment

Reid Kleckner rnk at google.com
Wed May 15 06:26:24 PDT 2013


I should qualify the iostream statement.  You still have to disable RTTI
and exceptions with:
clang -fno-exceptions -D_HAS_EXCEPTIONS=0 -fno-rtti ...


On Wed, May 15, 2013 at 9:24 AM, Reid Kleckner <rnk at google.com> wrote:

> Hi rjmccall,
>
> 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.
>
> http://llvm-reviews.chandlerc.com/D795
>
> Files:
>   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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130515/e95655c1/attachment.html>


More information about the cfe-commits mailing list