[all-commits] [llvm/llvm-project] e3638e: [libc] Add a minimal implementation of the POSIX f...
Siva Chandra via All-commits
all-commits at lists.llvm.org
Tue Oct 4 12:12:38 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e3638e83db086e77243d0673a4ce8a0b4b330d42
https://github.com/llvm/llvm-project/commit/e3638e83db086e77243d0673a4ce8a0b4b330d42
Author: Siva Chandra Reddy <sivachandra at google.com>
Date: 2022-10-04 (Tue, 04 Oct 2022)
Changed paths:
M libc/config/linux/api.td
M libc/config/linux/x86_64/entrypoints.txt
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-wait-macros.h
A libc/include/llvm-libc-macros/sys-wait-macros.h
A libc/include/sys/wait.h.def
M libc/spec/posix.td
M libc/src/sys/CMakeLists.txt
A libc/src/sys/wait/CMakeLists.txt
A libc/src/sys/wait/linux/CMakeLists.txt
A libc/src/sys/wait/linux/wait.cpp
A libc/src/sys/wait/wait.h
M libc/src/unistd/CMakeLists.txt
A libc/src/unistd/fork.h
M libc/src/unistd/linux/CMakeLists.txt
A libc/src/unistd/linux/fork.cpp
M libc/test/integration/src/CMakeLists.txt
A libc/test/integration/src/unistd/CMakeLists.txt
A libc/test/integration/src/unistd/fork_test.cpp
Log Message:
-----------
[libc] Add a minimal implementation of the POSIX fork function.
A very simple and minimal implementation of fork is added. Future
changes will add more functionality to satisfy POSIX and Linux
requirements.
An implementation of wait and a few support macros in sys/wait.h
have also been added to help with testing the fork function.
Reviewed By: lntue, michaelrj
Differential Revision: https://reviews.llvm.org/D135131
More information about the All-commits
mailing list