38 lines · plain
1// RUN: %clang_cc1 -emit-llvm -debug-info-kind=limited -w -triple x86_64-apple-darwin10 %s -o - | FileCheck %s2# 1 "foo.m" 13# 1 "foo.m" 24# 1 "./foo.h" 15@interface NSObject {6 struct objc_object *isa;7}8@end9@class NSDictionary;10 11@interface Foo : NSObject {}12@property (strong, nonatomic) NSDictionary *dict;13@end14# 2 "foo.m" 215 16 17 18 19@implementation Foo20@synthesize dict = _dict;21 22- (void) bork {23}24@end25 26int main(int argc, char *argv[]) {27 @autoreleasepool {28 Foo *f = [Foo new];29 [f bork];30 }31}32 33// CHECK: ![[FILE:.*]] = !DIFile(filename: "foo.m"34// CHECK: !DISubprogram(name: "-[Foo setDict:]"35// CHECK-SAME: file: ![[FILE]],36// CHECK-SAME: line: 7,37// CHECK-SAME: DISPFlagLocalToUnit | DISPFlagDefinition38