mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-10 03:47:29 -03:00
test: Make valgrind.supp work on aarch64
The equivalent suppression on aarch64 looks like: { <insert_a_suppression_name_here> Memcheck:Param pwrite64(buf) fun:__libc_pwrite64 fun:pwrite fun:__os_io obj:/usr/lib/aarch64-linux-gnu/libdb_cxx-5.3.so fun:__log_flush_int fun:__log_flush fun:__memp_sync_int fun:__db_sync fun:__db_refresh fun:__db_close fun:__fop_subdb_setup fun:__db_open fun:__db_open_pp }
This commit is contained in:
parent
234fabab90
commit
fab7d954b2
1 changed files with 6 additions and 6 deletions
|
@ -1,7 +1,5 @@
|
|||
# Valgrind suppressions file for Bitcoin.
|
||||
#
|
||||
# Includes known Valgrind warnings in our dependencies that cannot be fixed
|
||||
# in-tree.
|
||||
# This valgrind suppressions file includes known Valgrind warnings in our
|
||||
# dependencies that cannot be fixed in-tree.
|
||||
#
|
||||
# Example use:
|
||||
# $ valgrind --suppressions=contrib/valgrind.supp src/test/test_bitcoin
|
||||
|
@ -14,6 +12,9 @@
|
|||
# --error-limit=no src/test/test_bitcoin
|
||||
#
|
||||
# Note that suppressions may depend on OS and/or library versions.
|
||||
# Tested on:
|
||||
# * aarch64 (Ubuntu 20.04 system libs, without gui)
|
||||
# * x86_64 (Ubuntu 18.04 system libs, without gui)
|
||||
{
|
||||
Suppress libstdc++ warning - https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65434
|
||||
Memcheck:Leak
|
||||
|
@ -47,8 +48,7 @@
|
|||
Suppress libdb warning
|
||||
Memcheck:Param
|
||||
pwrite64(buf)
|
||||
fun:pwrite
|
||||
fun:__os_io
|
||||
...
|
||||
obj:*/libdb_cxx-*.so
|
||||
}
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue