[libc-commits] [PATCH] D107792: [libc] add strtoll function and backend

Michael Jones via Phabricator via libc-commits libc-commits at lists.llvm.org
Mon Aug 9 16:48:22 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.

This change adds the stroll function, but most of the implementation is
in the new file stdlib_utils.h since many of the other integer
conversion functions are implemented through what are effectively calls
to strtoll.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D107792

Files:
  libc/config/linux/x86_64/entrypoints.txt
  libc/src/__support/CMakeLists.txt
  libc/src/__support/stdlib_utils.h
  libc/src/stdlib/CMakeLists.txt
  libc/src/stdlib/strtoll.cpp
  libc/src/stdlib/strtoll.h
  libc/test/src/stdlib/CMakeLists.txt
  libc/test/src/stdlib/strtoll_test.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107792.365316.patch
Type: text/x-patch
Size: 15900 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20210809/c7ae3253/attachment.bin>


More information about the libc-commits mailing list