[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 05:21:48 PDT 2020


PaulkaToast created this revision.
PaulkaToast added reviewers: abrachet, sivachandra.
PaulkaToast added a project: libc-project.
Herald added subscribers: libc-commits, tschuett.

Caught by libc-tidy from patch D77281 <https://reviews.llvm.org/D77281>.


Repository:
  rG LLVM Github Monorepo

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,7 +176,14 @@
         FunctionSpec<
           "sigaddset",
           RetValSpec<IntType>,
-          [ArgSpec<SigSetPtrType>]
+          [ArgSpec<SigSetPtrType>,
+           ArgSpec<IntType>]
+        >,
+        FunctionSpec<
+          "sigfillset",
+          RetValSpec<IntType>,
+          [ArgSpec<SigSetPtrType>,
+           ArgSpec<IntType>]
         >,
       ]
   >;
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.259525.patch
Type: text/x-patch
Size: 1252 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20200423/f7c1f548/attachment.bin>


More information about the libc-commits mailing list