diff options
Diffstat (limited to 'gnulib/lib/memchr2.valgrind')
m--------- | gnulib | 0 | ||||
-rw-r--r-- | gnulib/lib/memchr2.valgrind | 14 |
2 files changed, 14 insertions, 0 deletions
diff --git a/gnulib b/gnulib deleted file mode 160000 -Subproject 443bc5ffcf7429e557f4a371b0661abe98ddbc1 diff --git a/gnulib/lib/memchr2.valgrind b/gnulib/lib/memchr2.valgrind new file mode 100644 index 0000000..778fe86 --- /dev/null +++ b/gnulib/lib/memchr2.valgrind @@ -0,0 +1,14 @@ +# Suppress a valgrind message about use of uninitialized memory in memchr2(). +# Like memchr, it is safe to overestimate the length when the terminator +# is guaranteed to be found. In this case, we may end up reading a word +# that is partially uninitialized, but this use is OK for a speedup. +{ + memchr2-value4 + Memcheck:Value4 + fun:memchr2 +} +{ + memchr2-value8 + Memcheck:Value8 + fun:memchr2 +} |