[libc-commits] [libc] [libc] Implement alphasort in dirent (PR #226487)

Alexey Samsonov via libc-commits libc-commits at lists.llvm.org
Fri Sep 25 08:53:31 PDT 2026


================
@@ -62,3 +62,17 @@ add_entrypoint_object(
     libc.src.__support.File.dir
     libc.src.errno.errno
 )
+
+add_entrypoint_object(
+  alphasort
+  SRCS
+    alphasort.cpp
+  HDRS
+    alphasort.h
+  DEPENDS
+    libc.hdr.types.struct_dirent
+    libc.src.__support.common
+    libc.src.__support.macros.config
+    libc.src.string.strcoll
----------------
vonosmas wrote:

See above - entrypoints shouldn't depend on each other (we have only few remaining cases in the codebase, and plan to migrate them).

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


More information about the libc-commits mailing list