[cfe-dev] double/virtual offsets for MSVC broken in 3.1

r4start r4start at gmail.com
Fri Sep 21 07:42:09 PDT 2012


On 21/09/12 17:33, João Matos wrote:
> What is the status on this?
>
> I just checked with trunk, and can verify the behavior Don is seeing.
>
> *** Dumping AST Record Layout
>    0 | struct DoubleInPolymorphicStruct
>    0 |   (DoubleInPolymorphicStruct vtable pointer)
>    0 |   (DoubleInPolymorphicStruct vftable pointer)
>    4 |   int a
>    8 |   double b
>   sizeof=16, dsize=16, align=8
>   nvsize=16, nvalign=8
>
> What test case did you use Dmitry?
>
Hi.
Test case similar with Don example.
I used -Xclang -cxx-abi -Xclang microsoft 1.cpp -Xclang 
-fdump-record-layouts,
but the right way is -Xclang -cxx-abi -Xclang microsoft  -Xclang 
_*-triple=i686-pc-win32*_ 1.cpp -Xclang -fdump-record-layouts.
So the issue is still alive.
Anybody work on it?

-Dmitry Sokolov.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20120921/639fad4c/attachment.html>


More information about the cfe-dev mailing list