[all-commits] [llvm/llvm-project] 57614a: [libc][sys/wait][linux] add missing and clean up e...
Nick Desaulniers via All-commits
all-commits at lists.llvm.org
Wed Feb 5 10:02:12 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 57614a340ce795c6a6443362e1d24b2725853294
https://github.com/llvm/llvm-project/commit/57614a340ce795c6a6443362e1d24b2725853294
Author: Nick Desaulniers <ndesaulniers at google.com>
Date: 2025-02-05 (Wed, 05 Feb 2025)
Changed paths:
M libc/include/llvm-libc-macros/linux/sys-wait-macros.h
Log Message:
-----------
[libc][sys/wait][linux] add missing and clean up existing macros (#125572)
This patch does a few things:
- replace macro definitions with an inclusion of the linux/wait.h kernel
header.
- WNOHANG
- WUNTRACED
- WEXITED
- WCONTINUED
- WSTOPPED
- P_ALL
- P_PID
- P_PGID
- P_PIDFD
- Add missing macro definitions mandated by POSIX. Some are needed to
build LLVM.
- WCOREDUMP
- WIFCONTINUED
- WIFSIGNALELD
- WIFSTOPPED
- WSTOPSIG
- Remove glibc style __W* macros. Users should stick with the POSIX
macros. We can re-add them if necessary.
- __WEXITSTATUS
- __WTERMSIG
- __WIFEXITED
- __WIFSIGNALED
- __WIFSTOPPED
- __WIFCONTINUED
- __WCOREDUMP
- __W_EXITCODE
- __W_STOPCODE
- __W_CONTINUED
- __WCOREFLAG
Fixes: #124944
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