[libc-commits] [PATCH] D78703: [libc] Add spec for sigdelset and sigfillset.
Paula Toth via Phabricator via libc-commits
libc-commits at lists.llvm.org
Thu Apr 23 16:54:17 PDT 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rG29213878e7dc: [libc] Add spec for sigdelset and sigfillset. (authored by PaulkaToast).
Changed prior to commit:
https://reviews.llvm.org/D78703?vs=259723&id=259761#toc
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D78703/new/
https://reviews.llvm.org/D78703
Files:
libc/config/linux/api.td
libc/lib/CMakeLists.txt
libc/spec/posix.td
Index: libc/spec/posix.td
===================================================================
--- libc/spec/posix.td
+++ libc/spec/posix.td
@@ -158,6 +158,12 @@
ArgSpec<RestrictStructSigactionPtr>]
>,
FunctionSpec<
+ "sigdelset",
+ RetValSpec<IntType>,
+ [ArgSpec<SigSetPtrType>,
+ ArgSpec<IntType>]
+ >,
+ FunctionSpec<
"sigprocmask",
RetValSpec<IntType>,
[ArgSpec<IntType>, ArgSpec<ConstRestrictSigSetType>, ArgSpec<RestrictSigSetType>]
@@ -170,6 +176,12 @@
FunctionSpec<
"sigaddset",
RetValSpec<IntType>,
+ [ArgSpec<SigSetPtrType>,
+ ArgSpec<IntType>]
+ >,
+ FunctionSpec<
+ "sigfillset",
+ RetValSpec<IntType>,
[ArgSpec<SigSetPtrType>]
>,
]
Index: libc/lib/CMakeLists.txt
===================================================================
--- libc/lib/CMakeLists.txt
+++ libc/lib/CMakeLists.txt
@@ -11,9 +11,11 @@
# signal.h entrypoints
libc.src.signal.raise
libc.src.signal.sigaction
+ libc.src.signal.sigdelset
libc.src.signal.sigaddset
libc.src.signal.sigemptyset
libc.src.signal.sigprocmask
+ libc.src.signal.sigfillset
libc.src.signal.signal
# stdlib.h entrypoints
Index: libc/config/linux/api.td
===================================================================
--- libc/config/linux/api.td
+++ libc/config/linux/api.td
@@ -270,9 +270,11 @@
let Functions = [
"raise",
"sigaction",
+ "sigdelset",
"sigprocmask",
"sigemptyset",
"sigaddset",
+ "sigfillset",
"signal",
];
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78703.259761.patch
Type: text/x-patch
Size: 1697 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20200423/4928906c/attachment-0001.bin>
More information about the libc-commits
mailing list