[libc-commits] [PATCH] D148371: [libc] Add support to compile some syscalls on 32 bit platform

Mikhail Ramalho via Phabricator via libc-commits libc-commits at lists.llvm.org
Thu Jun 1 15:58:31 PDT 2023


mikhail.ramalho updated this revision to Diff 527653.
mikhail.ramalho marked 13 inline comments as done.
mikhail.ramalho added a comment.

- Added comments about sys_*64 syscalls
- Added assertion about offset size in sys_*64 syscalls
- Fixed wait4 implementation
- Rewrote wait and waitpid to use wait4


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D148371/new/

https://reviews.llvm.org/D148371

Files:
  libc/config/linux/api.td
  libc/config/linux/syscall_numbers.h.inc
  libc/include/CMakeLists.txt
  libc/spec/posix.td
  libc/src/__support/File/linux/file.cpp
  libc/src/__support/threads/linux/futex_word.h
  libc/src/__support/threads/linux/mutex.h
  libc/src/sched/linux/sched_rr_get_interval.cpp
  libc/src/sys/sendfile/linux/sendfile.cpp
  libc/src/sys/wait/linux/wait.cpp
  libc/src/sys/wait/linux/wait4.cpp
  libc/src/sys/wait/linux/waitpid.cpp
  libc/src/unistd/linux/dup2.cpp
  libc/src/unistd/linux/ftruncate.cpp
  libc/src/unistd/linux/lseek.cpp
  libc/src/unistd/linux/truncate.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148371.527653.patch
Type: text/x-patch
Size: 14143 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230601/5545460d/attachment.bin>


More information about the libc-commits mailing list