commit | 31f2f9ced8ed2dd17ac43b6addc84eb08a05442e | [log] [tgz] |
---|---|---|
author | Anders Carlsson <andersca@mac.com> | Fri Oct 02 02:15:20 2009 +0000 |
committer | Anders Carlsson <andersca@mac.com> | Fri Oct 02 02:15:20 2009 +0000 |
tree | ef58f58db1378ce4488f3beec5d56b04d9a75264 | |
parent | b2f81cf7f8445e0c65c0428f4fbb0442566916b8 [diff] |
When building constant structs, check if the resulting LLVM struct will be bigger than the record layout size and use a packed struct if that's the case. Fixes PR5108. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@83230 91177308-0d34-0410-b5e6-96231b3b80d8