aboutsummaryrefslogtreecommitdiff
path: root/glibc-2.34567-NPTL-helgrind.supp
diff options
context:
space:
mode:
authormjw <mjw@a5019735-40e9-0310-863c-91ae7b9d1cf9>2015-09-04 10:52:01 +0000
committermjw <mjw@a5019735-40e9-0310-863c-91ae7b9d1cf9>2015-09-04 10:52:01 +0000
commit653256c58758105c4577a215c246124b20dd90bb (patch)
tree41a719e2e074345f8b2a8c5045416f2e3718717b /glibc-2.34567-NPTL-helgrind.supp
parent33dc87a33c30e0281af6722056296493c9e172ef (diff)
downloadvalgrind-653256c58758105c4577a215c246124b20dd90bb.tar.gz
Bug #352130 helgrind reports false races for printfs using mempcpy
Add a new Race suppression. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15622 a5019735-40e9-0310-863c-91ae7b9d1cf9
Diffstat (limited to 'glibc-2.34567-NPTL-helgrind.supp')
-rw-r--r--glibc-2.34567-NPTL-helgrind.supp12
1 files changed, 12 insertions, 0 deletions
diff --git a/glibc-2.34567-NPTL-helgrind.supp b/glibc-2.34567-NPTL-helgrind.supp
index b61a33955..ed105b8db 100644
--- a/glibc-2.34567-NPTL-helgrind.supp
+++ b/glibc-2.34567-NPTL-helgrind.supp
@@ -23,6 +23,10 @@
# this, then loads of errors to do with stdio are reported, because
# H fails to see glibc's internal locking/unlocking of FILE*s
# as required by POSIX. A better solution is needed.
+#
+# - some of the stdio functions in newer glibc manipulate stdio
+# FILE*s state through mempcpy, which we intercept, so we also need
+# to suppress such manipulations.
#{
# helgrind-glibc2X-001
@@ -41,6 +45,14 @@
}
{
+ helgrind-glibc-io-xsputn-mempcpy
+ Helgrind:Race
+ fun:__GI_mempcpy
+ fun:_IO_*xsputn*
+ obj:*/lib*/libc-2.*so*
+}
+
+{
helgrind-glibc2X-005
Helgrind:Race
obj:*/lib*/libpthread-2.*so*