[all-commits] [llvm/llvm-project] 5fb821: [libc] add remaining epoll functions, pipe (#84587)

Michael Jones via All-commits all-commits at lists.llvm.org
Thu Apr 11 16:54:49 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5fb821560afd0543e4875c3c81d58f68f73eb03b
      https://github.com/llvm/llvm-project/commit/5fb821560afd0543e4875c3c81d58f68f73eb03b
  Author: Michael Jones <michaelrj at google.com>
  Date:   2024-04-11 (Thu, 11 Apr 2024)

  Changed paths:
    M libc/config/linux/x86_64/entrypoints.txt
    M libc/hdr/CMakeLists.txt
    A libc/hdr/signal_macros.h
    A libc/hdr/sys_epoll_macros.h
    M libc/include/CMakeLists.txt
    M libc/include/llvm-libc-macros/CMakeLists.txt
    M libc/include/llvm-libc-macros/linux/CMakeLists.txt
    A libc/include/llvm-libc-macros/linux/sys-epoll-macros.h
    A libc/include/llvm-libc-macros/sys-epoll-macros.h
    M libc/include/llvm-libc-types/sigset_t.h
    M libc/include/llvm-libc-types/struct_epoll_event.h
    M libc/include/sys/epoll.h.def
    M libc/spec/posix.td
    M libc/src/sys/epoll/CMakeLists.txt
    A libc/src/sys/epoll/epoll_create.h
    A libc/src/sys/epoll/epoll_create1.h
    A libc/src/sys/epoll/epoll_ctl.h
    M libc/src/sys/epoll/epoll_pwait.h
    M libc/src/sys/epoll/linux/CMakeLists.txt
    A libc/src/sys/epoll/linux/epoll_create.cpp
    A libc/src/sys/epoll/linux/epoll_create1.cpp
    A libc/src/sys/epoll/linux/epoll_ctl.cpp
    M libc/src/sys/epoll/linux/epoll_pwait.cpp
    M libc/src/sys/epoll/linux/epoll_pwait2.cpp
    M libc/src/sys/epoll/linux/epoll_wait.cpp
    M libc/src/unistd/CMakeLists.txt
    M libc/src/unistd/linux/CMakeLists.txt
    A libc/src/unistd/linux/pipe.cpp
    A libc/src/unistd/pipe.h
    M libc/test/src/sys/epoll/linux/CMakeLists.txt
    A libc/test/src/sys/epoll/linux/epoll_create1_test.cpp
    A libc/test/src/sys/epoll/linux/epoll_create_test.cpp
    A libc/test/src/sys/epoll/linux/epoll_ctl_test.cpp
    M libc/test/src/sys/epoll/linux/epoll_pwait2_test.cpp
    M libc/test/src/sys/epoll/linux/epoll_pwait_test.cpp
    M libc/test/src/sys/epoll/linux/epoll_wait_test.cpp
    M libc/test/src/unistd/CMakeLists.txt
    A libc/test/src/unistd/pipe_test.cpp
    M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
    M utils/bazel/llvm-project-overlay/libc/test/src/sys/epoll/BUILD.bazel

  Log Message:
  -----------
  [libc] add remaining epoll functions, pipe (#84587)

The epoll_wait functions need the rest of the epoll functions (create,
ctl) to be available to actually test them, as well as pipe to create a
usable file descriptor. This patch adds epoll_create, epoll_create1,
epoll_ctl, and pipe. These have tests, and the tests for epoll_wait,
epoll_pwait, and epoll_pwait2 (currently disabled) are updated to use
these newly available functions.



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