summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexey Samsonov <vonosmas@gmail.com>2015-03-05 00:33:11 +0000
committerAlexey Samsonov <vonosmas@gmail.com>2015-03-05 00:33:11 +0000
commitf3761c36f247dc34fd931d7f453f2040df3a3a15 (patch)
treef3dcd4430fdc18f7bb45025364799e2843a80683
parent385f4b36d830a08ce2b7d412118dee4d1feb42c7 (diff)
downloadbcm5719-llvm-f3761c36f247dc34fd931d7f453f2040df3a3a15.tar.gz
bcm5719-llvm-f3761c36f247dc34fd931d7f453f2040df3a3a15.zip
[ASan] Fix asan-(32|64)-bits lit tests feature.
It broke down at some point, and all tests with REQUIRES: asan-(32|64)-bits line stopped being executed. Restore the intended behavior. llvm-svn: 231325
-rw-r--r--compiler-rt/test/asan/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler-rt/test/asan/CMakeLists.txt b/compiler-rt/test/asan/CMakeLists.txt
index e1b81264604..08c1689889d 100644
--- a/compiler-rt/test/asan/CMakeLists.txt
+++ b/compiler-rt/test/asan/CMakeLists.txt
@@ -5,9 +5,9 @@ set(ASAN_DYNAMIC_TESTSUITES)
macro(get_bits_for_arch arch bits)
if (${arch} MATCHES "i386|i686|arm|mips|mipsel")
- set(bits 32)
+ set(${bits} 32)
elseif (${arch} MATCHES "x86_64|powerpc64|powerpc64le|aarch64|mips64|mips64el")
- set(bits 64)
+ set(${bits} 64)
else()
message(FATAL_ERROR "Unknown target architecture: ${arch}")
endif()
OpenPOWER on IntegriCloud