[libc-commits] [PATCH] D82724: [libc] Add memchr implementation.

Chris Gyurgyik via Phabricator via libc-commits libc-commits at lists.llvm.org
Sun Jun 28 12:55:34 PDT 2020


cgyurgyik created this revision.
cgyurgyik added a project: libc-project.
Herald added subscribers: libc-commits, ecnelises, tschuett, mgorny.
cgyurgyik updated this revision to Diff 273969.
cgyurgyik edited the summary of this revision.
cgyurgyik added reviewers: PaulkaToast, sivachandra.

[libc] Adds memchr implementation with corresponding unit tests. Uses a simple loop to iterate through the string.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D82724

Files:
  libc/config/linux/x86_64/entrypoints.txt
  libc/src/string/CMakeLists.txt
  libc/src/string/memchr.cpp
  libc/src/string/memchr.h
  libc/test/src/CMakeLists.txt
  libc/test/src/string/CMakeLists.txt
  libc/test/src/string/memchr_test.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D82724.273969.patch
Type: text/x-patch
Size: 9342 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20200628/e368885e/attachment-0001.bin>


More information about the libc-commits mailing list