[libc-commits] [libc] 016ae7d - [libc] add scudo wrappers to llvm libc
Michael Jones via libc-commits
libc-commits at lists.llvm.org
Mon Jul 26 10:24:58 PDT 2021
Author: Michael Jones
Date: 2021-07-26T17:24:52Z
New Revision: 016ae7df95f2d30bc8e44d5e06571e7510770379
URL: https://github.com/llvm/llvm-project/commit/016ae7df95f2d30bc8e44d5e06571e7510770379
DIFF: https://github.com/llvm/llvm-project/commit/016ae7df95f2d30bc8e44d5e06571e7510770379.diff
LOG: [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
Added:
Modified:
libc/lib/CMakeLists.txt
Removed:
################################################################################
diff --git a/libc/lib/CMakeLists.txt b/libc/lib/CMakeLists.txt
index 3966658604d68..237d5a1e13dca 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)
More information about the libc-commits
mailing list