From 1e8195cc6f927b9d5d296c764f40aa11740542b3 Mon Sep 17 00:00:00 2001 From: Reuben Thomas Date: Sun, 30 Jul 2017 13:34:44 +0200 Subject: [PATCH] relocatable-lib{,-lgpl}: add Valgrind suppressions * lib/relocatable.valgrind: New file. * modules/relocatable-lib (Files): Add relocatable.valgrind. * modules/relocatable-lib-lgpl: Likewise. --- ChangeLog | 8 ++++++++ lib/relocatable.valgrind | 8 ++++++++ modules/relocatable-lib | 1 + modules/relocatable-lib-lgpl | 1 + 4 files changed, 18 insertions(+) create mode 100644 lib/relocatable.valgrind diff --git a/ChangeLog b/ChangeLog index c9faedd570..95b4401861 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2017-07-30 Reuben Thomas + Bruno Haible + + relocatable-lib{,-lgpl}: add Valgrind suppressions + * lib/relocatable.valgrind: New file. + * modules/relocatable-lib (Files): Add relocatable.valgrind. + * modules/relocatable-lib-lgpl: Likewise. + 2017-07-26 Reuben Thomas relocatable: Make the license on the sources the GPL. diff --git a/lib/relocatable.valgrind b/lib/relocatable.valgrind new file mode 100644 index 0000000000..c3dfeff41f --- /dev/null +++ b/lib/relocatable.valgrind @@ -0,0 +1,8 @@ +# set_this_relocation_prefix leaks intentionally +{ + relocatable/set_this_relocation_prefix + Memcheck:Leak + fun:malloc + fun:set_this_relocation_prefix + fun:set_relocation_prefix +} diff --git a/modules/relocatable-lib b/modules/relocatable-lib index 58efa9138e..70f11f0f66 100644 --- a/modules/relocatable-lib +++ b/modules/relocatable-lib @@ -6,6 +6,7 @@ Files: doc/relocatable.texi lib/relocatable.h lib/relocatable.c +lib/relocatable.valgrind m4/relocatable-lib.m4 Depends-on: diff --git a/modules/relocatable-lib-lgpl b/modules/relocatable-lib-lgpl index 11b14000ed..da6c649156 100644 --- a/modules/relocatable-lib-lgpl +++ b/modules/relocatable-lib-lgpl @@ -6,6 +6,7 @@ Files: doc/relocatable.texi lib/relocatable.h lib/relocatable.c +lib/relocatable.valgrind m4/relocatable-lib.m4 Depends-on: -- 2.39.5