From c21f72e65a4d231f0e15ceb17a7a1107e1eb55c9 Mon Sep 17 00:00:00 2001 From: Matt Morehouse Date: Mon, 22 Mar 2021 11:07:58 -0700 Subject: [PATCH] [HWASan] Fix brittle stack-oob.c test. --- compiler-rt/test/hwasan/TestCases/stack-oob.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler-rt/test/hwasan/TestCases/stack-oob.c b/compiler-rt/test/hwasan/TestCases/stack-oob.c index 46cf8c0..c052752 100644 --- a/compiler-rt/test/hwasan/TestCases/stack-oob.c +++ b/compiler-rt/test/hwasan/TestCases/stack-oob.c @@ -25,7 +25,7 @@ int f() { int main() { f(); // CHECK: READ of size 1 at - // CHECK: #0 {{.*}} in f{{.*}}stack-oob.c:19 + // CHECK: #0 {{.*}} in f{{.*}}stack-oob.c:[[@LINE-6]] // CHECK: is located in stack of threa -- 2.7.4