llvm-project/clang/test/CodeGenObjC/debug-info-crash-2.m
Eric Christopher fab289a47d When constructing debug information for synthesized variables for the
non-fragile ABI we may not be able to lay out the type and the debugger
would ignore us even if we did put in the offset. Go ahead and just
put any value there and don't look up the offset since it may not exist.

rdar://10210157

llvm-svn: 141261
2011-10-06 00:31:18 +00:00

16 lines
251 B
Objective-C

// RUN: %clang_cc1 -triple x86_64-apple-darwin11 -g -S %s -o -
@class Bar;
@interface Foo
@property (strong, nonatomic) Bar *window;
@end
@interface Foo__ : Foo
@end
@implementation Foo__
@end
@implementation Foo
@synthesize window = _window;
@end