From 839515b64db1350da87a5fa840e1f18dba52825e Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Fri, 3 Feb 2012 23:57:08 +0000 Subject: Add new tag and an attribute to support debug info for objective-c property. llvm-svn: 149724 --- llvm/lib/Support/Dwarf.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'llvm/lib/Support/Dwarf.cpp') diff --git a/llvm/lib/Support/Dwarf.cpp b/llvm/lib/Support/Dwarf.cpp index 95a9550..b317e49 100644 --- a/llvm/lib/Support/Dwarf.cpp +++ b/llvm/lib/Support/Dwarf.cpp @@ -95,6 +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"; } return 0; } @@ -245,6 +246,7 @@ const char *llvm::dwarf::AttributeString(unsigned Attribute) { case DW_AT_APPLE_property_getter: return "DW_AT_APPLE_property_getter"; case DW_AT_APPLE_property_setter: return "DW_AT_APPLE_property_setter"; case DW_AT_APPLE_property_attribute: return "DW_AT_APPLE_property_attribute"; + case DW_AT_APPLE_property: return "DW_AT_APPLE_property"; case DW_AT_APPLE_objc_complete_type: return "DW_AT_APPLE_objc_complete_type"; } return 0; -- cgit v1.1