From b3c9912a4524db75721b6e164bdfc472d2784752 Mon Sep 17 00:00:00 2001 From: Frederic Riss Date: Fri, 10 Oct 2014 15:51:10 +0000 Subject: [dwarfdump] Prettyprint DW_AT_APPLE_property_attribute bitfield values. This change depends on the ApplePropertyString helper that I sent spearately. Not sure how you want this tested: as a tool test by adding a binary to dump, or as an llvm test starting from an IR file? Reviewers: dblaikie, samsonov Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D5689 llvm-svn: 219507 --- llvm/test/DebugInfo/Inputs/dwarfdump-objc.m | 16 ++++++++++++++++ llvm/test/DebugInfo/Inputs/dwarfdump-objc.x86_64.o | Bin 0 -> 11512 bytes 2 files changed, 16 insertions(+) create mode 100644 llvm/test/DebugInfo/Inputs/dwarfdump-objc.m create mode 100644 llvm/test/DebugInfo/Inputs/dwarfdump-objc.x86_64.o (limited to 'llvm/test/DebugInfo/Inputs') diff --git a/llvm/test/DebugInfo/Inputs/dwarfdump-objc.m b/llvm/test/DebugInfo/Inputs/dwarfdump-objc.m new file mode 100644 index 00000000000..54fbee2ac39 --- /dev/null +++ b/llvm/test/DebugInfo/Inputs/dwarfdump-objc.m @@ -0,0 +1,16 @@ +// Compile with clang -g dwarfdump-objc.m -c -Wno-objc-root-class + +@interface NSObject {} @end + + +@interface TestInterface +@property (readonly) int ReadOnly; +@property (assign) int Assign; +@property (readwrite) int ReadWrite; +@property (retain) NSObject *Retain; +@property (copy) NSObject *Copy; +@property (nonatomic) int NonAtomic; +@end + +@implementation TestInterface +@end diff --git a/llvm/test/DebugInfo/Inputs/dwarfdump-objc.x86_64.o b/llvm/test/DebugInfo/Inputs/dwarfdump-objc.x86_64.o new file mode 100644 index 00000000000..6b55d38ce91 Binary files /dev/null and b/llvm/test/DebugInfo/Inputs/dwarfdump-objc.x86_64.o differ -- cgit v1.2.3