[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 8/8] docker: test-debug: disable LeakSanitizer
From: |
Paolo Bonzini |
Subject: |
[PATCH 8/8] docker: test-debug: disable LeakSanitizer |
Date: |
Tue, 1 Oct 2019 15:36:28 +0200 |
There are just too many leaks in device-introspect-test (especially for
the plethora of arm and aarch64 boards) to make LeakSanitizer useful;
disable it for now.
Whoever is interested in debugging leaks can also use valgrind like this:
QTEST_QEMU_BINARY=aarch64-softmmu/qemu-system-aarch64 \
QTEST_QEMU_IMG=qemu-img \
valgrind --trace-children=yes --leak-check=full \
tests/device-introspect-test -p
/aarch64/device/introspect/concrete/defaults/none
Signed-off-by: Paolo Bonzini <address@hidden>
---
tests/docker/test-debug | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/docker/test-debug b/tests/docker/test-debug
index 137f4f2..c050fa0 100755
--- a/tests/docker/test-debug
+++ b/tests/docker/test-debug
@@ -21,6 +21,7 @@ cd "$BUILD_DIR"
OPTS="--cxx=clang++ --cc=clang --host-cc=clang"
OPTS="--enable-debug --enable-sanitizers $OPTS"
+export ASAN_OPTIONS=detect_leaks=0
build_qemu $OPTS
check_qemu check V=1
install_qemu
--
1.8.3.1
- Re: [PATCH 1/8] ide: fix leak from qemu_allocate_irqs, (continued)
- [PATCH 2/8] microblaze: fix leak of fdevice tree blob, Paolo Bonzini, 2019/10/01
- [PATCH 5/8] mips: fix memory leaks in board initialization, Paolo Bonzini, 2019/10/01
- [PATCH 4/8] hppa: fix leak from g_strdup_printf, Paolo Bonzini, 2019/10/01
- [PATCH 7/8] lm32: do not leak memory on object_new/object_unref, Paolo Bonzini, 2019/10/01
- [PATCH 8/8] docker: test-debug: disable LeakSanitizer,
Paolo Bonzini <=
- [PATCH 6/8] cris: do not leak struct cris_disasm_data, Paolo Bonzini, 2019/10/01
- Re: [PATCH ci-fix 0/8] fix various memory leaks (but not all), no-reply, 2019/10/01