From 5ba884a576afb0ec22660678790621b2a1c4a8e1 Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Sun, 5 Dec 2021 02:22:26 +0100 Subject: configure: Add --enable-sanitize-address --enable-sanitize-address makes sure that all code is compiled with -fsanitizer=address and all tests run against libasan. It can be combined with --enable-sanitize-undefined, but not with --enable-valgrind. In maintainer mode there is one program that causes leaks, i386_gendis, so disable leak detection for that program. One testcase, test_nlist, needs special linker flags, make sure it also uses -fsanitizer=address when using the address sanitizer. Signed-off-by: Mark Wielaard --- libcpu/ChangeLog | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libcpu/ChangeLog') diff --git a/libcpu/ChangeLog b/libcpu/ChangeLog index 7cca9419..48fbba19 100644 --- a/libcpu/ChangeLog +++ b/libcpu/ChangeLog @@ -1,3 +1,8 @@ +2021-12-04 Mark Wielaard + + * Makefile.am (GENDIS_ENV): New variable, depends on + USE_ADDRESS_SANITIZER. + 2020-12-20 Dmitry V. Levin * .gitignore: New file. -- cgit v1.2.3