Lines Matching +full:- +full:fno +full:- +full:sanitize
21 # libc++ is built with -nodefaultlibs, so we want all our checks to also
24 # performed without -nodefaultlibs) and the flags that are actually
25 # required during compilation (which has the -nodefaultlibs). libc is
28 check_c_compiler_flag(-nodefaultlibs LIBCXX_SUPPORTS_NODEFAULTLIBS_FLAG)
30 set(CMAKE_REQUIRED_FLAGS "${CMAKE_REQUIRED_FLAGS} -nodefaultlibs")
35 list(APPEND CMAKE_REQUIRED_FLAGS -rtlib=compiler-rt)
43 # programs to link successfully with -nodefaultlibs.
54 if (CMAKE_C_FLAGS MATCHES -fsanitize OR CMAKE_CXX_FLAGS MATCHES -fsanitize)
55 set(CMAKE_REQUIRED_FLAGS "${CMAKE_REQUIRED_FLAGS} -fno-sanitize=all")
57 if (CMAKE_C_FLAGS MATCHES -fsanitize-coverage OR CMAKE_CXX_FLAGS MATCHES -fsanitize-coverage)
58 …(CMAKE_REQUIRED_FLAGS "${CMAKE_REQUIRED_FLAGS} -fno-sanitize-coverage=edge,trace-cmp,indirect-call…
69 check_cxx_compiler_flag(/WX- LIBCXX_HAS_NO_WX_FLAG)
71 check_cxx_compiler_flag(/EHs- LIBCXX_HAS_NO_EHS_FLAG)
72 check_cxx_compiler_flag(/EHa- LIBCXX_HAS_NO_EHA_FLAG)
73 check_cxx_compiler_flag(/GR- LIBCXX_HAS_NO_GR_FLAG)
79 # use of pthread-win32 or similar libraries to emulate pthreads on Windows?