diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2012-12-12 13:45:37 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2012-12-12 13:45:37 +0000 |
commit | 3061d0eed58a9b846c2ba770a84c361b8027e57d (patch) | |
tree | 69bba3df74eeb9a377350a7797176547daf2c0db /config | |
parent | a5149a541a39d07c5db1bbc4b3eda1c94dbf32f7 (diff) | |
download | newlib-3061d0eed58a9b846c2ba770a84c361b8027e57d.zip newlib-3061d0eed58a9b846c2ba770a84c361b8027e57d.tar.gz newlib-3061d0eed58a9b846c2ba770a84c361b8027e57d.tar.bz2 |
Add bootstrap-asan.mk
* bootstrap-asan.mk: New file.
Diffstat (limited to 'config')
-rw-r--r-- | config/ChangeLog | 4 | ||||
-rw-r--r-- | config/bootstrap-asan.mk | 6 |
2 files changed, 10 insertions, 0 deletions
diff --git a/config/ChangeLog b/config/ChangeLog index 56dc9b3..ed6fc87 100644 --- a/config/ChangeLog +++ b/config/ChangeLog @@ -1,3 +1,7 @@ +2012-11-28 H.J. Lu <hongjiu.lu@intel.com> + + * bootstrap-asan.mk: New file. + 2012-11-04 Thomas Schwinge <thomas@codesourcery.com> * dfp.m4 (enable_decimal_float): Enable for i?86*-*-gnu*. diff --git a/config/bootstrap-asan.mk b/config/bootstrap-asan.mk new file mode 100644 index 0000000..d37a9da --- /dev/null +++ b/config/bootstrap-asan.mk @@ -0,0 +1,6 @@ +# This option enables -fsanitize=address for stage2 and stage3. + +STAGE2_CFLAGS += -fsanitize=address +STAGE3_CFLAGS += -fsanitize=address +POSTSTAGE1_LDFLAGS += -fsanitize=address -static-libasan \ + -B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/asan/.libs |