[libc-commits] [libc] [libc] add snmalloc as an alternative allocator to libc (PR #122284)
Schrodinger ZHU Yifan via libc-commits
libc-commits at lists.llvm.org
Thu Jan 30 01:00:58 PST 2025
================
@@ -324,7 +324,49 @@ add_entrypoint_object(
)
if(NOT LIBC_TARGET_OS_IS_BAREMETAL AND NOT LIBC_TARGET_OS_IS_GPU)
- if(LLVM_LIBC_INCLUDE_SCUDO)
----------------
SchrodingerZhu wrote:
> What happens if LLVM_LIBC_INCLUDE_SCUDO and LLVM_LIBC_INCLUDE_SNMALLOC are used at the same time?
That is checked and will explicitly error out in another cmake place. However, I second that having a switch to better. Let me do it in this patch then.
https://github.com/llvm/llvm-project/pull/122284
More information about the libc-commits
mailing list