From 50d5b2345e54681c74bd164cd094dc8a92f84e1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9B=D0=B5=D0=BE=D0=BD=D0=B8=D0=B4=20=D0=AE=D1=80=D1=8C?= =?UTF-8?q?=D0=B5=D0=B2=20=28Leonid=20Yuriev=29?= Date: Thu, 24 Mar 2022 12:10:50 +0300 Subject: [PATCH] mdbx-test: add Valgrind-suppressions for bcmp/memcmp of page-check inside `mdbx_iov_write()`. Related to https://github.com/erthink/libmdbx/issues/269. --- test/valgrind_suppress.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/test/valgrind_suppress.txt b/test/valgrind_suppress.txt index a72a6bfa..3c126188 100644 --- a/test/valgrind_suppress.txt +++ b/test/valgrind_suppress.txt @@ -31,6 +31,20 @@ fun:mdbx_wipe_steady } +# memcmp() inside mdbx_iov_write() as workaround for https://github.com/erthink/libmdbx/issues/269 +{ + write-page-check-bcmp + Memcheck:Cond + fun:bcmp + fun:mdbx_iov_write +} +{ + write-page-check-memcmp + Memcheck:Cond + fun:memcmp* + fun:mdbx_iov_write +} + # single-page flush by pwrite() { pwrite-page-flush