aboutsummaryrefslogtreecommitdiff
path: root/lldb/scripts/Python
diff options
context:
space:
mode:
authorFrederic Riss <friss@apple.com>2014-10-08 14:59:44 +0000
committerFrederic Riss <friss@apple.com>2014-10-08 14:59:44 +0000
commiteea4f88575b482bb68fc712284812d774984e517 (patch)
tree7da505508863f5a65be4505615415f7c685857e5 /lldb/scripts/Python
parent44241440e15b452d968d1086e284e19e65dfb1da (diff)
downloadllvm-eea4f88575b482bb68fc712284812d774984e517.zip
llvm-eea4f88575b482bb68fc712284812d774984e517.tar.gz
llvm-eea4f88575b482bb68fc712284812d774984e517.tar.bz2
Update dwarf::ApplePropertyAttributes enum to meaningful values.
Summary: We currently emit an DW_AT_APPLE_property_attribute with a value that is a bitfield describing the various attributes applied to an ObjectiveC property. While trying to add testing to one of my dwarfdump patches that would pretty print that, I realized this information looks totally broken and has maybe never been correct. As with every DWARF info, we have some enum in Dwarf.h that describes this attribute (enum ApplePropertyAttributes). It seems however that the attribute value is set from another definition of these flags in Sema/DeclSpec.h (enum ObjCPropertyAttributeKind). And these 2 enums aren't in sync. This patch updates the Dwarf.h values to the ones we are (and have been for a very long time) emitting. We change some publicly (and even documented in SourceLevelDebugging.rst) values, but I doubt this could be an issue as the information has been wrong for so long... Reviewers: echristo, dblaikie, aprantl Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D5653 llvm-svn: 219311
Diffstat (limited to 'lldb/scripts/Python')
0 files changed, 0 insertions, 0 deletions