Debian Codegraph @

clang/test/DebugInfo/ObjC/crash.m

raw
1 // REQUIRES: x86-registered-target
2 // RUN: %clang_cc1 -triple i386-apple-darwin10 -fobjc-runtime=macosx-fragile-10.5 -fblocks -debug-info-kind=limited -S %s -o -
3
4 @implementation test
5 - (void)wait {
6 ^{};
7 }
8 @end
9
10 // PR4894
11 @interface I0 {
12 I0 *_iv0;
13 }
14 @end
15 @protocol P0 @end
16
17 @interface I1 @end
18 @implementation I1
19 - (I0<P0> *) im0 {
20 // CHECK: @"\01-[I1 im0]"
21 // CHECK: llvm.dbg.func.start
22 return 0;
23 }
24 @end
25
26 // PR4541
27 @class NSString;
28 @interface NSAttributedString
29 - (NSString *)string;
30 @end
31 @interface NSMutableAttributedString : NSAttributedString
32 @end
33 @class NSImage;
34 @implementation CYObjectsController
35 + (void)initialize {
36 }
37 + (NSAttributedString *)attributedStringWithString:(id)string image:(NSImage *)image {
38 NSMutableAttributedString *attrStr;
39 return 0;
40 }
41 @end