Skip to content

Commit 5998cd3

Browse files
authored andcommitted
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. (cherry picked from commit e338936)
1 parent 1414560 commit 5998cd3

File tree

Image for: File tree

1 file changed

Image for: 1 file changed
+1
-1
lines changed

1 file changed

Image for: 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

Image for: 0 commit comments
Comments
 (0)