summaryrefslogtreecommitdiff
path: root/lib/Serialization/ModuleManager.cpp
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2014-02-12 00:43:02 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2014-02-12 00:43:02 +0000
commit10dbcf4aad39719036dc32b338ac2c111ecd00d8 (patch)
tree342f21456d8c9a035f586bbf5603acab91345b69 /lib/Serialization/ModuleManager.cpp
parenta8cb272a8884664497971e1a5777acaf304a8cd8 (diff)
downloadclang-10dbcf4aad39719036dc32b338ac2c111ecd00d8.tar.gz
clang-10dbcf4aad39719036dc32b338ac2c111ecd00d8.tar.bz2
clang-10dbcf4aad39719036dc32b338ac2c111ecd00d8.tar.xz
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@201199 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Serialization/ModuleManager.cpp')
0 files changed, 0 insertions, 0 deletions