[libc-commits] [libc] [libc][getcwd] Refactor getcwd to use the syscall wrapper pattern (PR #204000)

Jackson Stogel via libc-commits libc-commits at lists.llvm.org
Mon Jun 15 23:02:28 PDT 2026


================
@@ -223,9 +223,11 @@ add_entrypoint_object(
     ../getcwd.h
   DEPENDS
     libc.hdr.types.size_t
-    libc.hdr.fcntl_macros
-    libc.include.unistd
+    libc.hdr.types.ssize_t
     libc.include.sys_syscall
+    libc.include.unistd
----------------
jtstogel wrote:

Ty, I didn't check verify existing deps. Should all be good now.

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


More information about the libc-commits mailing list