[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
This commit is contained in:
Michael Jones 2021-07-23 22:15:03 +00:00
parent 6b9aba43a2
commit 016ae7df95

View file

@ -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)