You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG}${THREAD_SAN_FLAGS}"CACHEINTERNAL"Flags used by the C compiler during thread sanitizer builds." FORCE)
63
61
set(CMAKE_CXX_FLAGS_DEBUG"${CMAKE_CXX_FLAGS_DEBUG}${THREAD_SAN_FLAGS}"CACHEINTERNAL"Flags used by the C++ compiler during thread sanitizer builds." FORCE)
64
62
set(CMAKE_SHARED_LINKER_FLAGS_DEBUG "${CMAKE_SHARED_LINKER_FLAGS_DEBUG}"CACHEINTERNAL"Flags used for the linker during thread sanitizer builds" FORCE)
63
+
elseif(ALL_SANITIZERS_AVAILABLE_AND_ENABLED)
64
+
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG}${ALL_ACTIVE_SAN_FLAGS} -fno-omit-frame-pointer -fno-optimize-sibling-calls"CACHEINTERNAL"Flags used by the C compiler during most possible sanitizer builds." FORCE)
65
+
set(CMAKE_CXX_FLAGS_DEBUG"${CMAKE_CXX_FLAGS_DEBUG}${ALL_ACTIVE_SAN_FLAGS} -fno-omit-frame-pointer -fno-optimize-sibling-calls"CACHEINTERNAL"Flags used by the C++ compiler during most possible sanitizer builds." FORCE)
66
+
set(CMAKE_SHARED_LINKER_FLAGS_DEBUG "${CMAKE_SHARED_LINKER_FLAGS_DEBUG}"CACHEINTERNAL"Flags used for the linker during most possible sanitizer builds" FORCE)
65
67
elseif(ADDRESS_SANITIZER_AVAILABLE_AND_ENABLED)
66
68
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG}${ADDR_SAN_FLAGS} -fno-omit-frame-pointer -fno-optimize-sibling-calls"CACHEINTERNAL"Flags used by the C compiler during address sanitizer builds." FORCE)
67
69
set(CMAKE_CXX_FLAGS_DEBUG"${CMAKE_CXX_FLAGS_DEBUG}${ADDR_SAN_FLAGS} -fno-omit-frame-pointer -fno-optimize-sibling-calls"CACHEINTERNAL"Flags used by the C++ compiler during address sanitizer builds." FORCE)
@@ -74,9 +76,5 @@ if(NOT CMAKE_CROSSCOMPILING)
74
76
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG}${UDEF_SAN_FLAGS}"CACHEINTERNAL"Flags used by the C compiler during undefined behavior sanitizer builds." FORCE)
75
77
set(CMAKE_CXX_FLAGS_DEBUG"${CMAKE_CXX_FLAGS_DEBUG}${UDEF_SAN_FLAGS}"CACHEINTERNAL"Flags used by the C++ compiler during undefined behavior sanitizer builds." FORCE)
76
78
set(CMAKE_SHARED_LINKER_FLAGS_DEBUG "${CMAKE_SHARED_LINKER_FLAGS_DEBUG}"CACHEINTERNAL"Flags used for the linker during undefined behavior sanitizer builds" FORCE)
77
-
elseif(ALL_SANITIZERS_AVAILABLE_AND_ENABLED)
78
-
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG}${ALL_SAN_FLAGS} -fno-omit-frame-pointer -fno-optimize-sibling-calls"CACHEINTERNAL"Flags used by the C compiler during most possible sanitizer builds." FORCE)
79
-
set(CMAKE_CXX_FLAGS_DEBUG"${CMAKE_CXX_FLAGS_DEBUG}${ALL_SAN_FLAGS} -fno-omit-frame-pointer -fno-optimize-sibling-calls"CACHEINTERNAL"Flags used by the C++ compiler during most possible sanitizer builds." FORCE)
80
-
set(CMAKE_SHARED_LINKER_FLAGS_DEBUG "${CMAKE_SHARED_LINKER_FLAGS_DEBUG}"CACHEINTERNAL"Flags used for the linker during most possible sanitizer builds" FORCE)
0 commit comments