aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/valgrind/suppress.halfword
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2012-11-12 17:15:59 +0100
committerSverker Eriksson <[email protected]>2012-11-12 17:15:59 +0100
commit27e544f51c93c058153444876ea5cc0c7516f3fd (patch)
tree15ea06772c6d90ffabe55bc4917e610afbbb0279 /erts/emulator/valgrind/suppress.halfword
parenta7190c2356ed82317a860e9db691e2d1a49a67d8 (diff)
parentef648b3c3bec21bde63220174d50cc5cd8444a35 (diff)
downloadotp-27e544f51c93c058153444876ea5cc0c7516f3fd.tar.gz
otp-27e544f51c93c058153444876ea5cc0c7516f3fd.tar.bz2
otp-27e544f51c93c058153444876ea5cc0c7516f3fd.zip
Merge branch 'sverk/halfword-valgrind-suppressions' into maint
* sverk/halfword-valgrind-suppressions: crypto: Add valgrind suppression for AES_cbc_encrypt erts: Expand valgrind suppression for zlib Add extra valgrind suppression file for halfword emulator
Diffstat (limited to 'erts/emulator/valgrind/suppress.halfword')
-rw-r--r--erts/emulator/valgrind/suppress.halfword56
1 files changed, 56 insertions, 0 deletions
diff --git a/erts/emulator/valgrind/suppress.halfword b/erts/emulator/valgrind/suppress.halfword
new file mode 100644
index 0000000000..8fe448d897
--- /dev/null
+++ b/erts/emulator/valgrind/suppress.halfword
@@ -0,0 +1,56 @@
+# Extra suppressions specific for the halfword emulator.
+
+# --- Suppress all offheap binaries ---
+# Valgrinds leak check does not recognize pointers that are stored
+# at unaligned addresses. In halfword emulator we store 64-bit pointers
+# to offheap data on 32-bit aligned heaps.
+# We solve this by suppressing allocation of all offheap structures
+# that are not referenced by other tables (ie binaries).
+
+{
+Halfword erts_bin_nrml_alloc
+Memcheck:Leak
+...
+fun:erts_bin_nrml_alloc
+...
+}
+
+{
+Halfword erts_bin_realloc
+Memcheck:Leak
+...
+fun:erts_bin_realloc
+...
+}
+
+{
+Halfword erts_bin_realloc_fnf
+Memcheck:Leak
+...
+fun:erts_bin_realloc_fnf
+...
+}
+
+{
+Halfword erts_bin_drv_alloc
+Memcheck:Leak
+...
+fun:erts_bin_drv_alloc
+...
+}
+
+{
+Halfword erts_bin_drv_alloc_fnf
+Memcheck:Leak
+...
+fun:erts_bin_drv_alloc_fnf
+...
+}
+
+{
+Halfword erts_create_magic_binary
+Memcheck:Leak
+...
+fun:erts_create_magic_binary
+...
+}