aboutsummaryrefslogtreecommitdiff
path: root/libc/lib
diff options
context:
space:
mode:
authorMichael Jones <michaelrj@google.com>2021-07-23 22:15:03 +0000
committerMichael Jones <michaelrj@google.com>2021-07-26 17:24:52 +0000
commit016ae7df95f2d30bc8e44d5e06571e7510770379 (patch)
treeb383aa053645a8ab3f2409bd0084f8fa0fcc439c /libc/lib
parent6b9aba43a2392c307694229261c2be66557b6e88 (diff)
downloadllvm-016ae7df95f2d30bc8e44d5e06571e7510770379.zip
llvm-016ae7df95f2d30bc8e44d5e06571e7510770379.tar.gz
llvm-016ae7df95f2d30bc8e44d5e06571e7510770379.tar.bz2
[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
Diffstat (limited to 'libc/lib')
-rw-r--r--libc/lib/CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/lib/CMakeLists.txt b/libc/lib/CMakeLists.txt
index 3966658..237d5a1 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)