[libc] [llvm] [libc] add remaining epoll functions, pipe (PR #84587)

Michael Jones via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 12 11:05:20 PDT 2024


================
@@ -548,6 +548,11 @@ def POSIX : StandardSpec<"POSIX"> {
           RetValSpec<OffTType>,
           [ArgSpec<IntType>, ArgSpec<OffTType>, ArgSpec<IntType>]
         >,
+        FunctionSpec<
+          "pipe",
+          RetValSpec<IntType>,
+          [ArgSpec<IntPtr>] //TODO: make this int[2]
----------------
michaelrj-google wrote:

no. None of the other functions we've implemented have used them. To add them would require modifications to headergen (similar to GuardedFunctionSpec). That seemed like a reasonable thing to leave for another patch, given that this one is already larger than I'd like.

https://github.com/llvm/llvm-project/pull/84587


More information about the llvm-commits mailing list