[llvm-commits] [llvm] r153691 - in /llvm/trunk: include/llvm/Support/Dwarf.h lib/Analysis/DIBuilder.cpp lib/Analysis/DebugInfo.cpp lib/Support/Dwarf.cpp
Eric Christopher
echristo at apple.com
Thu Mar 29 14:35:06 PDT 2012
Author: echristo
Date: Thu Mar 29 16:35:05 2012
New Revision: 153691
URL: http://llvm.org/viewvc/llvm-project?rev=153691&view=rev
Log:
Lowercase the tag name to match the rest of dwarf.
Modified:
llvm/trunk/include/llvm/Support/Dwarf.h
llvm/trunk/lib/Analysis/DIBuilder.cpp
llvm/trunk/lib/Analysis/DebugInfo.cpp
llvm/trunk/lib/Support/Dwarf.cpp
Modified: llvm/trunk/include/llvm/Support/Dwarf.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/Dwarf.h?rev=153691&r1=153690&r2=153691&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/Dwarf.h (original)
+++ llvm/trunk/include/llvm/Support/Dwarf.h Thu Mar 29 16:35:05 2012
@@ -131,7 +131,7 @@
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
Modified: llvm/trunk/lib/Analysis/DIBuilder.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/DIBuilder.cpp?rev=153691&r1=153690&r2=153691&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/DIBuilder.cpp (original)
+++ llvm/trunk/lib/Analysis/DIBuilder.cpp Thu Mar 29 16:35:05 2012
@@ -392,7 +392,7 @@
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),
Modified: llvm/trunk/lib/Analysis/DebugInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/DebugInfo.cpp?rev=153691&r1=153690&r2=153691&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/DebugInfo.cpp (original)
+++ llvm/trunk/lib/Analysis/DebugInfo.cpp Thu Mar 29 16:35:05 2012
@@ -291,7 +291,7 @@
/// 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 @@
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;
Modified: llvm/trunk/lib/Support/Dwarf.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/Dwarf.cpp?rev=153691&r1=153690&r2=153691&view=diff
==============================================================================
--- llvm/trunk/lib/Support/Dwarf.cpp (original)
+++ llvm/trunk/lib/Support/Dwarf.cpp Thu Mar 29 16:35:05 2012
@@ -95,7 +95,7 @@
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;
}
More information about the llvm-commits
mailing list