[all-commits] [llvm/llvm-project] db8a88: [libc] add memccpy and mempcpy

michaelrj-google via All-commits all-commits at lists.llvm.org
Thu Oct 14 16:38:12 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: db8a88fef87e921c331c71503f73a76337c121c9
      https://github.com/llvm/llvm-project/commit/db8a88fef87e921c331c71503f73a76337c121c9
  Author: Michael Jones <michaelrj at google.com>
  Date:   2021-10-14 (Thu, 14 Oct 2021)

  Changed paths:
    M libc/config/linux/x86_64/entrypoints.txt
    M libc/spec/posix.td
    M libc/src/string/CMakeLists.txt
    A libc/src/string/memccpy.cpp
    A libc/src/string/memccpy.h
    A libc/src/string/mempcpy.cpp
    A libc/src/string/mempcpy.h
    M libc/test/src/string/CMakeLists.txt
    A libc/test/src/string/memccpy_test.cpp
    A libc/test/src/string/mempcpy_test.cpp

  Log Message:
  -----------
  [libc] add memccpy and mempcpy

Add an implementation for memccpy and mempcpy. These functions are
posix extensions for the moment.

Reviewed By: lntue

Differential Revision: https://reviews.llvm.org/D111762




More information about the All-commits mailing list