Let an ivar directly refer property TAG.

llvm-svn: 149881
This commit is contained in:
Devang Patel 2012-02-06 18:20:02 +00:00
parent 9ebc0896e1
commit 60fc242545
2 changed files with 5 additions and 2 deletions

View File

@ -1373,8 +1373,7 @@ llvm::DIType CGDebugInfo::CreateType(const ObjCInterfaceType *Ty,
FieldTy = DBuilder.createObjCIVar(FieldName, FieldDefUnit,
FieldLine, FieldSize, FieldAlign,
FieldOffset, Flags, FieldTy,
PropertyName, PropertyGetter,
PropertySetter, PropertyAttributes);
PropertyNode);
EltTys.push_back(FieldTy);
}

View File

@ -1,6 +1,10 @@
// RUN: %clang_cc1 -masm-verbose -S -g %s -o - | FileCheck %s
// CHECK: AT_APPLE_property_name
// CHECK: AT_APPLE_property_getter
// CHECK: AT_APPLE_property_setter
// CHECK: AT_APPLE_property_attribute
// CHECK: AT_APPLE_property
@interface I1 {
int p1;
}