[libc-commits] [PATCH] D112104: [libc] add malloc funcs as external entrypoints

Michael Jones via Phabricator via libc-commits libc-commits at lists.llvm.org
Tue Oct 19 16:13:52 PDT 2021


michaelrj created this revision.
michaelrj added a reviewer: sivachandra.
Herald added subscribers: libc-commits, ecnelises, tschuett, mgorny.
Herald added a project: libc-project.
michaelrj requested review of this revision.

malloc, calloc, realloc, and free are all functions that other libc
functions depend on, but are pulled from external sources, instead of
having an internal implementation. This patch adds a way to include
functions like that as entrypoints in the list of external entrypoints,
and includes the malloc functions using this new path.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D112104

Files:
  libc/CMakeLists.txt
  libc/cmake/modules/LLVMLibCObjectRules.cmake
  libc/config/linux/x86_64/entrypoints.txt
  libc/spec/stdc.td
  libc/src/stdlib/CMakeLists.txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D112104.380806.patch
Type: text/x-patch
Size: 4074 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20211019/ad44b56f/attachment.bin>


More information about the libc-commits mailing list