[libc-commits] [libc] [libc]: add `dlfcn.h` headers (PR #97772)

Izaak Schroeder via libc-commits libc-commits at lists.llvm.org
Thu Jul 4 16:40:17 PDT 2024


================
@@ -222,6 +222,40 @@ def POSIX : StandardSpec<"POSIX"> {
       []  // Functions
   >;
 
+  HeaderSpec DlFcn = HeaderSpec<
+    "dlfcn.h",
+    [
+      Macro<"RTLD_LAZY">,
+      Macro<"RTLD_NOW">,
+      Macro<"RTLD_GLOBAL">,
+      Macro<"RTLD_LOCAL">,
+    ],
+    [],  // Types
+    [], // Enumerations
+    [
+      FunctionSpec<
----------------
izaakschroeder wrote:

👍 

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


More information about the libc-commits mailing list