diff options
author | David Majnemer <david.majnemer@gmail.com> | 2014-02-12 00:43:02 +0000 |
---|---|---|
committer | David Majnemer <david.majnemer@gmail.com> | 2014-02-12 00:43:02 +0000 |
commit | 79a1c8906686d11a9fe7463cd0b5ebb26c39d101 (patch) | |
tree | 3446a27b94afaef7aeca3229c08b3ba092f3ba7f /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 5b85858b77ee745253097642666b195e13e5e9ce (diff) | |
download | llvm-79a1c8906686d11a9fe7463cd0b5ebb26c39d101.zip llvm-79a1c8906686d11a9fe7463cd0b5ebb26c39d101.tar.gz llvm-79a1c8906686d11a9fe7463cd0b5ebb26c39d101.tar.bz2 |
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
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions