diff options
| author | Devang Patel <dpatel@apple.com> | 2011-05-12 21:29:57 +0000 |
|---|---|---|
| committer | Devang Patel <dpatel@apple.com> | 2011-05-12 21:29:57 +0000 |
| commit | e91b54cc560295e6adcb87a0b0b65c36863b62d5 (patch) | |
| tree | 80bdf2f72991e7d1a689005840a5f801090ce8f7 | |
| parent | 12419aee7a7caefb15cae72d7bf99d05e246d924 (diff) | |
| download | bcm5719-llvm-e91b54cc560295e6adcb87a0b0b65c36863b62d5.tar.gz bcm5719-llvm-e91b54cc560295e6adcb87a0b0b65c36863b62d5.zip | |
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
llvm-svn: 131245
| -rw-r--r-- | clang/lib/CodeGen/CGDebugInfo.cpp | 2 | ||||
| -rw-r--r-- | clang/test/CodeGenObjC/debug-info-class-extension.m | 2 | ||||
| -rw-r--r-- | clang/test/CodeGenObjC/debug-info-class-extension2.m | 2 | ||||
| -rw-r--r-- | clang/test/CodeGenObjC/debug-info-class-extension3.m | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.cpp b/clang/lib/CodeGen/CGDebugInfo.cpp index 6def71fe546..737668a7da1 100644 --- a/clang/lib/CodeGen/CGDebugInfo.cpp +++ b/clang/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/clang/test/CodeGenObjC/debug-info-class-extension.m b/clang/test/CodeGenObjC/debug-info-class-extension.m index 48e6f509d98..cf0445d539b 100644 --- a/clang/test/CodeGenObjC/debug-info-class-extension.m +++ b/clang/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/clang/test/CodeGenObjC/debug-info-class-extension2.m b/clang/test/CodeGenObjC/debug-info-class-extension2.m index 6b1a7f188f5..4cef88f1637 100644 --- a/clang/test/CodeGenObjC/debug-info-class-extension2.m +++ b/clang/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/clang/test/CodeGenObjC/debug-info-class-extension3.m b/clang/test/CodeGenObjC/debug-info-class-extension3.m index 549a2adea12..595c7bd2c6b 100644 --- a/clang/test/CodeGenObjC/debug-info-class-extension3.m +++ b/clang/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 |

