diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-04-22 17:43:55 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-04-22 17:43:55 +0000 |
commit | a80a0f6398df06c018af779a7ca82a29172c45d1 (patch) | |
tree | 391daaf4f55231fdfa41ef8dd2eeb3df5424af90 /lib/Analysis/BugReporter.cpp | |
parent | 01f4fa2928b22f88fb91035b9f000087ad25003d (diff) |
Reapply r69771, with updates & fixes:
Rework the shadow struct that is layed out for Objective-C classes.
- Superclasses are now always laid out in 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
were incorrect (the ASTRecordLayout was correct however, which
meant our debug info didn't coincide with ivar offsets, for
example).
- This is still very suboptimal (for example, ivar are looked up
recursively, but I believe the ivar layout itself is now at least
close to correct.
- <rdar://problem/6773388> error: objc[29823]: layout bitmap sliding
backwards
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69811 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/BugReporter.cpp')
0 files changed, 0 insertions, 0 deletions