From: Devang Patel Date: Thu, 12 May 2011 21:29:57 +0000 (+0000) Subject: Doug convinced me that DW_AT_APPLE_objc_complete_type is more appropriate name. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=aad16096f49e670aecc92beaa49b33d1c9aba4f2;p=clang Doug convinced me that DW_AT_APPLE_objc_complete_type is more appropriate name. s/DW_AT_APPLE_objc_class_extension/DW_AT_APPLE_objc_complete_type/g git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@131245 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/CGDebugInfo.cpp b/lib/CodeGen/CGDebugInfo.cpp index 6def71fe54..737668a7da 100644 --- a/lib/CodeGen/CGDebugInfo.cpp +++ b/lib/CodeGen/CGDebugInfo.cpp @@ -1243,7 +1243,7 @@ llvm::DIType CGDebugInfo::CreateType(const ObjCInterfaceType *Ty, unsigned Flags = 0; if (ID->getImplementation()) - Flags |= llvm::DIDescriptor::FlagObjcClassExtension; + Flags |= llvm::DIDescriptor::FlagObjcClassComplete; llvm::DIType RealDecl = DBuilder.createStructType(Unit, ID->getName(), DefUnit, diff --git a/test/CodeGenObjC/debug-info-class-extension.m b/test/CodeGenObjC/debug-info-class-extension.m index 48e6f509d9..cf0445d539 100644 --- a/test/CodeGenObjC/debug-info-class-extension.m +++ b/test/CodeGenObjC/debug-info-class-extension.m @@ -1,6 +1,6 @@ // RUN: %clang_cc1 -fobjc-nonfragile-abi -masm-verbose -S -g %s -o - | FileCheck %s -// CHECK: AT_APPLE_objc_class_extension +// CHECK: AT_APPLE_objc_complete_type @interface I1 @end diff --git a/test/CodeGenObjC/debug-info-class-extension2.m b/test/CodeGenObjC/debug-info-class-extension2.m index 6b1a7f188f..4cef88f163 100644 --- a/test/CodeGenObjC/debug-info-class-extension2.m +++ b/test/CodeGenObjC/debug-info-class-extension2.m @@ -1,5 +1,5 @@ // RUN: %clang_cc1 -fobjc-nonfragile-abi -masm-verbose -S -g %s -o - | FileCheck %s -// CHECK: AT_APPLE_objc_class_extension +// CHECK: AT_APPLE_objc_complete_type @interface Foo {} @end diff --git a/test/CodeGenObjC/debug-info-class-extension3.m b/test/CodeGenObjC/debug-info-class-extension3.m index 549a2adea1..595c7bd2c6 100644 --- a/test/CodeGenObjC/debug-info-class-extension3.m +++ b/test/CodeGenObjC/debug-info-class-extension3.m @@ -1,6 +1,6 @@ // RUN: %clang_cc1 -fobjc-nonfragile-abi -masm-verbose -S -g %s -o - | FileCheck %s -// CHECK-NOT: AT_APPLE_objc_class_extension +// CHECK-NOT: AT_APPLE_objc_complete_type @interface Foo {} @end