diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-04-22 03:45:12 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-04-22 03:45:12 +0000 |
commit | 25b81ef84775e5ea9cfd1ad81145203d125940f2 (patch) | |
tree | f3f9266a4c2c22c7eb98882a94c1c79d33ddbffd /clang/lib/Frontend/PCHReader.cpp | |
parent | ed462a8d4434d6abb9451a542cfc9621164ea382 (diff) | |
download | bcm5719-llvm-25b81ef84775e5ea9cfd1ad81145203d125940f2.tar.gz bcm5719-llvm-25b81ef84775e5ea9cfd1ad81145203d125940f2.zip |
Rework the shadow struct that is layed out for Objective-C classes.
- Superclasses are now always laid out their shadow structure at the
first field.
- Prior to this, the entire class heirarchy was flattened into a
single structure which meant that alignment, padding, and bitfields
weren't packed correctly (the ASTRecordLayout was correct however,
which meant our debug info didn't coincide with ivar offsets, for
example).
- This is still very suboptimal, but I believe the ivar layout itself
is now at least close to correct.
- <rdar://problem/6773388> error: objc[29823]: layout bitmap sliding
backwards
llvm-svn: 69771
Diffstat (limited to 'clang/lib/Frontend/PCHReader.cpp')
0 files changed, 0 insertions, 0 deletions