LLVM r236120 renamed debug info IR constructs to use a `DI` prefix, now that the `DIDescriptor` hierarchy has been gone for about a week. This commit was generated using the rename-md-di-nodes.sh upgrade script attached to PR23080, followed by running clang-format-diff.py on the `lib/` portion of the patch. llvm-svn: 236121
18 lines
357 B
Objective-C
18 lines
357 B
Objective-C
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -g -S -emit-llvm %s -o - | FileCheck %s
|
|
@interface NSObject {
|
|
struct objc_object *isa;
|
|
}
|
|
@end
|
|
|
|
@interface Shape : NSObject
|
|
|
|
@end
|
|
// CHECK: !DICompositeType(tag: DW_TAG_structure_type, name: "Circle"
|
|
// CHECK-SAME: line: [[@LINE+1]],
|
|
@interface Circle : Shape
|
|
|
|
@end
|
|
@implementation Circle
|
|
|
|
@end
|