Files
Slava Pestov 1c7a50dcc5 Reflection: Fix class layout, again
There were a few problems here with subclasses of Objective-C classes.
Use the InstanceStart field from rodata to correctly lay out instance
variables, and verify the results match with dynamic and static layout.

Better fix for <rdar://problem/27932061>.
2016-11-16 19:31:18 -08:00

17 lines
247 B
Objective-C

#import "ObjCClasses.h"
@implementation FirstClass : NSObject
@synthesize x;
@end
@implementation SecondClass : NSObject
@synthesize x;
@synthesize y;
@end
@implementation ThirdClass : NSObject
@synthesize x;
@synthesize y;
@synthesize z;
@end