diff options
| author | Devang Patel <dpatel@apple.com> | 2011-05-12 21:29:42 +0000 |
|---|---|---|
| committer | Devang Patel <dpatel@apple.com> | 2011-05-12 21:29:42 +0000 |
| commit | 12419aee7a7caefb15cae72d7bf99d05e246d924 (patch) | |
| tree | da4c4e7e716be61f88c9f5be7a0080c3b69a0222 /llvm/lib | |
| parent | 1b2d526c8bbc5b9a3961f854fa71b59b8bbb8e3b (diff) | |
| download | bcm5719-llvm-12419aee7a7caefb15cae72d7bf99d05e246d924.tar.gz bcm5719-llvm-12419aee7a7caefb15cae72d7bf99d05e246d924.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: 131244
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp | 4 | ||||
| -rw-r--r-- | llvm/lib/Support/Dwarf.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp index 4eb40947752..df3a4aa7b0f 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp +++ b/llvm/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/llvm/lib/Support/Dwarf.cpp b/llvm/lib/Support/Dwarf.cpp index cbf8aad5f22..0813321b6f7 100644 --- a/llvm/lib/Support/Dwarf.cpp +++ b/llvm/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; } |

