Skip to content

Commit 388c55a

Browse files
committed
[lsan][ubsan] Use compiler_rt_build_runtime
Missed by llvm#98240
1 parent 9865171 commit 388c55a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler-rt/lib/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ endif()
3838
if(COMPILER_RT_BUILD_SANITIZERS)
3939
if(COMPILER_RT_HAS_SANITIZER_COMMON)
4040
add_subdirectory(stats)
41-
add_subdirectory(lsan)
42-
add_subdirectory(ubsan)
41+
compiler_rt_build_runtime(lsan)
42+
compiler_rt_build_runtime(ubsan)
4343
endif()
4444

4545
foreach(sanitizer ${COMPILER_RT_SANITIZERS_TO_BUILD})

0 commit comments

Comments
 (0)