forked from OSchip/llvm-project
Automatically pick up new sanitizers in cmake.
Change the default of COMPILER_RT_SANITIZERS_TO_BUILD to "all" in order to automatically pick up new sanitizers in existing build trees. llvm-svn: 311824
This commit is contained in:
parent
f667ad5f98
commit
c28cedcfe8
|
@ -471,7 +471,7 @@ else()
|
|||
endif()
|
||||
|
||||
set(ALL_SANITIZERS asan;dfsan;msan;tsan;safestack;cfi;esan;scudo)
|
||||
set(COMPILER_RT_SANITIZERS_TO_BUILD ${ALL_SANITIZERS} CACHE STRING
|
||||
set(COMPILER_RT_SANITIZERS_TO_BUILD all CACHE STRING
|
||||
"sanitizers to build if supported on the target (all;${ALL_SANITIZERS})")
|
||||
list_replace(COMPILER_RT_SANITIZERS_TO_BUILD all "${ALL_SANITIZERS}")
|
||||
|
||||
|
|
Loading…
Reference in New Issue