[libc-commits] [libc] [libc] Implement tmpfile and corresponding tests (PR #213396)

Alexey Samsonov via libc-commits libc-commits at lists.llvm.org
Sat Aug 1 09:13:55 PDT 2026


================
@@ -66,3 +66,13 @@ add_entrypoint_object(
     libc.hdr.types.FILE
     libc.src.__support.File.platform_file
 )
+
+add_entrypoint_object( tmpfile
+  SRCS
+    tmpfile.cpp
+  HDRS
+    ../tmpfile.h
+  DEPENDS
+    libc.hdr.types.FILE
----------------
vonosmas wrote:

There are far too few deps here - please ensure there are CMake deps for the headers you include (e.g. syscall_wrapper for open ; targets for proxy headers in hdr/ , etc). Also, libc.src.errno.errno 

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


More information about the libc-commits mailing list