File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -7,15 +7,16 @@ + (int) addressSafety:(int*)a;
7
7
8
8
@implementation MyClass
9
9
10
- // WITHOUT: +[MyClass load]{{.*}}#0
11
- // ASAN: +[MyClass load]{{.*}}#0
10
+ // WITHOUT: +[MyClass load]{{.*}}#[[ATTR0:[0-9]+]]
11
+ // ASAN: +[MyClass load]{{.*}}#[[ATTR1:[0-9]+]]
12
12
+(void ) load { }
13
13
14
- // WITHOUT: +[MyClass addressSafety:]{{.*}}#0
15
- // ASAN: +[MyClass addressSafety:]{{.*}}#0
14
+ // WITHOUT: +[MyClass addressSafety:]{{.*}}#[[ATTR0]]
15
+ // ASAN: +[MyClass addressSafety:]{{.*}}#[[ATTR2:[0-9]+]]
16
16
+ (int ) addressSafety : (int *)a { return *a; }
17
17
18
18
@end
19
19
20
- // ASAN: attributes #0 = {{.*}}sanitize_address
21
- // WITHOUT-NOT: attributes #0 = {{.*}}sanitize_address
20
+ // ASAN : attributes #[[ATTR1]] = {{.*}}sanitized_padded_global
21
+ // ASAN : attributes #[[ATTR2]] = {{.*}}sanitize_address
22
+ // WITHOUT-NOT: attributes #[[ATTR0]] = {{.*}}sanitize_address
You can’t perform that action at this time.
0 commit comments