[libc-commits] [PATCH] D117138: [libc] move strdup out of requiring SCUDO

Michael Jones via Phabricator via libc-commits libc-commits at lists.llvm.org
Fri Jan 14 13:32:54 PST 2022


This revision was automatically updated to reflect the committed changes.
Closed by commit rG0b442db9f62e: [libc] move strdup out of requiring SCUDO (authored by michaelrj).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D117138/new/

https://reviews.llvm.org/D117138

Files:
  libc/config/linux/x86_64/entrypoints.txt


Index: libc/config/linux/x86_64/entrypoints.txt
===================================================================
--- libc/config/linux/x86_64/entrypoints.txt
+++ libc/config/linux/x86_64/entrypoints.txt
@@ -242,7 +242,11 @@
     libc.src.stdlib.calloc
     libc.src.stdlib.realloc
     libc.src.stdlib.free
+  )
+endif()
 
+if(LLVM_LIBC_INCLUDE_SCUDO OR NOT LLVM_LIBC_FULL_BUILD)
+  list(APPEND TARGET_LIBC_ENTRYPOINTS
     # string.h entrypoints that depend on malloc
     libc.src.string.strdup
     libc.src.string.strndup


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117138.400134.patch
Type: text/x-patch
Size: 529 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20220114/9a2552f9/attachment.bin>


More information about the libc-commits mailing list