Lines Matching full:arch

138   macro(partially_link_libcxx name dir arch)
139 if(${arch} MATCHES "i386")
144 set(cxx_${arch}_merge_dir "${CMAKE_CURRENT_BINARY_DIR}/cxx_${arch}_merge.dir")
145 file(MAKE_DIRECTORY ${cxx_${arch}_merge_dir})
146 add_custom_command(TARGET clang_rt.${name}-${arch} POST_BUILD
147 …LATION_ARGUMENT} --whole-archive "$<TARGET_LINKER_FILE:clang_rt.${name}-${arch}>" --no-whole-archi…
149 COMMAND ${CMAKE_COMMAND} -E remove "$<TARGET_LINKER_FILE:clang_rt.${name}-${arch}>"
150 COMMAND ${CMAKE_AR} qcs "$<TARGET_LINKER_FILE:clang_rt.${name}-${arch}>" ${name}.o
151 WORKING_DIRECTORY ${cxx_${arch}_merge_dir}
155 foreach(arch ${FUZZER_SUPPORTED_ARCH})
156 get_target_flags_for_arch(${arch} TARGET_CFLAGS)
157 set(LIBCXX_${arch}_PREFIX ${CMAKE_CURRENT_BINARY_DIR}/libcxx_fuzzer_${arch})
158 add_custom_libcxx(libcxx_fuzzer_${arch} ${LIBCXX_${arch}_PREFIX}
164 … target_compile_options(RTfuzzer.${arch} PRIVATE -isystem ${LIBCXX_${arch}_PREFIX}/include/c++/v1)
165 add_dependencies(RTfuzzer.${arch} libcxx_fuzzer_${arch}-build)
166 …target_compile_options(RTfuzzer_main.${arch} PRIVATE -isystem ${LIBCXX_${arch}_PREFIX}/include/c++…
167 add_dependencies(RTfuzzer_main.${arch} libcxx_fuzzer_${arch}-build)
168 …target_compile_options(RTfuzzer_interceptors.${arch} PRIVATE -isystem ${LIBCXX_${arch}_PREFIX}/inc…
169 add_dependencies(RTfuzzer_interceptors.${arch} libcxx_fuzzer_${arch}-build)
170 partially_link_libcxx(fuzzer_no_main ${LIBCXX_${arch}_PREFIX} ${arch})
171 partially_link_libcxx(fuzzer_interceptors ${LIBCXX_${arch}_PREFIX} ${arch})
172 partially_link_libcxx(fuzzer ${LIBCXX_${arch}_PREFIX} ${arch})