commit f47109d30ca319a3bcd4288803e30a473d1506d2
Author: Mark Wielaard <mark@klomp.org>
Date: Fri Apr 12 15:18:51 2024 +0200
Add new helgrind race suppression for pth_mempcpy_false_races
In glibc 2.39+ the internal __printf_buffer_write might use memmove
instead of a memcpy variant. Add an extra suppression variant using
memmove.
This makes pth_mempcpy_false_races pass again.
See also https://bugs.kde.org/show_bug.cgi?id=450962
diff --git a/glibc-2.X-helgrind.supp.in b/glibc-2.X-helgrind.supp.in
index 2b576b982e42..dce611a09e38 100644
--- a/glibc-2.X-helgrind.supp.in
+++ b/glibc-2.X-helgrind.supp.in
@@ -63,6 +63,14 @@
fun:__printf_buffer_write
}
+{
+ helgrind-glibc-__printf_buffer_write2
+ Helgrind:Race
+ fun:*memmove*
+ ...
+ fun:__printf_buffer_write
+}
+
{
helgrind-glibc2X-005
Helgrind:Race