[libc-commits] [libc] add mremap (PR #112804)

Michael Jones via libc-commits libc-commits at lists.llvm.org
Tue Nov 5 13:43:32 PST 2024


================
@@ -114,6 +114,17 @@ def Linux : StandardSpec<"Linux"> {
             ArgSpec<IntType>,
           ]
         >,
+        FunctionSpec<
+          "mremap",
+          RetValSpec<VoidPtr>,
+          [
+            ArgSpec<VoidPtr>,
+            ArgSpec<SizeTType>,
+            ArgSpec<SizeTType>,
+            ArgSpec<IntType>,
+            ArgSpec<VoidPtr>,
----------------
michaelrj-google wrote:

```suggestion
            ArgSpec<VarArgType>,
```

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


More information about the libc-commits mailing list