Export "detect_leaks=0"
authorH.J. Lu <hongjiu.lu@intel.com>
Mon, 17 Nov 2014 22:12:55 +0000 (22:12 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Mon, 17 Nov 2014 22:12:55 +0000 (14:12 -0800)
PR bootstrap/63888
* bootstrap-asan.mk (ASAN_OPTIONS): Export "detect_leaks=0".

From-SVN: r217678

config/ChangeLog
config/bootstrap-asan.mk

index 793e4d263b9e4b501bbc7cdeb7398375c0515b5f..6f27566974d5e59fb90ce269fcc448e7e07ac10e 100644 (file)
@@ -1,3 +1,8 @@
+2014-11-17  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR bootstrap/63888
+       * bootstrap-asan.mk (ASAN_OPTIONS): Export "detect_leaks=0".
+
 2014-11-13  Kirill Yukhin  <kirill.yukhin@intel.com>
 
        * target-posix: New file.
index fbef02125dca4d7c9d06763e039225c052f89237..52ef30e99c83ecb13dd95632796e2cab3a868ced 100644 (file)
@@ -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 \