Build SanitizerCommon if ctx_profile enabled (#105495)
ctx_profile has a dependency on SanitizerCommon, so make sure it is built even if we otherwise disable sanitizers.
This commit is contained in:
parent
de2b6cb6ab
commit
e3389365b5
@ -9,7 +9,7 @@ include(SanitizerUtils)
|
|||||||
#
|
#
|
||||||
#TODO: Refactor sanitizer_common into smaller pieces (e.g. flag parsing, utils).
|
#TODO: Refactor sanitizer_common into smaller pieces (e.g. flag parsing, utils).
|
||||||
if (COMPILER_RT_HAS_SANITIZER_COMMON AND
|
if (COMPILER_RT_HAS_SANITIZER_COMMON AND
|
||||||
(COMPILER_RT_BUILD_SANITIZERS OR COMPILER_RT_BUILD_XRAY OR COMPILER_RT_BUILD_MEMPROF))
|
(COMPILER_RT_BUILD_SANITIZERS OR COMPILER_RT_BUILD_XRAY OR COMPILER_RT_BUILD_MEMPROF OR COMPILER_RT_BUILD_CTX_PROFILE))
|
||||||
add_subdirectory(sanitizer_common)
|
add_subdirectory(sanitizer_common)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user