diff options
| author | H.J. Lu <hjl.tools@gmail.com> | 2014-11-16 07:16:08 -0800 |
|---|---|---|
| committer | H.J. Lu <hjl.tools@gmail.com> | 2014-11-16 07:16:08 -0800 |
| commit | 742206fc43d4fcb2461075e296636148ba45ed1b (patch) | |
| tree | 36c06d1813672f74037813def1df51c3f0e45d21 | |
| parent | cdf97dbf545a443d6ae19713a7de2638cba717ed (diff) | |
| download | gcc-hjl/asan.tar.gz | |
Export "detect_leaks=0 detect_odr_violation=0"hjl/asan
2014-11-15 H.J. Lu <hongjiu.lu@intel.com>
PR bootstrap/63888
* bootstrap-asan.mk (ASAN_OPTIONS): Export "detect_leaks=0
detect_odr_violation=0"
| -rw-r--r-- | config/bootstrap-asan.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config/bootstrap-asan.mk b/config/bootstrap-asan.mk index fbef02125dc..3c41301fa25 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 and odr-violation in bootstrap. +export ASAN_OPTIONS="detect_leaks=0 detect_odr_violation=0" + STAGE2_CFLAGS += -fsanitize=address STAGE3_CFLAGS += -fsanitize=address POSTSTAGE1_LDFLAGS += -fsanitize=address -static-libasan \ |
