[compiler-rt] r298450 - Revert "[compiler-rt][asan] Turn on ASAN unittests for win64."
Reid Kleckner via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 21 15:07:06 PDT 2017
Author: rnk
Date: Tue Mar 21 17:07:06 2017
New Revision: 298450
URL: http://llvm.org/viewvc/llvm-project?rev=298450&view=rev
Log:
Revert "[compiler-rt][asan] Turn on ASAN unittests for win64."
This reverts commit r296878.
These test still require too much swap to pass reliably.
Modified:
compiler-rt/trunk/test/asan/CMakeLists.txt
Modified: compiler-rt/trunk/test/asan/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/CMakeLists.txt?rev=298450&r1=298449&r2=298450&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/CMakeLists.txt (original)
+++ compiler-rt/trunk/test/asan/CMakeLists.txt Tue Mar 21 17:07:06 2017
@@ -3,6 +3,12 @@ set(ASAN_LIT_SOURCE_DIR ${CMAKE_CURRENT_
set(ASAN_TESTSUITES)
set(ASAN_DYNAMIC_TESTSUITES)
+# FIXME: Shadow memory for 64-bit asan easily exhausts swap on most machines.
+# Find a way to make these tests pass reliably, and re-enable them.
+if(OS_NAME MATCHES "Windows" AND CMAKE_SIZEOF_VOID_P EQUAL 8)
+ set(EXCLUDE_FROM_ALL TRUE)
+endif()
+
macro(get_bits_for_arch arch bits)
if (${arch} MATCHES "i386|i686|arm|mips|mipsel")
set(${bits} 32)
@@ -108,3 +114,9 @@ if(COMPILER_RT_ASAN_HAS_STATIC_RUNTIME)
set(EXCLUDE_FROM_ALL FALSE)
endif()
endif()
+
+# Reset EXCLUDE_FROM_ALL to its initial value.
+# FIXME: Remove when we run Win64 asan tests.
+if(OS_NAME MATCHES "Windows" AND CMAKE_SIZEOF_VOID_P EQUAL 8)
+ set(EXCLUDE_FROM_ALL FALSE)
+endif()
More information about the llvm-commits
mailing list