From b63d710316b0bb132c2ab8fd69ba535df5d59bb2 Mon Sep 17 00:00:00 2001 From: hjl Date: Mon, 17 Nov 2014 22:12:55 +0000 Subject: [PATCH] Export "detect_leaks=0" PR bootstrap/63888 * bootstrap-asan.mk (ASAN_OPTIONS): Export "detect_leaks=0". git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@217678 138bc75d-0d04-0410-961f-82ee72b054a4 --- config/ChangeLog | 5 +++++ config/bootstrap-asan.mk | 3 +++ 2 files changed, 8 insertions(+) diff --git a/config/ChangeLog b/config/ChangeLog index 793e4d263b9..6f27566974d 100644 --- a/config/ChangeLog +++ b/config/ChangeLog @@ -1,3 +1,8 @@ +2014-11-17 H.J. Lu + + PR bootstrap/63888 + * bootstrap-asan.mk (ASAN_OPTIONS): Export "detect_leaks=0". + 2014-11-13 Kirill Yukhin * target-posix: New file. diff --git a/config/bootstrap-asan.mk b/config/bootstrap-asan.mk index fbef02125dc..52ef30e99c8 100644 --- a/config/bootstrap-asan.mk +++ b/config/bootstrap-asan.mk @@ -1,5 +1,8 @@ # This option enables -fsanitize=address for stage2 and stage3. +# Suppress LeakSanitizer in bootstrap. +export ASAN_OPTIONS="detect_leaks=0" + STAGE2_CFLAGS += -fsanitize=address STAGE3_CFLAGS += -fsanitize=address POSTSTAGE1_LDFLAGS += -fsanitize=address -static-libasan \ -- 2.11.4.GIT