diff options
author | Lang Hames <lhames@gmail.com> | 2013-02-27 04:14:49 +0000 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2013-02-27 04:14:49 +0000 |
commit | 5e8577ece79b5ed07b0ab4dcb284a26076efdf65 (patch) | |
tree | 74f02c2ba549e348075d047cf4c2b237f6179015 /unittests/Format/FormatTest.cpp | |
parent | f127eb8aeb3ce861f3dbc1adbb3362bfd98461e1 (diff) |
Use the correct alignment for POD-member memcpys where the first field is a
bitfield. CGBitField::StorageAlignment holds the alignment in chars, but
emitMemcpy had been treating it as if it were held in bits, leading to
underaligned memcpys.
Related to PR15348.
Thanks very much to Chandler for the diagnosis.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176163 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/Format/FormatTest.cpp')
0 files changed, 0 insertions, 0 deletions