[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 14:41:07 PDT 2020


PaulkaToast updated this revision to Diff 259713.

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/spec/posix.td


Index: libc/spec/posix.td
===================================================================
--- libc/spec/posix.td
+++ libc/spec/posix.td
@@ -157,6 +157,12 @@
            ArgSpec<ConstRestrictStructSigactionPtr>,
            ArgSpec<RestrictStructSigactionPtr>]
         >,
+        FunctionSpec<
+          "sigdelset",
+          RetValSpec<IntType>,
+          [ArgSpec<SigSetPtrType>,
+           ArgSpec<IntType>]
+        >,
         FunctionSpec<
           "sigprocmask",
           RetValSpec<IntType>,
@@ -170,6 +176,12 @@
         FunctionSpec<
           "sigaddset",
           RetValSpec<IntType>,
+          [ArgSpec<SigSetPtrType>,
+           ArgSpec<IntType>]
+        >,
+        FunctionSpec<
+          "sigfillset",
+          RetValSpec<IntType>,
           [ArgSpec<SigSetPtrType>]
         >,
       ]
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.259713.patch
Type: text/x-patch
Size: 1180 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20200423/42d07180/attachment.bin>


More information about the libc-commits mailing list