2013-05-06 Christophe Lyon <christophe.lyon@linaro.org>
commit3e8585ab4d86ec10857fd0e433707f2e2c002655
authorclyon <clyon@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 7 May 2013 14:17:50 +0000 (7 14:17 +0000)
committerclyon <clyon@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 7 May 2013 14:17:50 +0000 (7 14:17 +0000)
treef49b90d6259dbe7cbb55464ba1121033590c72c4
parentd62a84806c374ac20f0c11d8793608e3ae9a7df0
2013-05-06  Christophe Lyon  <christophe.lyon@linaro.org>

gcc/
* config/arm/arm.c (arm_asan_shadow_offset): New function.
(TARGET_ASAN_SHADOW_OFFSET): Define.
* config/arm/linux-eabi.h (ASAN_CC1_SPEC): Define.
(LINUX_OR_ANDROID_CC): Add ASAN_CC1_SPEC.

libsanitizer/
* configure.tgt: Add ARM pattern.

testsuite/
* lib/target-supports.exp (check_effective_target_hw): New
function.
* c-c++-common/asan/clone-test-1.c: Call
check_effective_target_hw.
* c-c++-common/asan/rlimit-mmap-test-1.c: Likewise.
* c-c++-common/asan/heap-overflow-1.c: Update regexps to accept
possible decorations.
* c-c++-common/asan/null-deref-1.c: Likewise.
* c-c++-common/asan/stack-overflow-1.c: Likewise.
* c-c++-common/asan/strncpy-overflow-1.c: Likewise.
* c-c++-common/asan/use-after-free-1.c: Likewise.
* g++.dg/asan/deep-thread-stack-1.C: Likewise.
* g++.dg/asan/large-func-test-1.C: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@198683 138bc75d-0d04-0410-961f-82ee72b054a4
16 files changed:
gcc/ChangeLog
gcc/config/arm/arm.c
gcc/config/arm/linux-eabi.h
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/asan/clone-test-1.c
gcc/testsuite/c-c++-common/asan/heap-overflow-1.c
gcc/testsuite/c-c++-common/asan/null-deref-1.c
gcc/testsuite/c-c++-common/asan/rlimit-mmap-test-1.c
gcc/testsuite/c-c++-common/asan/stack-overflow-1.c
gcc/testsuite/c-c++-common/asan/strncpy-overflow-1.c
gcc/testsuite/c-c++-common/asan/use-after-free-1.c
gcc/testsuite/g++.dg/asan/deep-thread-stack-1.C
gcc/testsuite/g++.dg/asan/large-func-test-1.C
gcc/testsuite/lib/target-supports.exp
libsanitizer/ChangeLog
libsanitizer/configure.tgt