[gnome-builder] build: add some ASAN suppressions
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] build: add some ASAN suppressions
- Date: Mon, 17 Oct 2016 22:18:29 +0000 (UTC)
commit 340bf73922de4fd4c0ef9a821085bd91e8ab7bb5
Author: Christian Hergert <chergert redhat com>
Date: Mon Oct 17 15:18:20 2016 -0700
build: add some ASAN suppressions
Makefile.am | 2 ++
build/Makefile.am | 2 ++
build/asan.supp | 8 ++++++++
3 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 68a081d..554dade 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -61,6 +61,7 @@ dist-hook:
RUNTIME_TYPELIB_PATH = libide:contrib/egg:contrib/pnl:contrib/tmpl:$(GI_TYPELIB_PATH)
run:
+ LSAN_OPTIONS=suppressions=$(top_srcdir)/build/asan.supp \
ASAN_OPTIONS=alloc_dealloc_mismatch=0 \
PEAS_DEBUG=1 \
GB_IN_TREE_PLUGINS=1 \
@@ -84,6 +85,7 @@ strace:
$(LIBTOOL) --mode=execute strace -T src/gnome-builder -vvvv -s
debug:
+ LSAN_OPTIONS=suppressions=$(top_srcdir)/build/asan.supp \
ASAN_OPTIONS=alloc_dealloc_mismatch=0 \
G_SLICE=always-malloc \
PEAS_DEBUG=1 \
diff --git a/build/Makefile.am b/build/Makefile.am
index 3c05044..1814f27 100644
--- a/build/Makefile.am
+++ b/build/Makefile.am
@@ -1,5 +1,7 @@
SUBDIRS = autotools
+EXTRA_DIST = asan.supp
+
GITIGNOREFILES = \
compile \
config.guess \
diff --git a/build/asan.supp b/build/asan.supp
new file mode 100644
index 0000000..223ca41
--- /dev/null
+++ b/build/asan.supp
@@ -0,0 +1,8 @@
+leak:g_get_charset
+leak:g_get_filename_charsets
+leak:g_get_language_names
+leak:g_intern_static_string
+leak:pygi_constructor_cache_new
+leak:pygi_function_cache_new
+leak:pygi_method_cache_new
+leak:pygi_vfunc_cache_new
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]