summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2013-06-26 20:50:34 +0000
committerEli Friedman <eli.friedman@gmail.com>2013-06-26 20:50:34 +0000
commit2782dacfbcb48a1430b9114d801ba90fc2babd69 (patch)
tree6da85c0fc9a21651ecac6f71a7979db64fdabfc6 /llvm/lib
parent6db14a996563072f07a7da85b42a56bf72e6133d (diff)
downloadbcm5719-llvm-2782dacfbcb48a1430b9114d801ba90fc2babd69.tar.gz
bcm5719-llvm-2782dacfbcb48a1430b9114d801ba90fc2babd69.zip
Rewrite record layout for ms_struct structs.
The old implementation of ms_struct in RecordLayoutBuilder was a complete mess: it depended on complicated conditionals which didn't really reflect the underlying logic, and placed a burden on users of the resulting RecordLayout. This commit rips out almost all of the old code, and replaces it with simple checks in RecordLayoutBuilder::LayoutBitField. This commit also fixes <rdar://problem/14252115>, a bug where class inheritance would cause us to lay out bitfields incorrectly. llvm-svn: 185018
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud