From 016ae7df95f2d30bc8e44d5e06571e7510770379 Mon Sep 17 00:00:00 2001 From: Michael Jones Date: Fri, 23 Jul 2021 22:15:03 +0000 Subject: [PATCH] [libc] add scudo wrappers to llvm libc The previous patch included the implementations for the scudo allocator, but not the wrappers. This change fixes that. Reviewed By: sivachandra Differential Revision: https://reviews.llvm.org/D106718 --- libc/lib/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libc/lib/CMakeLists.txt b/libc/lib/CMakeLists.txt index 3966658604d6..237d5a1e13dc 100644 --- a/libc/lib/CMakeLists.txt +++ b/libc/lib/CMakeLists.txt @@ -1,7 +1,7 @@ -set(SCUDO_DEP "") +set(SCUDO_DEPS "") if(LLVM_LIBC_INCLUDE_SCUDO) - list(APPEND SCUDO_DEP RTScudoStandalone.${LIBC_TARGET_ARCHITECTURE}) + list(APPEND SCUDO_DEPS RTScudoStandalone.${LIBC_TARGET_ARCHITECTURE} RTScudoStandaloneCWrappers.${LIBC_TARGET_ARCHITECTURE}) endif() add_entrypoint_library( @@ -9,7 +9,7 @@ add_entrypoint_library( DEPENDS ${TARGET_LLVMLIBC_ENTRYPOINTS} EXT_DEPS - ${SCUDO_DEP} + ${SCUDO_DEPS} ) if(LLVM_ENABLE_PER_TARGET_RUNTIME_DIR)