| commit | 79a1c8906686d11a9fe7463cd0b5ebb26c39d101 | [log] [tgz] |
|---|---|---|
| author | David Majnemer <david.majnemer@gmail.com> | Wed Feb 12 00:43:02 2014 +0000 |
| committer | David Majnemer <david.majnemer@gmail.com> | Wed Feb 12 00:43:02 2014 +0000 |
| tree | 3446a27b94afaef7aeca3229c08b3ba092f3ba7f | |
| parent | 5b85858b77ee745253097642666b195e13e5e9ce [diff] |
MS ABI: vptr injection should obey alignment requirements vptr injection must inject padding equivalent to the alignment of the most aligned non-virtual subobject, not the alignment of the enclosing record. To fascilitate this change, don't let record layout observe the alignment of the record until we've injected our vptrs. Also, do not allow the alignment of vbases to affect required alignment until just before we insert the vtordisp field. llvm-svn: 201199