[libc-commits] [PATCH] D119587: [libc] Fix allocator inclusion

Michael Jones via Phabricator via libc-commits libc-commits at lists.llvm.org
Fri Feb 11 13:24:05 PST 2022


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

Previously, allocator functions were only available if they were included
from scudo or by using the system libc headers (i.e. by turning off the
full build). This patch changes the logic to include the prototypes for
the allocator functitons in all cases, which allows the linker to link
in the system's allocator.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D119587

Files:
  libc/config/linux/x86_64/entrypoints.txt
  libc/src/__support/CPP/CMakeLists.txt
  libc/src/stdlib/CMakeLists.txt
  libc/test/utils/CPP/CMakeLists.txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D119587.408035.patch
Type: text/x-patch
Size: 3003 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20220211/cb2b3fc2/attachment.bin>


More information about the libc-commits mailing list