diff options
author | Devang Patel <dpatel@apple.com> | 2012-02-06 18:20:02 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2012-02-06 18:20:02 +0000 |
commit | 5f3c7faa398e64a94d0757e19c69441e04819166 (patch) | |
tree | cc16a59d5f31bd63ad2d9ac123db9995aa6f3a9b | |
parent | afe55fbc10bb1f15f0f6b9d34c88d3a86475c8c9 (diff) |
Let an ivar directly refer property TAG.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149881 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/CodeGen/CGDebugInfo.cpp | 3 | ||||
-rw-r--r-- | test/CodeGenObjC/debug-info-property.m | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/lib/CodeGen/CGDebugInfo.cpp b/lib/CodeGen/CGDebugInfo.cpp index 0ec74cff83..addc254128 100644 --- a/lib/CodeGen/CGDebugInfo.cpp +++ b/lib/CodeGen/CGDebugInfo.cpp @@ -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); } diff --git a/test/CodeGenObjC/debug-info-property.m b/test/CodeGenObjC/debug-info-property.m index d86b7c7a5e..6ed467a5bc 100644 --- a/test/CodeGenObjC/debug-info-property.m +++ b/test/CodeGenObjC/debug-info-property.m @@ -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; } |