diff options
author | Douglas Gregor <dgregor@apple.com> | 2012-10-26 22:31:14 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2012-10-26 22:31:14 +0000 |
commit | f596760aab256d81a6823e731c988b35ef8197ad (patch) | |
tree | 1b85ff298ca63b35bc70684e86048084c9990607 /lib/CodeGen | |
parent | 107dae4c7afca73e97d2689d6f644c13ac3048a4 (diff) |
When an externally-supplied record layout has a size that clearly
doesn't include padding up to the alignment of the record, take this
as a cue that the alignment of the record should (conservatively) be
set to 1. This is similar to other the other cues we use to determine
that the record has a lower alignment, e.g., that the
externally-supplied layout places fields at lower offsets than we
would. Fixes <rdar://problem/12582052>; test case in LLDB.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166824 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
0 files changed, 0 insertions, 0 deletions