[ms-abi] Adjusting Rules for Padding Between Bases

Press ? to show keyboard shortcuts.
Committed
whuntJan 10 2014, 3:32 PM
Parents
rL198974: [PECOFF] Add a unit test for r198925.
Branches
Unknown
Tags
Unknown
Subscribers
None
Description

[ms-abi] Adjusting Rules for Padding Between Bases

The presence of a VBPtr suppresses the presence of zero sized
sub-objects in the non-virtual portion of the object in the context of
determining if two base objects need alias-avoidance padding placed
between them.

Test cases included.

rL198975

cfe/trunk/lib/AST/RecordLayoutBuilder.cpp

Loading...

cfe/trunk/test/Layout/ms-x86-alias-avoidance-padding.cpp

Loading...

Add Comment