[all-commits] [llvm/llvm-project] f6b4c3: [libc] Add functions to send/recv messages (#106467)

Michael Jones via All-commits all-commits at lists.llvm.org
Thu Sep 19 14:43:21 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f6b4c34d4f96ca705409f76b9bb48de7d2bec9bd
      https://github.com/llvm/llvm-project/commit/f6b4c34d4f96ca705409f76b9bb48de7d2bec9bd
  Author: Michael Jones <michaelrj at google.com>
  Date:   2024-09-19 (Thu, 19 Sep 2024)

  Changed paths:
    M libc/config/linux/api.td
    M libc/config/linux/x86_64/entrypoints.txt
    M libc/hdr/types/CMakeLists.txt
    A libc/hdr/types/socklen_t.h
    A libc/hdr/types/ssize_t.h
    A libc/hdr/types/struct_msghdr.h
    A libc/hdr/types/struct_sockaddr.h
    M libc/include/CMakeLists.txt
    M libc/include/llvm-libc-types/CMakeLists.txt
    A libc/include/llvm-libc-types/struct_iovec.h
    A libc/include/llvm-libc-types/struct_msghdr.h
    M libc/newhdrgen/yaml/sys/socket.yaml
    M libc/spec/posix.td
    M libc/src/sys/socket/CMakeLists.txt
    R libc/src/sys/socket/bind.h
    M libc/src/sys/socket/linux/CMakeLists.txt
    R libc/src/sys/socket/linux/bind.cpp
    A libc/src/sys/socket/linux/recv.cpp
    A libc/src/sys/socket/linux/recvfrom.cpp
    A libc/src/sys/socket/linux/recvmsg.cpp
    A libc/src/sys/socket/linux/send.cpp
    A libc/src/sys/socket/linux/sendmsg.cpp
    A libc/src/sys/socket/linux/sendto.cpp
    A libc/src/sys/socket/linux/socketpair.cpp
    A libc/src/sys/socket/recv.h
    A libc/src/sys/socket/recvfrom.h
    A libc/src/sys/socket/recvmsg.h
    A libc/src/sys/socket/send.h
    A libc/src/sys/socket/sendmsg.h
    A libc/src/sys/socket/sendto.h
    A libc/src/sys/socket/socketpair.h
    M libc/test/src/sys/socket/linux/CMakeLists.txt
    R libc/test/src/sys/socket/linux/bind_test.cpp
    A libc/test/src/sys/socket/linux/send_recv_test.cpp
    A libc/test/src/sys/socket/linux/sendmsg_recvmsg_test.cpp
    A libc/test/src/sys/socket/linux/sendto_recvfrom_test.cpp
    A libc/test/src/sys/socket/linux/socketpair_test.cpp
    M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
    A utils/bazel/llvm-project-overlay/libc/test/src/sys/socket/BUILD.bazel

  Log Message:
  -----------
  [libc] Add functions to send/recv messages (#106467)

This patch adds the necessary functions to send and receive messages
over a socket. Those functions are: recv, recvfrom, recvmsg, send,
sendto, sendmsg, and socketpair for testing.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list