From: Eric Christopher Date: Thu, 29 Mar 2012 21:35:05 +0000 (+0000) Subject: Lowercase the tag name to match the rest of dwarf. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=6c31ee2b10827583a0fbcb39623fdfb440c917ef;p=oota-llvm.git Lowercase the tag name to match the rest of dwarf. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153691 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Support/Dwarf.h b/include/llvm/Support/Dwarf.h index e57fbf78750..8f18a991a9e 100644 --- a/include/llvm/Support/Dwarf.h +++ b/include/llvm/Support/Dwarf.h @@ -131,7 +131,7 @@ enum dwarf_constants { DW_TAG_GNU_template_parameter_pack = 0x4107, DW_TAG_GNU_formal_parameter_pack = 0x4108, DW_TAG_lo_user = 0x4080, - DW_TAG_APPLE_Property = 0x4200, + DW_TAG_APPLE_property = 0x4200, DW_TAG_hi_user = 0xffff, // Children flag diff --git a/lib/Analysis/DIBuilder.cpp b/lib/Analysis/DIBuilder.cpp index ddf57f84a86..4dc8f6a1ecc 100644 --- a/lib/Analysis/DIBuilder.cpp +++ b/lib/Analysis/DIBuilder.cpp @@ -392,7 +392,7 @@ DIObjCProperty DIBuilder::createObjCProperty(StringRef Name, unsigned PropertyAttributes, DIType Ty) { Value *Elts[] = { - GetTagConstant(VMContext, dwarf::DW_TAG_APPLE_Property), + GetTagConstant(VMContext, dwarf::DW_TAG_APPLE_property), MDString::get(VMContext, Name), File, ConstantInt::get(Type::getInt32Ty(VMContext), LineNumber), diff --git a/lib/Analysis/DebugInfo.cpp b/lib/Analysis/DebugInfo.cpp index c9a619863b9..8f2afad6fa5 100644 --- a/lib/Analysis/DebugInfo.cpp +++ b/lib/Analysis/DebugInfo.cpp @@ -291,7 +291,7 @@ bool DIDescriptor::isEnumerator() const { /// isObjCProperty - Return true if the specified tag is DW_TAG bool DIDescriptor::isObjCProperty() const { - return DbgNode && getTag() == dwarf::DW_TAG_APPLE_Property; + return DbgNode && getTag() == dwarf::DW_TAG_APPLE_property; } //===----------------------------------------------------------------------===// // Simple Descriptor Constructors and other Methods @@ -382,7 +382,7 @@ bool DIObjCProperty::Verify() const { if (!DbgNode) return false; unsigned Tag = getTag(); - if (Tag != dwarf::DW_TAG_APPLE_Property) return false; + if (Tag != dwarf::DW_TAG_APPLE_property) return false; DIType Ty = getType(); if (!Ty.Verify()) return false; diff --git a/lib/Support/Dwarf.cpp b/lib/Support/Dwarf.cpp index b317e4927d1..5c59a3ef8ef 100644 --- a/lib/Support/Dwarf.cpp +++ b/lib/Support/Dwarf.cpp @@ -95,7 +95,7 @@ const char *llvm::dwarf::TagString(unsigned Tag) { return "DW_TAG_GNU_template_parameter_pack"; case DW_TAG_GNU_formal_parameter_pack: return "DW_TAG_GNU_formal_parameter_pack"; - case DW_TAG_APPLE_Property: return "DW_TAG_APPLE_property"; + case DW_TAG_APPLE_property: return "DW_TAG_APPLE_property"; } return 0; }