]> git.ipfire.org Git - thirdparty/gcc.git/commit - libsanitizer/ChangeLog
arm.c (arm_asan_shadow_offset): New function.
authorChristophe Lyon <christophe.lyon@linaro.org>
Tue, 7 May 2013 14:17:50 +0000 (14:17 +0000)
committerChristophe Lyon <clyon@gcc.gnu.org>
Tue, 7 May 2013 14:17:50 +0000 (16:17 +0200)
commit8a5800b82f04303c1a6ed9094885ba79dfc4378a
treef49b90d6259dbe7cbb55464ba1121033590c72c4
parent7bf55a70ea2a606b387b8c8012dea8caa1f1502d
arm.c (arm_asan_shadow_offset): New function.

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.

From-SVN: r198683
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