• Home
  • Raw
  • Download

Lines Matching full:arch

6 macro(add_ubsan_testsuite test_mode sanitizer arch lld thinlto)
21 set(CONFIG_NAME ${CONFIG_NAME}-${arch})
31 macro(add_ubsan_testsuites test_mode sanitizer arch)
32 add_ubsan_testsuite(${test_mode} ${sanitizer} ${arch} False False)
34 if(COMPILER_RT_HAS_LLD AND arch STREQUAL "x86_64" AND NOT (APPLE OR WIN32))
35 add_ubsan_testsuite(${test_mode} ${sanitizer} ${arch} True False)
44 foreach(arch ${UBSAN_TEST_ARCH})
45 set(UBSAN_TEST_TARGET_ARCH ${arch})
50 get_test_cc_for_arch(${arch} UBSAN_TEST_TARGET_CC UBSAN_TEST_TARGET_CFLAGS)
51 add_ubsan_testsuites("Standalone" ubsan ${arch})
53 if(COMPILER_RT_HAS_ASAN AND ";${ASAN_SUPPORTED_ARCH};" MATCHES ";${arch};")
58 (NOT (OS_NAME MATCHES "SunOS" AND ${arch} MATCHES x86_64)) AND
59 (NOT ${arch} MATCHES sparc))
60 add_ubsan_testsuites("AddressSanitizer" asan ${arch})
63 if(COMPILER_RT_HAS_MSAN AND ";${MSAN_SUPPORTED_ARCH};" MATCHES ";${arch};")
64 add_ubsan_testsuites("MemorySanitizer" msan ${arch})
66 if(COMPILER_RT_HAS_TSAN AND ";${TSAN_SUPPORTED_ARCH};" MATCHES ";${arch};" AND NOT ANDROID)
67 add_ubsan_testsuites("ThreadSanitizer" tsan ${arch})
71 macro(add_ubsan_device_testsuite test_mode sanitizer platform arch)
74 set(CONFIG_NAME ${UBSAN_LIT_TEST_MODE}-${platform}-${arch})
75 set(UBSAN_TEST_TARGET_ARCH ${arch})
92 add_lit_testsuite(check-ubsan-${test_mode}-${platform}-${arch}
100 foreach(arch ${UBSAN_TEST_ARCH})
101 set(UBSAN_TEST_TARGET_ARCH ${arch})
102 get_test_cc_for_arch(${arch} UBSAN_TEST_TARGET_CC UBSAN_TEST_TARGET_CFLAGS)
104 add_ubsan_testsuites("StandaloneStatic" ubsan ${arch})
119 foreach(arch ${UBSAN_TEST_${platform}_ARCHS})
122 "${arch}"
125 add_ubsan_device_testsuite("Standalone" ubsan ${platform} ${arch})
127 if(COMPILER_RT_HAS_ASAN AND ";${ASAN_SUPPORTED_ARCH};" MATCHES ";${arch};")
128 add_ubsan_device_testsuite("AddressSanitizer" asan ${platform} ${arch})
131 if(COMPILER_RT_HAS_TSAN AND ";${TSAN_SUPPORTED_ARCH};" MATCHES ";${arch};")
132 add_ubsan_device_testsuite("ThreadSanitizer" tsan ${platform} ${arch})