[AArch64] Enable Address Sanitizer.
authorChristophe Lyon <christophe.lyon@linaro.org>
Fri, 26 Sep 2014 13:07:42 +0000 (13:07 +0000)
committerChristophe Lyon <clyon@gcc.gnu.org>
Fri, 26 Sep 2014 13:07:42 +0000 (15:07 +0200)
commita3125fc2339aea0f552800ae4a052af49e16e54e
tree9fce4544423abd6254839964208ba2182026f2c4
parentbf898b300eea2cd87a1afcadd886c7ae3d593091
[AArch64] Enable Address Sanitizer.

2014-09-26  Christophe Lyon  <christophe.lyon@linaro.org>

[AArch64] Enable Address Sanitizer.

gcc/
* config/aarch64/aarch64-linux.h (ASAN_CC1_SPEC): Define.
        (CC1_SPEC): Define.
        * config/aarch64/aarch64.c (aarch64_asan_shadow_offset): New function.
        (TARGET_ASAN_SHADOW_OFFSET): Define.

libsanitzer/
* configure.tgt: Enable build on aarch64*-linux.

From-SVN: r215642
gcc/ChangeLog
gcc/config/aarch64/aarch64-linux.h
gcc/config/aarch64/aarch64.c
libsanitizer/ChangeLog
libsanitizer/configure.tgt