summaryrefslogtreecommitdiffstats
path: root/llvm/test/DebugInfo/Inputs
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2016-07-14 00:41:18 +0000
committerAdrian Prantl <aprantl@apple.com>2016-07-14 00:41:18 +0000
commit0418ef2691110903254f98214a869ddd682a31e7 (patch)
tree17a884c0ac6894929c4f25e220125332d31129da /llvm/test/DebugInfo/Inputs
parentae610ab528a382a393aae26d2d67cee05cabe634 (diff)
downloadbcm5719-llvm-0418ef2691110903254f98214a869ddd682a31e7.tar.gz
bcm5719-llvm-0418ef2691110903254f98214a869ddd682a31e7.zip
Synchronize LLVM and clang's ObjCDeclSpec::ObjCPropertyAttributeKind.
This adds Clang-specific DWARF constants for nullability and ObjC class properties that are already generated by clang. This patch adds dwarfdump support and a more comprehensive testcase. <rdar://problem/27335745> llvm-svn: 275354
Diffstat (limited to 'llvm/test/DebugInfo/Inputs')
-rw-r--r--llvm/test/DebugInfo/Inputs/dwarfdump-objc.m6
-rw-r--r--llvm/test/DebugInfo/Inputs/dwarfdump-objc.x86_64.obin11512 -> 15648 bytes
2 files changed, 6 insertions, 0 deletions
diff --git a/llvm/test/DebugInfo/Inputs/dwarfdump-objc.m b/llvm/test/DebugInfo/Inputs/dwarfdump-objc.m
index 54fbee2ac39..805384c1364 100644
--- a/llvm/test/DebugInfo/Inputs/dwarfdump-objc.m
+++ b/llvm/test/DebugInfo/Inputs/dwarfdump-objc.m
@@ -10,6 +10,12 @@
@property (retain) NSObject *Retain;
@property (copy) NSObject *Copy;
@property (nonatomic) int NonAtomic;
+@property (atomic) int Atomic;
+@property (strong) NSObject *Strong;
+@property (unsafe_unretained) id UnsafeUnretained;
+@property (nullable) NSObject *Nullability;
+@property (null_resettable) NSObject *NullResettable;
+@property (class) int ClassProperty;
@end
@implementation TestInterface
diff --git a/llvm/test/DebugInfo/Inputs/dwarfdump-objc.x86_64.o b/llvm/test/DebugInfo/Inputs/dwarfdump-objc.x86_64.o
index 6b55d38ce91..8c0dcd56509 100644
--- a/llvm/test/DebugInfo/Inputs/dwarfdump-objc.x86_64.o
+++ b/llvm/test/DebugInfo/Inputs/dwarfdump-objc.x86_64.o
Binary files differ
OpenPOWER on IntegriCloud