aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorWarren Hunt <whunt@google.com>2014-04-10 22:15:18 +0000
committerWarren Hunt <whunt@google.com>2014-04-10 22:15:18 +0000
commit5d9eebfec6a02d1747e4cc1537e21814508d00e6 (patch)
treee43038c81ef552ae2b0c29b5daefed4efb761ee6 /llvm/lib/CodeGen/MachineFunction.cpp
parent1ecafa880816cb17ee7c85ae98df9051ec4a8168 (diff)
downloadllvm-5d9eebfec6a02d1747e4cc1537e21814508d00e6.zip
llvm-5d9eebfec6a02d1747e4cc1537e21814508d00e6.tar.gz
llvm-5d9eebfec6a02d1747e4cc1537e21814508d00e6.tar.bz2
[MS-ABI] Fixed __declspec(align()) on bitfields under #pragma pack.
When __declspec(align()) is applied to a bitfield it affects the alignment rather than the required alignment of the struct. The major feature that this patch adds is that the alignment of the structure obeys the alignment of __declspec(align()) from the bitfield over the value specified in pragma pack. Test cases are included. The patch also includes some small cleanups in recordlayoutbuilder and some cleanups to some lit tests, including line endings (but no functionality change to lit tests) llvm-svn: 205994
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions