[compiler-rt] r219496 - [asan][mips] Adding support of asan for mipsel arch
Petar Jovanovic
petar.jovanovic at imgtec.com
Fri Oct 10 06:46:56 PDT 2014
Author: petarj
Date: Fri Oct 10 08:46:55 2014
New Revision: 219496
URL: http://llvm.org/viewvc/llvm-project?rev=219496&view=rev
Log:
[asan][mips] Adding support of asan for mipsel arch
cmake/config-ix.cmake: Enabled building of asan for mipsel arch
test/asan/CMakeLists.txt: Enabled testing of asan for mipsel
Patch by Kumar Sukhani
Differential Revision: http://reviews.llvm.org/D5615
Modified:
compiler-rt/trunk/cmake/config-ix.cmake
compiler-rt/trunk/test/asan/CMakeLists.txt
Modified: compiler-rt/trunk/cmake/config-ix.cmake
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/cmake/config-ix.cmake?rev=219496&r1=219495&r2=219496&view=diff
==============================================================================
--- compiler-rt/trunk/cmake/config-ix.cmake (original)
+++ compiler-rt/trunk/cmake/config-ix.cmake Fri Oct 10 08:46:55 2014
@@ -168,7 +168,7 @@ endfunction()
filter_available_targets(SANITIZER_COMMON_SUPPORTED_ARCH
x86_64 i386 i686 powerpc64 arm aarch64 mips mips64 mipsel mips64el)
filter_available_targets(ASAN_SUPPORTED_ARCH
- x86_64 i386 i686 powerpc64 arm mips)
+ x86_64 i386 i686 powerpc64 arm mips mipsel)
filter_available_targets(DFSAN_SUPPORTED_ARCH x86_64)
filter_available_targets(LSAN_SUPPORTED_ARCH x86_64)
# LSan common files should be available on all architectures supported
Modified: compiler-rt/trunk/test/asan/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/CMakeLists.txt?rev=219496&r1=219495&r2=219496&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/CMakeLists.txt (original)
+++ compiler-rt/trunk/test/asan/CMakeLists.txt Fri Oct 10 08:46:55 2014
@@ -109,7 +109,7 @@ else() # Not Android
endif()
endif()
- if(CAN_TARGET_mips)
+ if(CAN_TARGET_mips OR CAN_TARGET_mipsel)
set(ASAN_TEST_CONFIG_SUFFIX "32")
set(ASAN_TEST_BITS "32")
set(ASAN_TEST_TARGET_CFLAGS ${TARGET_32_BIT_CFLAGS})
More information about the llvm-commits
mailing list