[libc-commits] [libc] [libc] Add dlinfo + RTLD_DI_* macros to dlfcn.h (PR #149938)

Caslyn Tonelli via libc-commits libc-commits at lists.llvm.org
Tue Aug 5 10:50:32 PDT 2025


================
@@ -0,0 +1,22 @@
+
+//===-- Implementation of dlinfo ------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#include "dlinfo.h"
+
+#include "src/__support/common.h"
+#include "src/__support/macros/config.h"
+
+namespace LIBC_NAMESPACE_DECL {
+
+// TODO: https://github.com/llvm/llvm-project/issues/149911
+LLVM_LIBC_FUNCTION(int, dlinfo, (void *restrict, int, void *restrict)) {
----------------
Caslyn wrote:

done - also did this in https://github.com/llvm/llvm-project/pull/149872.

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


More information about the libc-commits mailing list