llvm-capstone/libc/spec
Mikhail R. Gadelha c9783d2bda [libc] Add support to compile some syscalls on 32 bit platform
This patch adds a bunch of ifdefs to handle the 32 bit versions of
some syscalls, which often only append a 64 to the name of the syscall
(with exception of SYS_lseek -> SYS_llseek and SYS_futex ->
SYS_futex_time64)

This patch also tries to handle cases where wait4 is not available
(as in riscv32): to implement wait, wait4 and waitpid when wait4 is
not available, we check for alternative wait calls and ultimately rely
on waitid to implement them all.

In riscv32, only waitid is available, so we need it to support this
platform.

Reviewed By: michaelrj

Differential Revision: https://reviews.llvm.org/D148371
2023-08-03 10:08:01 -03:00
..
bsd_ext.td Reland "[libc] Add {,r}index" 2023-04-11 04:30:50 +00:00
gnu_ext.td [libc] Add qsort_r 2023-06-12 11:12:17 -07:00
gpu_ext.td [libc] Add basic support for calling host functions from the GPU 2023-07-19 10:11:46 -05:00
linux.td [libc] add socket function 2023-05-03 11:01:11 -07:00
llvm_libc_ext.td [libc] Move b* string functions to strings.h 2023-01-09 20:16:20 +00:00
posix.td [libc] Add support to compile some syscalls on 32 bit platform 2023-08-03 10:08:01 -03:00
spec.td [libc][obvious] remove currently unused types 2023-03-20 17:22:52 -07:00
stdc.td [libc][math] Implement erff function correctly rounded to all rounding modes. 2023-06-28 13:58:37 -04:00