File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 88// RUN: FileCheck %s --check-prefix=IGNORELIST
99
1010int global;
11+ int __attribute__ ((__section__(" my_section" ))) section_global;
1112int __attribute__ ((no_sanitize(" memtag" ))) attributed_global;
1213int __attribute__ ((disable_sanitizer_instrumentation)) disable_instrumentation_global;
1314int ignorelisted_global;
@@ -22,6 +23,8 @@ void func() {
2223// CHECK: @{{.*}}extra_global{{.*}} ={{.*}} sanitize_memtag
2324// CHECK: @{{.*}}global{{.*}} ={{.*}} sanitize_memtag
2425
26+ // CHECK: @{{.*}}section_global{{.*}} =
27+ // CHECK-NOT: sanitize_memtag
2528// CHECK: @{{.*}}attributed_global{{.*}} =
2629// CHECK-NOT: sanitize_memtag
2730// CHECK: @{{.*}}disable_instrumentation_global{{.*}} =
@@ -30,7 +33,7 @@ void func() {
3033// CHECK-NOT: sanitize_memtag
3134
3235// CHECK: @{{.*}}static_var{{.*}} ={{.*}} sanitize_memtag
33- // CHECK: @{{.*}} = {{.*}} c"Hello, world!\00"{{.*}} sanitize_memtag
36+ // CHECK: @{{.*}} = {{.*}} c"Hello, world!\00"{{.*}}
3437// CHECK: @{{.*}}external_global{{.*}} ={{.*}} sanitize_memtag
3538
3639// IGNORELIST: @{{.*}}extra_global{{.*}} ={{.*}} sanitize_memtag
You can’t perform that action at this time.
0 commit comments