annotate clang/test/CodeGenObjC/debug-info-crash.m @ 206:f17a3b42b08b

Added tag before-12 for changeset b7591485f4cd
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 07 Jun 2021 21:25:57 +0900 (2021-06-07)
parents 1d019706d866
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 // REQUIRES: x86-registered-target
anatofuz
parents:
diff changeset
2 // RUN: %clang_cc1 -triple i386-apple-darwin10 -fobjc-runtime=macosx-fragile-10.5 -fblocks -debug-info-kind=limited -S %s -o -
anatofuz
parents:
diff changeset
3
anatofuz
parents:
diff changeset
4 // rdar://7556129
anatofuz
parents:
diff changeset
5 @implementation test
anatofuz
parents:
diff changeset
6 - (void)wait {
anatofuz
parents:
diff changeset
7 ^{};
anatofuz
parents:
diff changeset
8 }
anatofuz
parents:
diff changeset
9 @end
anatofuz
parents:
diff changeset
10
anatofuz
parents:
diff changeset
11 // PR4894
anatofuz
parents:
diff changeset
12 @interface I0 {
anatofuz
parents:
diff changeset
13 I0 *_iv0;
anatofuz
parents:
diff changeset
14 }
anatofuz
parents:
diff changeset
15 @end
anatofuz
parents:
diff changeset
16 @protocol P0 @end
anatofuz
parents:
diff changeset
17
anatofuz
parents:
diff changeset
18 @interface I1 @end
anatofuz
parents:
diff changeset
19 @implementation I1
anatofuz
parents:
diff changeset
20 - (I0<P0> *) im0 {
anatofuz
parents:
diff changeset
21 // CHECK: @"\01-[I1 im0]"
anatofuz
parents:
diff changeset
22 // CHECK: llvm.dbg.func.start
anatofuz
parents:
diff changeset
23 return 0;
anatofuz
parents:
diff changeset
24 }
anatofuz
parents:
diff changeset
25 @end
anatofuz
parents:
diff changeset
26
anatofuz
parents:
diff changeset
27 // PR4541
anatofuz
parents:
diff changeset
28 @class NSString;
anatofuz
parents:
diff changeset
29 @interface NSAttributedString
anatofuz
parents:
diff changeset
30 - (NSString *)string;
anatofuz
parents:
diff changeset
31 @end
anatofuz
parents:
diff changeset
32 @interface NSMutableAttributedString : NSAttributedString
anatofuz
parents:
diff changeset
33 @end
anatofuz
parents:
diff changeset
34 @class NSImage;
anatofuz
parents:
diff changeset
35 @implementation CYObjectsController
anatofuz
parents:
diff changeset
36 + (void)initialize {
anatofuz
parents:
diff changeset
37 }
anatofuz
parents:
diff changeset
38 + (NSAttributedString *)attributedStringWithString:(id)string image:(NSImage *)image {
anatofuz
parents:
diff changeset
39 NSMutableAttributedString *attrStr;
anatofuz
parents:
diff changeset
40 }
anatofuz
parents:
diff changeset
41 @end