[libc-commits] [PATCH] D93195: [libc] Add memmove implementation.

Cheng Wang via Phabricator via libc-commits libc-commits at lists.llvm.org
Mon Dec 14 00:46:16 PST 2020


cheng.w created this revision.
cheng.w added reviewers: sivachandra, gchatelet.
Herald added subscribers: libc-commits, ecnelises, tschuett, mgorny.
Herald added a project: libc-project.
cheng.w requested review of this revision.

Use memcpy rather than copying bytes one by one, for there might be large
size structs to move.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D93195

Files:
  libc/config/linux/aarch64/entrypoints.txt
  libc/config/linux/x86_64/entrypoints.txt
  libc/src/string/CMakeLists.txt
  libc/src/string/memmove.cpp
  libc/src/string/memmove.h
  libc/test/src/string/CMakeLists.txt
  libc/test/src/string/memmove_test.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93195.311509.patch
Type: text/x-patch
Size: 7889 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20201214/1b212183/attachment.bin>


More information about the libc-commits mailing list