aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Support
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2012-02-03 23:57:08 +0000
committerDevang Patel <dpatel@apple.com>2012-02-03 23:57:08 +0000
commit36b24b0dfa2ca1ea203f37ce62d06ee23bd63c82 (patch)
treefd4e2d5899a6d00feb0444a66028dc897685e8ad /lib/Support
parent9119b039d46e95ed95d9a20f9f7ee52e414ca16d (diff)
downloadexternal_llvm-36b24b0dfa2ca1ea203f37ce62d06ee23bd63c82.zip
external_llvm-36b24b0dfa2ca1ea203f37ce62d06ee23bd63c82.tar.gz
external_llvm-36b24b0dfa2ca1ea203f37ce62d06ee23bd63c82.tar.bz2
Add new tag and an attribute to support debug info for objective-c property.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149724 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support')
-rw-r--r--lib/Support/Dwarf.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Support/Dwarf.cpp b/lib/Support/Dwarf.cpp
index 95a9550..b317e49 100644
--- a/lib/Support/Dwarf.cpp
+++ b/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;