aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorH.J. Lu <hongjiu.lu@intel.com>2014-11-17 22:12:55 +0000
committerH.J. Lu <hjl@gcc.gnu.org>2014-11-17 14:12:55 -0800
commit5a4e7cade9b48522942a62b1064a4bd6b02f95e0 (patch)
tree29394b25d2f6b28d664dd14c6e2a12e177f36ebc /config
parent5f7282e2cb8e65e77e97001b02a13a658cec7805 (diff)
downloadgcc-5a4e7cade9b48522942a62b1064a4bd6b02f95e0.zip
gcc-5a4e7cade9b48522942a62b1064a4bd6b02f95e0.tar.gz
gcc-5a4e7cade9b48522942a62b1064a4bd6b02f95e0.tar.bz2
Export "detect_leaks=0"
PR bootstrap/63888 * bootstrap-asan.mk (ASAN_OPTIONS): Export "detect_leaks=0". From-SVN: r217678
Diffstat (limited to 'config')
-rw-r--r--config/ChangeLog5
-rw-r--r--config/bootstrap-asan.mk3
2 files changed, 8 insertions, 0 deletions
diff --git a/config/ChangeLog b/config/ChangeLog
index 793e4d2..6f27566 100644
--- a/config/ChangeLog
+++ b/config/ChangeLog
@@ -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.
diff --git a/config/bootstrap-asan.mk b/config/bootstrap-asan.mk
index fbef021..52ef30e 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 \