summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorWill Schmidt <will_schmidt@vnet.ibm.com>2014-11-05 16:35:23 +0000
committerWill Schmidt <will_schmidt@vnet.ibm.com>2014-11-05 16:35:23 +0000
commit945610a52b45ba8fd5be7948bc2de563c98c4112 (patch)
tree23b978e8ebd22f3752a98b5fcaeba203b226a8af /cmake
parent78da10f2b6ae70827c60477d1f4d1987e2b442c2 (diff)
When run on a ppc64le based platform, the check-sanitizer build looks for
objects with the powerpc64le name. i.e. asan-powerpc64le.a This change allows those objects to be built. Differential Revision: http://reviews.llvm.org/D6043 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@221356 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake')
-rw-r--r--cmake/config-ix.cmake5
1 files changed, 3 insertions, 2 deletions
diff --git a/cmake/config-ix.cmake b/cmake/config-ix.cmake
index 0b722c366..083bc85a0 100644
--- a/cmake/config-ix.cmake
+++ b/cmake/config-ix.cmake
@@ -134,6 +134,7 @@ else()
test_target_arch(i386 ${TARGET_32_BIT_CFLAGS})
elseif("${LLVM_NATIVE_ARCH}" STREQUAL "PowerPC")
test_target_arch(powerpc64 ${TARGET_64_BIT_CFLAGS})
+ test_target_arch(powerpc64le ${TARGET_64_BIT_CFLAGS})
elseif("${LLVM_NATIVE_ARCH}" STREQUAL "Mips")
if("${COMPILER_RT_TEST_TARGET_ARCH}" MATCHES "mipsel|mips64el")
# regex for mipsel, mips64el
@@ -169,9 +170,9 @@ endfunction()
# Arhcitectures supported by compiler-rt libraries.
filter_available_targets(SANITIZER_COMMON_SUPPORTED_ARCH
- x86_64 i386 i686 powerpc64 arm aarch64 mips mips64 mipsel mips64el)
+ x86_64 i386 i686 powerpc64 powerpc64le arm aarch64 mips mips64 mipsel mips64el)
filter_available_targets(ASAN_SUPPORTED_ARCH
- x86_64 i386 i686 powerpc64 arm mips mipsel)
+ x86_64 i386 i686 powerpc64 powerpc64le 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