[libc] [llvm] [libc] Add support for getpagesize. (PR #171713)

Michael Jones via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 11 10:53:10 PST 2025


================
@@ -6092,6 +6092,15 @@ libc_function(
     ],
 )
 
+libc_function(
+    name = "getpagesize",
+    srcs = ["src/unistd/linux/getpagesize.cpp"],
+    hdrs = ["src/unistd/getpagesize.h"],
+    deps = [
+        ":sysconf",
----------------
michaelrj-google wrote:

fix the dep in bazel

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


More information about the llvm-commits mailing list