Skip to content

Commit cf4d78f

Browse files
nikiccjdb
authored andcommitted
Build SanitizerCommon if ctx_profile enabled (llvm#105495)
ctx_profile has a dependency on SanitizerCommon, so make sure it is built even if we otherwise disable sanitizers.
1 parent b976048 commit cf4d78f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler-rt/lib/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ include(SanitizerUtils)
99
#
1010
#TODO: Refactor sanitizer_common into smaller pieces (e.g. flag parsing, utils).
1111
if (COMPILER_RT_HAS_SANITIZER_COMMON AND
12-
(COMPILER_RT_BUILD_SANITIZERS OR COMPILER_RT_BUILD_XRAY OR COMPILER_RT_BUILD_MEMPROF))
12+
(COMPILER_RT_BUILD_SANITIZERS OR COMPILER_RT_BUILD_XRAY OR COMPILER_RT_BUILD_MEMPROF OR COMPILER_RT_BUILD_CTX_PROFILE))
1313
add_subdirectory(sanitizer_common)
1414
endif()
1515

0 commit comments

Comments
 (0)