diff options
author | Eric Christopher <echristo@apple.com> | 2012-03-29 21:35:05 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2012-03-29 21:35:05 +0000 |
commit | 6c31ee2b10827583a0fbcb39623fdfb440c917ef (patch) | |
tree | 116e8269f7b917178b8fb753cd9347a839fc54d2 /lib | |
parent | b22e70d835a88753d3ec6d5ee5e85b23fa6834b1 (diff) |
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
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Analysis/DIBuilder.cpp | 2 | ||||
-rw-r--r-- | lib/Analysis/DebugInfo.cpp | 4 | ||||
-rw-r--r-- | lib/Support/Dwarf.cpp | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/lib/Analysis/DIBuilder.cpp b/lib/Analysis/DIBuilder.cpp index ddf57f84a8..4dc8f6a1ec 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 c9a619863b..8f2afad6fa 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 b317e4927d..5c59a3ef8e 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; } |