Lowercase the tag name to match the rest of dwarf.
authorEric Christopher <echristo@apple.com>
Thu, 29 Mar 2012 21:35:05 +0000 (21:35 +0000)
committerEric Christopher <echristo@apple.com>
Thu, 29 Mar 2012 21:35:05 +0000 (21:35 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153691 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Support/Dwarf.h
lib/Analysis/DIBuilder.cpp
lib/Analysis/DebugInfo.cpp
lib/Support/Dwarf.cpp

index e57fbf7875006ffa0773b8e1ae1239281ef9ec46..8f18a991a9e183993948898e483b2df81886bb9e 100644 (file)
@@ -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
index ddf57f84a86ec64a4fc2197142af3e50fff37c68..4dc8f6a1ecc47001e31021a1c3071f41a0b06a06 100644 (file)
@@ -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),
index c9a619863b9560f0facad469c295876850ff3f26..8f2afad6fa5d35e8448e99cc5198a0bd6951a2da 100644 (file)
@@ -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;
 
index b317e4927d180f8e67f6bd0e4b43baa3660e0af5..5c59a3ef8ef313a61ff20ae793df0c560fb1100d 100644 (file)
@@ -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;
 }