[asan] Enable asan for aarch64
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Wed, 5 Aug 2015 15:13:33 +0000 (15:13 +0000)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Wed, 5 Aug 2015 15:13:33 +0000 (15:13 +0000)
commit975998bf6af72d38006b662f71050bf79127ddd2
treea10886c5df4fe082f85d6a74facf9d049f78d0b8
parentb6a79f9916f6b676e2ad250b9e125d9f7b165fe5
[asan] Enable asan for aarch64

This patch enables asan for aarch64/linux.  It marks it as 'unstable-release',
since some tests are failing due either kernel missing support of non-executable
pages in mmap or environment instability (infinite loop in juno reference
boards).

It sets decorate_proc_maps test to require stable-release, since the test expects
the shadow memory to not be executable and the support for aarch64 is only
added recently by Linux (da141706aea52c1a9 - 4.0).

It also XFAIL static_tls test for aarch64 linker may omit the __tls_get_addr call
as a TLS optimization.

llvm-svn: 244054
compiler-rt/cmake/config-ix.cmake
compiler-rt/lib/asan/asan_mapping.h
compiler-rt/lib/sanitizer_common/sanitizer_platform.h
compiler-rt/test/asan/TestCases/Linux/read_binary_name_regtest.c
compiler-rt/test/asan/TestCases/Linux/static_tls.cc
compiler-rt/test/asan/lit.cfg
compiler-rt/test/sanitizer_common/TestCases/Posix/decorate_proc_maps.cc