Merge release-4-6 into master
[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    read_tps_conf
15    Memcheck:Leak
16    ...
17    fun:read_tps_conf
18 }
19
20 {
21    mdrun
22    Memcheck:Leak
23    ...
24    obj:*/mdrun*
25 }
26
27
28 #MacOS rules
29 {
30    dyld_register_image_state_change_handler
31    Memcheck:Leak
32    fun:malloc
33    fun:malloc
34    ...
35    fun:dyld_register_image_state_change_handler
36 }
37
38 {
39    __emutls_get_address
40    Memcheck:Leak
41    ...
42    fun:__emutls_get_address
43 }
44
45 {
46    libSystem_initializer
47    Memcheck:Leak
48    ...
49    fun:libSystem_initializer
50 }
51
52 {
53    atexit
54    Memcheck:Leak
55    fun:malloc
56    fun:atexit_register
57 }
58
59 {
60    unw_set_reg
61    Memcheck:Leak
62    ...
63    fun:unw_set_reg
64    fun:__gxx_personality_v0
65 }
66
67 {
68    printf
69    Memcheck:Leak
70    fun:malloc
71    ...
72    fun:__vfprintf
73 }
74
75 {
76    strtof
77    Memcheck:Leak
78    fun:malloc
79    ...
80    fun:strtof_l
81 }
82
83 {
84    scanf
85    Memcheck:Leak
86    fun:malloc
87    ...
88    fun:__svfscanf_l
89 }
90
91 {
92    __cxa_get_globals
93    Memcheck:Leak
94    fun:malloc
95    fun:__cxa_get_globals
96 }
97 {
98    __cxa_get_globals
99    Memcheck:Leak
100    fun:calloc
101    fun:__cxa_get_globals
102    fun:__cxa_throw
103 }
104
105 {
106    _Unwind_RaiseException
107    Memcheck:Leak
108    fun:malloc
109    ...
110    fun:_Unwind_RaiseException
111    fun:__cxa_throw
112 }
113 {
114    posix_memalign
115    Memcheck:Leak
116    ...
117    fun:posix_memalign
118 }
119
120 # Intel compiler on MacOS
121 {
122    __cilkrts_os_mutex_create
123    Memcheck:Leak
124    fun:malloc
125    fun:__cilkrts_os_mutex_create
126 }
127 # Intel compiler with MKL
128 {
129    dlerror
130    Memcheck:Leak
131    ...
132    fun:_dlerror_run
133 }
134 #Intel
135 {
136    strlen
137    Memcheck:Addr8
138    fun:__intel_sse2_strlen
139 }
140 {
141    strlen2
142    Memcheck:Cond
143    fun:__intel_sse2_strlen
144 }
145 {
146    __kmpc_global_thread_num
147    Memcheck:Param
148    sched_setaffinity(mask)
149    ...
150    fun:__kmpc_global_thread_num
151 }
152 {
153    __kmpc_global_thread_num2
154    Memcheck:Cond
155    ...
156    fun:__kmpc_global_thread_num
157 }
158 {
159    __kmpc_global_thread_num3
160    Memcheck:Leak
161    ...
162    fun:__kmpc_global_thread_num
163 }