summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKostya Kortchinsky <kostyak@google.com>2016-12-20 21:17:58 +0000
committerKostya Kortchinsky <kostyak@google.com>2016-12-20 21:17:58 +0000
commite06bbf7210912d1d9fdeb8d1f35f4ed20c0059c5 (patch)
tree6646c4fe7853c377800ec566396e77a70b77090d
parent7e560a2ba19f8f41764ddf9ad6fc7b39350f1529 (diff)
downloadcompiler-rt-e06bbf7210912d1d9fdeb8d1f35f4ed20c0059c5.tar.gz
[scudo] ARM32 support
Summary: With the previous modifications, the code works on ARM32. The random shuffle test is unsupported on 32-bit platforms for the moment and being marked as such. There is no hardware support for the checksum computation yet, this will come at a later point. Reviewers: kcc, alekseyshl Subscribers: llvm-commits, aemerson, rengolin, mgorny Differential Revision: https://reviews.llvm.org/D27957 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@290201 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--cmake/config-ix.cmake2
-rw-r--r--test/scudo/random_shuffle.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/cmake/config-ix.cmake b/cmake/config-ix.cmake
index 4ea065711..5e2eefc30 100644
--- a/cmake/config-ix.cmake
+++ b/cmake/config-ix.cmake
@@ -172,7 +172,7 @@ set(ALL_UBSAN_SUPPORTED_ARCH ${X86} ${X86_64} ${ARM32} ${ARM64}
set(ALL_SAFESTACK_SUPPORTED_ARCH ${X86} ${X86_64} ${ARM64} ${MIPS32} ${MIPS64})
set(ALL_CFI_SUPPORTED_ARCH ${X86} ${X86_64} ${MIPS64})
set(ALL_ESAN_SUPPORTED_ARCH ${X86_64} ${MIPS64})
-set(ALL_SCUDO_SUPPORTED_ARCH ${X86} ${X86_64})
+set(ALL_SCUDO_SUPPORTED_ARCH ${X86} ${X86_64} ${ARM32})
set(ALL_XRAY_SUPPORTED_ARCH ${X86_64} ${ARM32} ${ARM64})
if(APPLE)
diff --git a/test/scudo/random_shuffle.cpp b/test/scudo/random_shuffle.cpp
index 026834034..fce522d94 100644
--- a/test/scudo/random_shuffle.cpp
+++ b/test/scudo/random_shuffle.cpp
@@ -7,7 +7,7 @@
// RUN: %run %t 10000 > %T/random_shuffle_tmp_dir/out2
// RUN: not diff %T/random_shuffle_tmp_dir/out?
// RUN: rm -rf %T/random_shuffle_tmp_dir
-// UNSUPPORTED: i386-linux,i686-linux
+// UNSUPPORTED: i386-linux,i686-linux,arm-linux,armhf-linux
// Tests that the allocator shuffles the chunks before returning to the user.