Merge remote-tracking branch 'origin/release-4-6'
[alexxy/gromacs.git] / cmake / legacy_and_external.supp
1 # This suppression file is used to run the CTest Unit Tests
2 # All problems in external libraries are excluded
3 # Memory leaks in the legacy code are excluded
4 # Other problems besides memory leaks should NOT be excluded for legacy code
5
6 {
7    libz
8    Memcheck:Cond
9    fun:inflateReset2
10    fun:inflateInit2_
11 }
12
13 {
14    set_program_name
15    Memcheck:Leak
16    ...
17    fun:set_program_name
18 }
19
20 {
21    set_command_line
22    Memcheck:Leak
23    ...
24    fun:set_command_line
25 }
26
27 {
28    read_tps_conf
29    Memcheck:Leak
30    ...
31    fun:read_tps_conf
32 }
33
34 {
35    mdrun
36    Memcheck:Leak
37    ...
38    obj:*/mdrun*
39 }
40
41
42 #MacOS rules
43 {
44    dyld_register_image_state_change_handler
45    Memcheck:Leak
46    fun:malloc
47    fun:malloc
48    ...
49    fun:dyld_register_image_state_change_handler
50 }
51
52 {
53    __emutls_get_address
54    Memcheck:Leak
55    ...
56    fun:__emutls_get_address
57 }
58
59 {
60    libSystem_initializer
61    Memcheck:Leak
62    ...
63    fun:libSystem_initializer
64 }
65
66 {
67    atexit
68    Memcheck:Leak
69    fun:malloc
70    fun:atexit_register
71 }
72
73 {
74    unw_set_reg
75    Memcheck:Leak
76    ...
77    fun:unw_set_reg
78    fun:__gxx_personality_v0
79 }
80
81 {
82    printf
83    Memcheck:Leak
84    fun:malloc
85    ...
86    fun:__vfprintf
87 }
88
89 {
90    strtof
91    Memcheck:Leak
92    fun:malloc
93    ...
94    fun:strtof_l
95 }
96
97 {
98    scanf
99    Memcheck:Leak
100    fun:malloc
101    ...
102    fun:__svfscanf_l
103 }
104
105 {
106    __cxa_get_globals
107    Memcheck:Leak
108    fun:calloc
109    fun:__cxa_get_globals
110    fun:__cxa_throw
111 }
112
113 {
114    _Unwind_RaiseException
115    Memcheck:Leak
116    fun:malloc
117    ...
118    fun:_Unwind_RaiseException
119    fun:__cxa_throw
120 }
121
122 # Intel compiler on MacOS
123 {
124    __cilkrts_os_mutex_create
125    Memcheck:Leak
126    fun:malloc
127    fun:__cilkrts_os_mutex_create
128 }