[libc-commits] [libc] [libc][docs] Add dlfcn.h implementation status (#122006) (PR #193972)

Petter Berntsson via libc-commits libc-commits at lists.llvm.org
Fri Apr 24 06:51:30 PDT 2026


https://github.com/petbernt created https://github.com/llvm/llvm-project/pull/193972

Add dlfcn.h implementation-status docs to llvm-libc.

>From 9d8c7e5a55f20288c672df00cb3994ce81d28e61 Mon Sep 17 00:00:00 2001
From: Petter Berntsson <petter.berntsson at arm.com>
Date: Fri, 24 Apr 2026 14:01:46 +0100
Subject: [PATCH] [libc][docs] Add dlfcn.h implementation status (#122006)

---
 libc/docs/CMakeLists.txt     |  1 +
 libc/docs/headers/index.rst  |  1 +
 libc/utils/docgen/dlfcn.yaml | 21 +++++++++++++++++++++
 3 files changed, 23 insertions(+)
 create mode 100644 libc/utils/docgen/dlfcn.yaml

diff --git a/libc/docs/CMakeLists.txt b/libc/docs/CMakeLists.txt
index 6d89a3e691dc9..7fa7775eb3d76 100644
--- a/libc/docs/CMakeLists.txt
+++ b/libc/docs/CMakeLists.txt
@@ -45,6 +45,7 @@ if (SPHINX_FOUND)
       cpio
       ctype
       dirent
+      dlfcn
       endian
       errno
       fcntl
diff --git a/libc/docs/headers/index.rst b/libc/docs/headers/index.rst
index cfe76f3c4a73f..542615ea3e1b3 100644
--- a/libc/docs/headers/index.rst
+++ b/libc/docs/headers/index.rst
@@ -11,6 +11,7 @@ Implementation Status
    cpio
    ctype
    dirent
+   dlfcn
    endian
    errno
    fcntl
diff --git a/libc/utils/docgen/dlfcn.yaml b/libc/utils/docgen/dlfcn.yaml
new file mode 100644
index 0000000000000..910e55ec840bc
--- /dev/null
+++ b/libc/utils/docgen/dlfcn.yaml
@@ -0,0 +1,21 @@
+functions:
+  dladdr:
+    in-latest-posix: ""
+  dlclose:
+    in-latest-posix: ""
+  dlerror:
+    in-latest-posix: ""
+  dlopen:
+    in-latest-posix: ""
+  dlsym:
+    in-latest-posix: ""
+
+macros:
+  RTLD_GLOBAL:
+    in-latest-posix: ""
+  RTLD_LAZY:
+    in-latest-posix: ""
+  RTLD_LOCAL:
+    in-latest-posix: ""
+  RTLD_NOW:
+    in-latest-posix: ""



More information about the libc-commits mailing list