commit | 1b3fb81f0d31fa0343c1a3b6e8c78c8b9088ffef | [log] [tgz] |
---|---|---|
author | Dale Johannesen <dalej@apple.com> | Wed Sep 09 23:36:04 2009 +0000 |
committer | Dale Johannesen <dalej@apple.com> | Wed Sep 09 23:36:04 2009 +0000 |
tree | 69fbc1bea7765afa29dcd4ec1543a7f67051e924 | |
parent | 08a2fc2f83778f6e4981e9bc0de07a366f8f29fc [diff] |
In the presence of #pragma pack, layouts can be created where a base class has different alignments in different derived classes. The code for dealing with base classes wasn't handling this correctly, leading to assertions. Rewrite the base class remapper to key off a <type, alignment> pair instead of handling the size and alignment cases separately. llvm-svn: 81399