mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-22 15:31:00 +00:00
187770dc74
private symbols in the __DATA segment internal. This prevents the linker from removing the symbol names. Keeping the symbols visible enables tools to collect various information about the symbols, for example, tools that discover whether or not a symbol gets dirtied. rdar://problem/48887111 Differential Revision: https://reviews.llvm.org/D61454 llvm-svn: 360359
33 lines
520 B
Objective-C
33 lines
520 B
Objective-C
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -emit-llvm %s -o - | FileCheck %s
|
|
// CHECK: _OBJC_$_PROP_LIST_C2" = internal global { i32, i32, [3 x %struct._prop_t] } { i32 16, i32 3
|
|
|
|
@protocol P
|
|
@property int i;
|
|
@end
|
|
|
|
@protocol P1
|
|
@property int i1;
|
|
@end
|
|
|
|
@protocol P2 < P1>
|
|
@property int i2;
|
|
@end
|
|
|
|
@interface C1 { id isa; } @end
|
|
|
|
@interface C2 : C1 <P, P2> {
|
|
int i;
|
|
}
|
|
@property int i2;
|
|
@end
|
|
|
|
@implementation C1
|
|
+(void)initialize { }
|
|
@end
|
|
|
|
@implementation C2
|
|
@synthesize i;
|
|
@synthesize i1;
|
|
@synthesize i2;
|
|
@end
|