summaryrefslogtreecommitdiffstats
path: root/libcxx/test/containers/sequences/array/array.data/data.pass.cpp
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2014-10-19 00:03:10 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2014-10-19 00:03:10 +0000
commitafefe97e1c97dd4f04761b5412e34feced0d065a (patch)
tree6697c09167e6a7f488fa244e31664a3d35467b36 /libcxx/test/containers/sequences/array/array.data/data.pass.cpp
parent090a237f2981d7059073439f4fe159cbd7ab3389 (diff)
downloadbcm5719-llvm-afefe97e1c97dd4f04761b5412e34feced0d065a.tar.gz
bcm5719-llvm-afefe97e1c97dd4f04761b5412e34feced0d065a.zip
CodeGen: ConstStructBuilder must verify packed constraints after padding
Before, ConstStructBuilder::AppendBytes would check packed constraints prior to padding being added before the field's offset. However, adding this padding might force our struct to be packed. Because we wouldn't check *after* adding padding, ConstStructBuilder would be in an inconsistent state leading to a crash. This fixes PR21300. llvm-svn: 220153
Diffstat (limited to 'libcxx/test/containers/sequences/array/array.data/data.pass.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud