forked from OSchip/llvm-project
Let an ivar directly refer property TAG.
llvm-svn: 149881
This commit is contained in:
parent
9ebc0896e1
commit
60fc242545
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue