mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 17:32:19 +00:00
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
This commit is contained in:
parent
b22e70d835
commit
6c31ee2b10
@ -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
|
||||
|
@ -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),
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user