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

via libc-commits libc-commits at lists.llvm.org
Fri Apr 24 06:52:07 PDT 2026


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libc

Author: Petter Berntsson (petbernt)

<details>
<summary>Changes</summary>

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

---
Full diff: https://github.com/llvm/llvm-project/pull/193972.diff


3 Files Affected:

- (modified) libc/docs/CMakeLists.txt (+1) 
- (modified) libc/docs/headers/index.rst (+1) 
- (added) libc/utils/docgen/dlfcn.yaml (+21) 


``````````diff
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: ""

``````````

</details>


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


More information about the libc-commits mailing list