• Home
  • Raw
  • Download

Lines Matching +full:- +full:d_has_exceptions

5   # For RUNTIME_OUTPUT_DIRECTORY variable, Multi-configuration generators
6 # append a per-configuration subdirectory to the specified directory.
27 # architectures with name "<name>.<arch>" for non-Darwin platforms if
63 set_target_properties(${libname} PROPERTIES FOLDER "Compiler-RT Libraries")
128 set(libname "${name}-${arch}")
131 set(libname "${name}-dynamic-${arch}")
135 set(output_name_${libname} ${name}_dynamic-${arch}${COMPILER_RT_OS_SUFFIX})
137 set(output_name_${libname} ${name}-${arch}${COMPILER_RT_OS_SUFFIX})
156 if(NOT TARGET install-${LIB_PARENT_TARGET})
159 # installation when running the multi-configuration generators.
160 add_custom_target(install-${LIB_PARENT_TARGET}
163 -DCMAKE_INSTALL_COMPONENT=${LIB_PARENT_TARGET}
164 -P "${CMAKE_BINARY_DIR}/cmake_install.cmake")
165 set_target_properties(install-${LIB_PARENT_TARGET} PROPERTIES
166 FOLDER "Compiler-RT Misc")
171 # If you are using a multi-configuration generator we don't generate
172 # per-library install rules, so we fall back to the parent target COMPONENT
187 set_target_properties(${libname} PROPERTIES FOLDER "Compiler-RT Runtime")
199 # We only want to generate per-library install targets if you aren't using
202 add_custom_target(install-${libname}
205 -DCMAKE_INSTALL_COMPONENT=${libname}
206 -P "${CMAKE_BINARY_DIR}/cmake_install.cmake")
210 add_dependencies(install-${LIB_PARENT_TARGET} install-${libname})
234 set(COMPILER_RT_GTEST_SOURCE ${COMPILER_RT_GTEST_PATH}/src/gtest-all.cc)
236 -DGTEST_NO_LLVM_RAW_OSTREAM=1
237 -DGTEST_HAS_RTTI=0
238 -I${COMPILER_RT_GTEST_PATH}/include
239 -I${COMPILER_RT_GTEST_PATH}
242 append_list_if(COMPILER_RT_DEBUG -DSANITIZER_DEBUG=1 COMPILER_RT_UNITTEST_CFLAGS)
246 list(APPEND COMPILER_RT_UNITTEST_CFLAGS -D_HAS_EXCEPTIONS=0)
249 list(APPEND COMPILER_RT_UNITTEST_CFLAGS -Wno-undefined-inline)
252 list(APPEND COMPILER_RT_GTEST_CFLAGS -DGTEST_HAS_SEH=0)
255 list(APPEND COMPILER_RT_GTEST_CFLAGS -Wno-deprecated-declarations)
260 list(APPEND COMPILER_RT_GTEST_CFLAGS -D_VARIADIC_MAX=10)
286 # Use host compiler in a standalone build, and just-built Clang otherwise.
295 # because we want to use -fsanitize flags.
302 -o "${output_bin}"
305 set_target_properties(${test_name} PROPERTIES FOLDER "Compiler-RT Tests")
316 COMMAND ${CMAKE_COMMAND} -E copy_if_different ${src_file} ${dst_file}
325 set_target_properties(${target_name} PROPERTIES FOLDER "Compiler-RT Misc")
333 COMMAND ${CMAKE_COMMAND} -E copy_if_different ${src} ${dst}
364 CMAKE_ARGS -DCMAKE_MAKE_PROGRAM:STRING=${CMAKE_MAKE_PROGRAM}
365 -DCMAKE_C_COMPILER=${COMPILER_RT_TEST_COMPILER}
366 -DCMAKE_CXX_COMPILER=${COMPILER_RT_TEST_CXX_COMPILER}
367 -DCMAKE_C_FLAGS=${LIBCXX_CFLAGS}
368 -DCMAKE_CXX_FLAGS=${LIBCXX_CFLAGS}
369 -DCMAKE_BUILD_TYPE=Release
370 -DCMAKE_INSTALL_PREFIX:PATH=<INSTALL_DIR>
371 -DLLVM_PATH=${LLVM_MAIN_SRC_DIR}
378 ExternalProject_Add_Step(${name} force-reconfigure
384 COMMAND ${CMAKE_COMMAND} -E remove_directory <BINARY_DIR>
385 COMMAND ${CMAKE_COMMAND} -E make_directory <BINARY_DIR>
398 set(strip_command COMMAND xcrun strip -Sl $<TARGET_FILE:${name}>)
402 if(CMAKE_CXX_FLAGS MATCHES "-flto"
403 OR CMAKE_CXX_FLAGS_${uppercase_CMAKE_BUILD_TYPE} MATCHES "-flto")
405 set(lto_object ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/${name}-lto.o)
407 LINK_FLAGS " -Wl,-object_path_lto -Wl,${lto_object}")
413 …message(FATAL_ERROR "COMPILER_RT_EXTERNALIZE_DEBUGINFO isn't implemented for non-darwin platforms!…