Fix a test-case scan pattern.

2019-08-14  Martin Liska  <mliska@suse.cz>

	* c-c++-common/asan/memcmp-1.c: There's a new function in the
	stack-trace on the top.  So shift expected output in stack
	trace.

From-SVN: r274428
This commit is contained in:
Martin Liska 2019-08-14 10:47:50 +02:00 committed by Martin Liska
parent 47f0255fbb
commit 052f7399dd
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2019-08-14 Martin Liska <mliska@suse.cz>
* c-c++-common/asan/memcmp-1.c: There's a new function in the
stack-trace on the top. So shift expected output in stack
trace.
2019-08-14 Richard Sandiford <richard.sandiford@arm.com>
* gcc.target/aarch64/sve/vcond_17.c: New test.

View File

@ -16,5 +16,5 @@ main ()
}
/* { dg-output "ERROR: AddressSanitizer: stack-buffer-overflow.*(\n|\r\n|\r)" } */
/* { dg-output " #0 0x\[0-9a-f\]+ +(in _*(interceptor_|wrap_|)memcmp|\[(\])\[^\n\r]*(\n|\r\n|\r)" } */
/* { dg-output " #1 0x\[0-9a-f\]+ +(in _*main|\[(\])\[^\n\r]*(\n|\r\n|\r)" } */
/* { dg-output " #1 0x\[0-9a-f\]+ +(in _*(interceptor_|wrap_|)memcmp|\[(\])\[^\n\r]*(\n|\r\n|\r)" } */
/* { dg-output " #2 0x\[0-9a-f\]+ +(in _*main|\[(\])\[^\n\r]*(\n|\r\n|\r)" } */