Lines Matching refs:arch

109 macro(asan_compile obj_list source arch kind)
111 set(output_obj "${obj_list}.${basename}.${arch}${kind}.o")
112 get_target_flags_for_arch(${arch} TARGET_CFLAGS)
125 macro(add_asan_test test_suite test_name arch kind)
127 get_target_flags_for_arch(${arch} TARGET_LINK_FLAGS)
185 macro(add_asan_tests_for_arch_and_kind arch kind)
189 asan_compile(ASAN_INST_TEST_OBJECTS ${src} ${arch} ${kind}
194 asan_compile(ASAN_INST_TEST_OBJECTS asan_mac_test_helpers.mm ${arch} ${kind}
198 add_asan_test(AsanUnitTests "Asan-${arch}${kind}-Test"
199 ${arch} ${kind} SUBDIR "default"
204 add_asan_test(AsanDynamicUnitTests "Asan-${arch}${kind}-Dynamic-Test"
205 ${arch} ${kind} SUBDIR "dynamic"
211 set(ASAN_TEST_RUNTIME RTAsanTest.${arch}${kind})
221 $<TARGET_OBJECTS:RTAsan.${arch}>
222 $<TARGET_OBJECTS:RTAsan_cxx.${arch}>
223 $<TARGET_OBJECTS:RTInterception.${arch}>
224 $<TARGET_OBJECTS:RTSanitizerCommon.${arch}>
225 $<TARGET_OBJECTS:RTSanitizerCommonLibc.${arch}>
226 $<TARGET_OBJECTS:RTLSanCommon.${arch}>
227 $<TARGET_OBJECTS:RTUbsan.${arch}>
228 $<TARGET_OBJECTS:RTUbsan_cxx.${arch}>)
236 asan_compile(ASAN_NOINST_TEST_OBJECTS ${src} ${arch} ${kind}
239 add_asan_test(AsanUnitTests "Asan-${arch}${kind}-Noinst-Test"
240 ${arch} ${kind} SUBDIR "default"
248 asan_compile(ASAN_BENCHMARKS_OBJECTS ${src} ${arch} ${kind}
251 add_asan_test(AsanBenchmarks "Asan-${arch}${kind}-Benchmark"
252 ${arch} ${kind} SUBDIR "default"
258 foreach(arch ${ASAN_SUPPORTED_ARCH})
259 add_asan_tests_for_arch_and_kind(${arch} "-inline")
260 add_asan_tests_for_arch_and_kind(${arch} "-with-calls"
266 foreach(arch ${ASAN_SUPPORTED_ARCH})
268 add_executable(AsanNoinstTest # FIXME: .arch?
269 $<TARGET_OBJECTS:RTAsan.${arch}>
270 $<TARGET_OBJECTS:RTInterception.${arch}>
271 $<TARGET_OBJECTS:RTSanitizerCommon.${arch}>
272 $<TARGET_OBJECTS:RTSanitizerCommonLibc.${arch}>