diff --git a/compiler-rt/test/ubsan/CMakeLists.txt b/compiler-rt/test/ubsan/CMakeLists.txt index 9b7fbe3c8f926..410585e6a07ef 100644 --- a/compiler-rt/test/ubsan/CMakeLists.txt +++ b/compiler-rt/test/ubsan/CMakeLists.txt @@ -49,11 +49,9 @@ foreach(arch ${UBSAN_TEST_ARCH}) add_ubsan_testsuites("Standalone" ubsan ${arch}) if(COMPILER_RT_HAS_ASAN AND ";${ASAN_SUPPORTED_ARCH};" MATCHES ";${arch};") - # TODO(wwchrome): Re-enable ubsan for asan win 64-bit when ready. - # Disable ubsan with AddressSanitizer tests for Windows 64-bit, - # 64-bit Solaris/x86 and 64-bit SPARC. - if((NOT (OS_NAME MATCHES "Windows" AND CMAKE_SIZEOF_VOID_P EQUAL 8)) AND - (NOT (OS_NAME MATCHES "SunOS" AND ${arch} MATCHES x86_64)) AND + # Disable ubsan with AddressSanitizer tests for 64-bit Solaris/x86 and + # 64-bit SPARC. + if((NOT (OS_NAME MATCHES "SunOS" AND ${arch} MATCHES x86_64)) AND (NOT ${arch} MATCHES sparcv9)) add_ubsan_testsuites("AddressSanitizer" asan ${arch}) endif()