commit | ba945626b094899c7a4cae587398a69097da560c | [log] [tgz] |
---|---|---|
author | Bradley Smith <bradley.smith@arm.com> | Tue Apr 28 11:24:54 2015 +0000 |
committer | Bradley Smith <bradley.smith@arm.com> | Tue Apr 28 11:24:54 2015 +0000 |
tree | 8999ff7481a090b491d669dc6bbcaeee21b32aeb | |
parent | 86e0249235f15fae19709e21b1ae250fd1f20ca0 [diff] |
[ARM/AArch64] Enforce alignment for bitfielded structs When creating a global variable with a type of a struct with bitfields, we must forcibly set the alignment of the global from the RecordDecl. We must do this so that the proper bitfield alignment makes its way down to LLVM, since clang will mangle the bitfields into one large type. llvm-svn: 235976