]> granicus.if.org Git - clang/commitdiff
Let an ivar directly refer property TAG.
authorDevang Patel <dpatel@apple.com>
Mon, 6 Feb 2012 18:20:02 +0000 (18:20 +0000)
committerDevang Patel <dpatel@apple.com>
Mon, 6 Feb 2012 18:20:02 +0000 (18:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149881 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CGDebugInfo.cpp
test/CodeGenObjC/debug-info-property.m

index 0ec74cff83271b0344da9dc765638b3c7f226571..addc254128af5930ee400adb4ba6da1209789c52 100644 (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);
   }
 
index d86b7c7a5eba06f4258ae1e7f28c0311cb4e9dd3..6ed467a5bc40bb5fe1d7945a7347d4b43ee5ddbb 100644 (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;
 }