testsuite: Fix pr64820.c for new ASan output format 57/210957/4
authorSlava Barinov <v.barinov@samsung.com>
Fri, 26 Jul 2019 08:51:56 +0000 (11:51 +0300)
committerDongkyun Son <dongkyun.s@samsung.com>
Sat, 27 Jul 2019 16:40:23 +0000 (16:40 +0000)
   * gcc/testsuite/c-c++-common/asan/pr64820.c: Fix lines to scan

Change-Id: I891b5aaad63d5f9c6894974b994c32decc92e786
Signed-off-by: Slava Barinov <v.barinov@samsung.com>
gcc/testsuite/c-c++-common/asan/pr64820.c

index 40cc573..1985123 100644 (file)
@@ -26,6 +26,6 @@ int main(int argc, char **argv) {
 
 /* { dg-output "AddressSanitizer: stack-use-after-return on address 0x\[0-9a-f\]+\[^\n\r]*(\n|\r\n|\r)" } */
 /* { dg-output "\[^\n\r]*WRITE of size 1 at .* thread T0.*" } */
-/* { dg-output "    #0.*(Func2)?.*pr64820.(c:21)?.*" } */
+/* { dg-output "    #0.*(Func2)?.*pr64820.(c:20)?.*" } */
 /* { dg-output "is located in stack of thread T0 at offset.*" } */
-/* { dg-output "\'local\'\[^\n\r]* \\(line 14\\) <== Memory access at offset 32 is inside this variable" } */
+/* { dg-output "\'local:14\'\[^\n\r]* <== Memory access at offset 32 is inside this variable" } */