[libc-commits] [libc] [llvm] [RFC][libc] Codify header inclusion policy (PR #87017)

Michael Jones via libc-commits libc-commits at lists.llvm.org
Thu Mar 28 16:00:07 PDT 2024


================
@@ -3,39 +3,60 @@ add_entrypoint_object(
   SRCS
     epoll_wait.cpp
   HDRS
+    # TODO: these 2 should not be necessary
+    ../../../signal/sigset_t.h
+    ../../../time/struct_timespec.h
+
     ../epoll_wait.h
   DEPENDS
-    libc.include.sys_epoll
     libc.include.sys_syscall
     libc.src.__support.OSUtil.osutil
     libc.src.errno.errno
+    libc.src.sys.epoll.struct_epoll_event
+    # TODO: why don't these work for overlay mode?
----------------
michaelrj-google wrote:

does setting `-DLIBC_CMAKE_VERBOSE_LOGGING=ON` in your cmake help?

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


More information about the libc-commits mailing list