Skip to content

Commit 0110245

Browse files
committed
[test][hwasan] Update tests missed by #76130
1 parent 1577483 commit 0110245

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

compiler-rt/test/hwasan/TestCases/stack-uar.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,14 @@ int main() {
5151
// CHECK: is located in stack of thread
5252
// CHECK: Potentially referenced stack objects:
5353
// CHECK-NEXT: {{zzz|yyy}} in buggy {{.*}}stack-uar.c:
54-
// CHECK-NEXT: Memory tags around the buggy address
54+
// CHECK: Memory tags around the buggy address
5555

5656
// NOSYM: Previously allocated frames:
5757
// NOSYM-NEXT: record_addr:0x{{.*}} record:0x{{.*}} ({{.*}}/stack-uar.c.tmp+0x{{.*}}){{$}}
5858
// NOSYM-NEXT: record_addr:0x{{.*}} record:0x{{.*}} ({{.*}}/stack-uar.c.tmp+0x{{.*}}){{$}}
5959
// NOSYM-NEXT: record_addr:0x{{.*}} record:0x{{.*}} ({{.*}}/stack-uar.c.tmp+0x{{.*}}){{$}}
6060
// NOSYM-NEXT: record_addr:0x{{.*}} record:0x{{.*}} ({{.*}}/stack-uar.c.tmp+0x{{.*}}){{$}}
61-
// NOSYM-NEXT: Memory tags around the buggy address
61+
// NOSYM: Memory tags around the buggy address
6262

6363
// CHECK: SUMMARY: HWAddressSanitizer: tag-mismatch {{.*}} in main
6464
}

compiler-rt/test/hwasan/TestCases/stack-uas.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,14 +70,14 @@ int main() {
7070
// CHECK: is located in stack of thread
7171
// CHECK: Potentially referenced stack objects:
7272
// CHECK-NEXT: {{zzz|yyy}} in buggy {{.*}}stack-uas.c:
73-
// CHECK-NEXT: Memory tags around the buggy address
73+
// CHECK: Memory tags around the buggy address
7474

7575
// NOSYM: Previously allocated frames:
7676
// NOSYM-NEXT: record_addr:0x{{.*}} record:0x{{.*}} ({{.*}}/stack-uas.c.tmp+0x{{.*}}){{$}}
7777
// NOSYM-NEXT: record_addr:0x{{.*}} record:0x{{.*}} ({{.*}}/stack-uas.c.tmp+0x{{.*}}){{$}}
7878
// NOSYM-NEXT: record_addr:0x{{.*}} record:0x{{.*}} ({{.*}}/stack-uas.c.tmp+0x{{.*}}){{$}}
7979
// NOSYM-NEXT: record_addr:0x{{.*}} record:0x{{.*}} ({{.*}}/stack-uas.c.tmp+0x{{.*}}){{$}}
80-
// NOSYM-NEXT: Memory tags around the buggy address
80+
// NOSYM: Memory tags around the buggy address
8181

8282
// CHECK: SUMMARY: HWAddressSanitizer: tag-mismatch {{.*}} in buggy
8383
}

0 commit comments

Comments
 (0)