1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00
llvm-mirror/test/DebugInfo/Inputs/dwarfdump-objc.m
Frederic Riss 4fb56689c8 [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
2014-10-10 15:51:10 +00:00

17 lines
373 B
Objective-C

// 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