Lines Matching refs:arch

72   foreach(arch ${ASAN_SUPPORTED_ARCH})
73 add_compiler_rt_object_library(RTAsan ${arch}
76 add_compiler_rt_object_library(RTAsan_cxx ${arch}
79 add_compiler_rt_object_library(RTAsan_preinit ${arch}
82 add_compiler_rt_object_library(RTAsan_dynamic ${arch}
106 foreach(arch ${ASAN_SUPPORTED_ARCH})
108 $<TARGET_OBJECTS:RTInterception.${arch}>
109 $<TARGET_OBJECTS:RTSanitizerCommon.${arch}>
110 $<TARGET_OBJECTS:RTSanitizerCommonLibc.${arch}>
111 $<TARGET_OBJECTS:RTLSanCommon.${arch}>
112 $<TARGET_OBJECTS:RTUbsan.${arch}>)
114 add_compiler_rt_runtime(clang_rt.asan-${arch} ${arch} STATIC
115 SOURCES $<TARGET_OBJECTS:RTAsan_preinit.${arch}>
116 $<TARGET_OBJECTS:RTAsan.${arch}>
120 add_dependencies(asan clang_rt.asan-${arch})
122 add_compiler_rt_runtime(clang_rt.asan_cxx-${arch} ${arch} STATIC
123 SOURCES $<TARGET_OBJECTS:RTAsan_cxx.${arch}>
124 $<TARGET_OBJECTS:RTUbsan_cxx.${arch}>
127 add_dependencies(asan clang_rt.asan_cxx-${arch})
129 add_compiler_rt_runtime(clang_rt.asan-preinit-${arch} ${arch} STATIC
130 SOURCES $<TARGET_OBJECTS:RTAsan_preinit.${arch}>
133 add_dependencies(asan clang_rt.asan-preinit-${arch})
136 set(SHARED_ASAN_NAME clang_rt.asan_dynamic-${arch}${COMPILER_RT_OS_SUFFIX})
138 set(SHARED_ASAN_NAME clang_rt.asan-${arch}${COMPILER_RT_OS_SUFFIX})
140 add_compiler_rt_runtime(clang_rt.asan-dynamic-${arch} ${arch} SHARED
142 SOURCES $<TARGET_OBJECTS:RTAsan_dynamic.${arch}>
143 $<TARGET_OBJECTS:RTUbsan_cxx.${arch}>
147 target_link_libraries(clang_rt.asan-dynamic-${arch} ${ASAN_DYNAMIC_LIBS})
148 add_dependencies(asan clang_rt.asan-dynamic-${arch})
150 if (UNIX AND NOT ${arch} MATCHES "i386|i686")
151 add_sanitizer_rt_symbols(clang_rt.asan_cxx-${arch})
152 add_dependencies(asan clang_rt.asan_cxx-${arch}-symbols)
153 add_sanitizer_rt_symbols(clang_rt.asan-${arch} asan.syms.extra)
154 add_dependencies(asan clang_rt.asan-${arch}-symbols)
158 add_compiler_rt_runtime(clang_rt.asan_dll_thunk-${arch} ${arch} STATIC
160 $<TARGET_OBJECTS:RTInterception.${arch}>
163 add_dependencies(asan clang_rt.asan_dll_thunk-${arch})
164 add_compiler_rt_runtime(clang_rt.asan_dynamic_runtime_thunk-${arch} ${arch}
169 add_dependencies(asan clang_rt.asan_dynamic_runtime_thunk-${arch})