aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/valgrind/suppress.halfword
blob: 8fe448d897ec203db8e71f8fd50cd3dd9f6e178d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
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
...
}