[asan] enhance stack-overflow.cc test: check that the location frame is properly symbolized
llvm-svn: 182463
diff --git a/compiler-rt/lib/asan/lit_tests/stack-overflow.cc b/compiler-rt/lib/asan/lit_tests/stack-overflow.cc
index eb55315..25ea43a 100644
--- a/compiler-rt/lib/asan/lit_tests/stack-overflow.cc
+++ b/compiler-rt/lib/asan/lit_tests/stack-overflow.cc
@@ -15,6 +15,6 @@
// CHECK: {{READ of size 1 at 0x.* thread T0}}
// CHECK: {{ #0 0x.* in _?main .*stack-overflow.cc:}}[[@LINE-2]]
// CHECK: {{Address 0x.* is located in stack of thread T0 at offset}}
- // CHECK: main
+ // CHECK-NEXT: in{{.*}}main{{.*}}stack-overflow.cc
return res;
}