[PATCH] D43155: [asan] Add "arm64" into the list of 64-bit architectures

Phabricator via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 15 14:16:57 PST 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rCRT325300 (authored by kuba.brecka, committed by ).

Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D43155

Files:
  test/asan/CMakeLists.txt


Index: test/asan/CMakeLists.txt
===================================================================
--- test/asan/CMakeLists.txt
+++ test/asan/CMakeLists.txt
@@ -18,10 +18,10 @@
 endif()
 
 macro(get_bits_for_arch arch bits)
-  if (${arch} MATCHES "i386|arm|mips|mipsel")
-    set(${bits} 32)
-  elseif (${arch} MATCHES "x86_64|powerpc64|powerpc64le|aarch64|mips64|mips64el|s390x")
+  if (${arch} MATCHES "x86_64|powerpc64|powerpc64le|aarch64|arm64|mips64|mips64el|s390x")
     set(${bits} 64)
+  elseif (${arch} MATCHES "i386|arm|mips|mipsel")
+    set(${bits} 32)
   else()
     message(FATAL_ERROR "Unknown target architecture: ${arch}")
   endif()


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43155.134508.patch
Type: text/x-patch
Size: 652 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180215/d1068d32/attachment.bin>


More information about the llvm-commits mailing list