[libc-commits] [PATCH] D108477: [libc] add string to integer funcs to Windows

Michael Jones via Phabricator via libc-commits libc-commits at lists.llvm.org
Fri Aug 20 11:06:57 PDT 2021


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

Adds atoi, atol, atoll, strtol, strtoll, strtoul, and strtoull to the
list of entrypoints for Windows.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D108477

Files:
  libc/config/windows/entrypoints.txt


Index: libc/config/windows/entrypoints.txt
===================================================================
--- libc/config/windows/entrypoints.txt
+++ libc/config/windows/entrypoints.txt
@@ -44,6 +44,15 @@
     libc.src.string.strstr
     libc.src.string.strtok
     libc.src.string.strtok_r
+
+    # stdlib.h entrypoints
+    libc.src.stdlib.atoi
+    libc.src.stdlib.atol
+    libc.src.stdlib.atoll
+    libc.src.stdlib.strtol
+    libc.src.stdlib.strtoll
+    libc.src.stdlib.strtoul
+    libc.src.stdlib.strtoull
 )
 
 set(TARGET_LIBM_ENTRYPOINTS


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108477.367837.patch
Type: text/x-patch
Size: 555 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20210820/6602aab2/attachment.bin>


More information about the libc-commits mailing list