aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/valgrind/suppress.halfword
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2012-11-14 10:50:06 +0100
committerIngela Anderton Andin <[email protected]>2012-11-14 10:50:06 +0100
commitd30cee99c662bf030ce035e56e342d7ebf155513 (patch)
tree7ab4b2cfbca419cd6bcc09fdee243b24deb7e6af /erts/emulator/valgrind/suppress.halfword
parent24797b6ba55cfd83438381234c3108540ea29acb (diff)
parent55c2b0b6d55fe6a011671832b5529cb1c7b636a8 (diff)
downloadotp-d30cee99c662bf030ce035e56e342d7ebf155513.tar.gz
otp-d30cee99c662bf030ce035e56e342d7ebf155513.tar.bz2
otp-d30cee99c662bf030ce035e56e342d7ebf155513.zip
Merge remote branch 'upstream/maint'
Conflicts: lib/ssl/src/ssl_connection.erl
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
+...
+}