[PATCH] Microsoft Layout - Empty non-virtual base after base with vbptr
Warren Hunt
whunt at google.com
Tue Nov 5 16:42:53 PST 2013
Hi majnemer, rsmith,
Microsoft adds an extra byte of padding before laying out zero sized non-virtual bases if the non-virtual base before it contains a vbptr.
Addresses:
http://llvm.org/bugs/show_bug.cgi?id=17750
http://llvm-reviews.chandlerc.com/D2106
Files:
lib/AST/RecordLayoutBuilder.cpp
test/Layout/ms-x86-shared-vb-lazy-empty-nonvirtual-base.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2106.1.patch
Type: text/x-patch
Size: 10224 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131105/ef406b54/attachment.bin>
More information about the cfe-commits
mailing list