summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2011-05-12 21:29:42 +0000
committerDevang Patel <dpatel@apple.com>2011-05-12 21:29:42 +0000
commit201e6cdc39d5dca4e70cdd331f6f5055b3af3534 (patch)
tree3ac8cff4b5ddd607c02d87fe302934914fd7f57e /lib
parent757a142ea845ee44cc9340063bbc2f992e8c4232 (diff)
downloadllvm-201e6cdc39d5dca4e70cdd331f6f5055b3af3534.tar.gz
llvm-201e6cdc39d5dca4e70cdd331f6f5055b3af3534.tar.bz2
llvm-201e6cdc39d5dca4e70cdd331f6f5055b3af3534.tar.xz
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/llvm/trunk@131244 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp4
-rw-r--r--lib/Support/Dwarf.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp b/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
index 4eb4094775..df3a4aa7b0 100644
--- a/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
+++ b/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
@@ -766,8 +766,8 @@ void CompileUnit::constructTypeDIE(DIE &Buffer, DICompositeType CTy) {
addToContextOwner(&Buffer, Context);
}
- if (CTy.isObjcClassExtension())
- addUInt(&Buffer, dwarf::DW_AT_APPLE_objc_class_extension,
+ if (CTy.isObjcClassComplete())
+ addUInt(&Buffer, dwarf::DW_AT_APPLE_objc_complete_type,
dwarf::DW_FORM_flag, 1);
if (Tag == dwarf::DW_TAG_class_type)
diff --git a/lib/Support/Dwarf.cpp b/lib/Support/Dwarf.cpp
index cbf8aad5f2..0813321b6f 100644
--- a/lib/Support/Dwarf.cpp
+++ b/lib/Support/Dwarf.cpp
@@ -207,7 +207,7 @@ const char *llvm::dwarf::AttributeString(unsigned Attribute) {
case DW_AT_APPLE_property_getter: return "DW_AT_APPLE_property_getter";
case DW_AT_APPLE_property_setter: return "DW_AT_APPLE_property_setter";
case DW_AT_APPLE_property_attribute: return "DW_AT_APPLE_property_attribute";
- case DW_AT_APPLE_objc_class_extension: return "DW_AT_APPLE_objc_class_extension";
+ case DW_AT_APPLE_objc_complete_type: return "DW_AT_APPLE_objc_complete_type";
}
return 0;
}