light up sanitizers for ARM
authorGreg Fitzgerald <gregf@codeaurora.org>
Thu, 29 May 2014 19:01:32 +0000 (19:01 +0000)
committerGreg Fitzgerald <gregf@codeaurora.org>
Thu, 29 May 2014 19:01:32 +0000 (19:01 +0000)
commit32685ec5fdc5b23a24f831e832c54f13fcb352ff
tree20ecd9f0eeedd12dd7fab264d6c0fc03e9191f9a
parenta02e66499bd8e97e9212ee3f97e9348e2e0cc2c7
light up sanitizers for ARM

You can expect the sanitizers to be built under any of the following conditions:

1) CMAKE_C_COMPILER is GCC built to cross-compile to ARM
2) CMAKE_C_COMPILER is Clang built to cross-compile to ARM (ARM is default target)
3) CMAKE_C_COMPILER is Clang and CMAKE_C_FLAGS contains -target and --sysroot

Differential Revision: http://reviews.llvm.org/D3794

llvm-svn: 209835
compiler-rt/CMakeLists.txt
compiler-rt/lib/lsan/CMakeLists.txt
compiler-rt/test/asan/CMakeLists.txt
compiler-rt/test/ubsan/CMakeLists.txt