Skip to content

Commit d539f1a

Browse files
Anthony Leonardo GracioAnthonyLeonardoGracio
authored andcommitted
V624-007: Add suppression entry for GPR leak
1 parent 6a31cc2 commit d539f1a

File tree

1 file changed

+25
-16
lines changed

1 file changed

+25
-16
lines changed

testsuite/leaks.supp

Lines changed: 25 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,31 @@
2222
fun:gpr__err__error_msg
2323
}
2424

25+
### T114-020 leaks with extending project and custom renaming
26+
{
27+
GPR leak
28+
Memcheck:Leak
29+
match-leak-kinds: definite
30+
fun:malloc
31+
fun:gnatcoll__memory__alloc
32+
fun:system__pool_global__allocate
33+
fun:gpr__nmsc__add_source
34+
fun:gpr__nmsc__check_file
35+
fun:gpr__nmsc__search_directories
36+
fun:gpr__nmsc__find_sources
37+
fun:gpr__nmsc__look_for_sources
38+
fun:gpr__nmsc__process_naming_scheme__check
39+
fun:gpr__nmsc__process_naming_scheme__recursive_check.71.isra.0
40+
fun:gpr__nmsc__process_naming_scheme__check_all_projects__recursive_check_context__recursive_check.68
41+
fun:gpr__nmsc__process_naming_scheme__check_all_projects__recursive_check_context__recursive_check.68
42+
fun:gpr__nmsc__process_naming_scheme__check_all_projects__recursive_check_context__recursive_check.68
43+
fun:gpr__nmsc__process_naming_scheme__check_all_projects__recursive_check_context.67.constprop.0
44+
fun:gpr__nmsc__process_naming_scheme__check_all_projects
45+
fun:gpr__nmsc__process_naming_scheme
46+
fun:gpr__proc__check
47+
fun:gpr__proc__process_project_tree_phase_2
48+
}
49+
2550
### SC20-039 leaks when loading library aggregate projects
2651
{
2752
<insert_a_suppression_name_here>
@@ -44,22 +69,6 @@
4469
fun:gpr__proc__recursive_process__process_aggregated_projects
4570
}
4671

47-
### T114-020 leaks with extending project and custom renaming
48-
{
49-
<insert_a_suppression_name_here>
50-
Memcheck:Leak
51-
match-leak-kinds: definite
52-
fun:malloc
53-
fun:__gnat_malloc
54-
fun:system__pool_global__allocate
55-
fun:gpr__nmsc__add_source
56-
fun:gpr__nmsc__check_file
57-
fun:gpr__nmsc__search_directories__2
58-
fun:gpr__nmsc__find_sources
59-
fun:gpr__nmsc__look_for_sources
60-
fun:gpr__nmsc__process_naming_scheme__check
61-
}
62-
6372
# Valgrind limitation: GNAT’s superaligned secondary stack chunk
6473
# appears to be leaked, but we actually have a pointer to the
6574
# middle of the allocated memory block.

0 commit comments

Comments
 (0)