]> git.ipfire.org Git - thirdparty/gcc.git/commit
libsanitizer: Adjust the asan/sanity-check-pure-c-1.c test
authorJakub Jelinek <jakub@redhat.com>
Wed, 15 Nov 2023 11:48:20 +0000 (12:48 +0100)
committerJakub Jelinek <jakub@redhat.com>
Wed, 15 Nov 2023 11:48:54 +0000 (12:48 +0100)
commitfab2571c7fe7e9d5372fb7ff1218b17ebe771720
treee7117ad07b7e731a0f4d7c03b1b3cc52c6360264
parentaaf0f12175bfc0a7bdc6c80b8d481fb09ae44e25
libsanitizer: Adjust the asan/sanity-check-pure-c-1.c test

The updated libasan doesn't print __interceptor_free (or __interceptor_malloc)
but free (or malloc), the following patch adjusts the testcase so that it
accepts it.

2023-11-15  Jakub Jelinek  <jakub@redhat.com>

* c-c++-common/asan/sanity-check-pure-c-1.c: Adjust for interceptor_
or wrap_ substrings possibly not being emitted in newer libasan.
gcc/testsuite/c-c++-common/asan/sanity-check-pure-c-1.c