diff --git a/gcc/testsuite/c-c++-common/hwasan/asan-pr70541.c b/gcc/testsuite/c-c++-common/hwasan/asan-pr70541.c index ba2ed496e6ee81b13270ce05831ff01eca98edde..be534dfd2319547d50f908306294027563b2829b 100644 --- a/gcc/testsuite/c-c++-common/hwasan/asan-pr70541.c +++ b/gcc/testsuite/c-c++-common/hwasan/asan-pr70541.c @@ -33,4 +33,4 @@ int main() { /* { dg-output "HWAddressSanitizer: tag-mismatch on address 0x\[0-9a-f\]*.*" } */ /* { dg-output "READ of size 4 at 0x\[0-9a-f\]* tags: \[\[:xdigit:\]\]\[\[:xdigit:\]\]/\[\[:xdigit:\]\]\[\[:xdigit:\]\] \\(ptr/mem\\) in thread T0.*" } */ /* { dg-output "freed by thread T0 here:.*" } */ -/* { dg-output "previously allocated here:" } */ +/* { dg-output "previously allocated by thread T0 here:" } */ diff --git a/gcc/testsuite/c-c++-common/hwasan/heap-overflow.c b/gcc/testsuite/c-c++-common/hwasan/heap-overflow.c index a5a37715925416ecfe1d2d196f8dc6fe06856aec..e424d8bcb124c79dbce8c4528eb2321bc491bd13 100644 --- a/gcc/testsuite/c-c++-common/hwasan/heap-overflow.c +++ b/gcc/testsuite/c-c++-common/hwasan/heap-overflow.c @@ -24,6 +24,6 @@ int main(int argc, char **argv) { /* { dg-output "HWAddressSanitizer: tag-mismatch on address 0x\[0-9a-f\]*.*" } */ /* { dg-output "READ of size 1 at 0x\[0-9a-f\]* tags: \[\[:xdigit:\]\]\[\[:xdigit:\]\]/\[\[:xdigit:\]\]\[\[:xdigit:\]\].* \\(ptr/mem\\) in thread T0.*" } */ -/* { dg-output "located 0 bytes after 10-byte region.*" } */ -/* { dg-output "allocated here:.*" } */ +/* { dg-output "located 0 bytes after a 10-byte region.*" } */ +/* { dg-output "allocated by thread T0 here:.*" } */ /* { dg-output "#1 0x\[0-9a-f\]+ +in _*main \[^\n\r]*heap-overflow.c:18" } */ diff --git a/gcc/testsuite/c-c++-common/hwasan/sanity-check-pure-c.c b/gcc/testsuite/c-c++-common/hwasan/sanity-check-pure-c.c index a42921bb44cf835696e00731849b33b4ef069b72..4e5570004589f703b576b1414a9f8402695f3809 100644 --- a/gcc/testsuite/c-c++-common/hwasan/sanity-check-pure-c.c +++ b/gcc/testsuite/c-c++-common/hwasan/sanity-check-pure-c.c @@ -20,6 +20,6 @@ int main() { /* { dg-output "HWAddressSanitizer: tag-mismatch on address 0x\[0-9a-f\]*.*" } */ /* { dg-output "READ of size 1 at 0x\[0-9a-f\]* tags: \[\[:xdigit:\]\]\[\[:xdigit:\]\]/\[\[:xdigit:\]\]\[\[:xdigit:\]\] \\(ptr/mem\\) in thread T0.*" } */ -/* { dg-output "located 5 bytes inside of 10-byte region.*" } */ +/* { dg-output "located 5 bytes inside a 10-byte region.*" } */ /* { dg-output "freed by thread T0 here:.*" } */ -/* { dg-output "previously allocated here:" } */ +/* { dg-output "previously allocated by thread T0 here:" } */ diff --git a/gcc/testsuite/c-c++-common/hwasan/use-after-free.c b/gcc/testsuite/c-c++-common/hwasan/use-after-free.c index 41a356999aadd65e794437608d97523566558ab4..b058982935fa0134fe09943383126a7a429696dd 100644 --- a/gcc/testsuite/c-c++-common/hwasan/use-after-free.c +++ b/gcc/testsuite/c-c++-common/hwasan/use-after-free.c @@ -21,8 +21,8 @@ int main() { /* { dg-output "HWAddressSanitizer: tag-mismatch on address 0x\[0-9a-f\]*.*" } */ /* { dg-output "READ of size 1 at 0x\[0-9a-f\]* tags: \[\[:xdigit:\]\]\[\[:xdigit:\]\]/\[\[:xdigit:\]\]\[\[:xdigit:\]\] \\(ptr/mem\\) in thread T0.*" } */ -/* { dg-output "is located 5 bytes inside of 10-byte region.*" } */ +/* { dg-output "is located 5 bytes inside a 10-byte region.*" } */ /* { dg-output "freed by thread T0 here:.*" } */ /* { dg-output "#1\[^\n\r]*main\[^\n\r]*use-after-free.c:17.*" } */ -/* { dg-output "previously allocated here:.*" } */ +/* { dg-output "previously allocated by thread T0 here:.*" } */ /* { dg-output "#1\[^\n\r]*main\[^\n\r]*use-after-free.c:16" } */