| commit | 9425891f28f589da0e535b106928f5ff42115aea | [log] [tgz] |
|---|---|---|
| author | Warren Hunt <whunt@google.com> | Sat Jan 11 01:16:40 2014 +0000 |
| committer | Warren Hunt <whunt@google.com> | Sat Jan 11 01:16:40 2014 +0000 |
| tree | e0b2965ea7512fc5db9bcd964faba92c56e52bb9 | |
| parent | 8293c711e7e75581ce9666d49e4667f0f8371044 [diff] |
[ms-abi] Change the way alignment is tracked This patch more cleanly seperates the concepts of Preferred Alignment and Required Alignment. Most notable that changes to Required Alignment do *not* impact preferred alignment until late in struct layout. This is observable when using pragma pack and non-virtual bases and the use of tail padding when laying them out. Test cases included. llvm-svn: 198988