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 | 1694e0d21df5fbab8576fe8c7bc4e7c25b838f5e (patch) | |
| tree | bac19a0a5596bae65e7eac4faaee9006e93f752f /llvm/lib/ExecutionEngine/OProfileJIT/OProfileWrapper.cpp | |
| parent | 2ce6b43f40a4c21683338f88d943aeac798f8404 (diff) | |
| download | bcm5719-llvm-1694e0d21df5fbab8576fe8c7bc4e7c25b838f5e.tar.gz bcm5719-llvm-1694e0d21df5fbab8576fe8c7bc4e7c25b838f5e.zip | |
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.
llvm-svn: 176163
Diffstat (limited to 'llvm/lib/ExecutionEngine/OProfileJIT/OProfileWrapper.cpp')
0 files changed, 0 insertions, 0 deletions

