[libc-commits] [libc] [libc] Add barebones dl_iterate_phdr implementation (PR #194196)
Jeff Bailey via libc-commits
libc-commits at lists.llvm.org
Sun Apr 26 01:18:05 PDT 2026
================
@@ -8,18 +8,61 @@
#include "dl_iterate_phdr.h"
+#include "llvm-libc-macros/link-macros.h"
+#include "src/__support/OSUtil/linux/auxv.h"
#include "src/__support/common.h"
#include "src/__support/macros/config.h"
+#include <elf.h>
----------------
kaladron wrote:
I remember you mentioning on another thread that there might be something in clang we can use, but it's hard to get to. Can we take a copy of it for now instead of using a system header?
https://github.com/llvm/llvm-project/pull/194196
More information about the libc-commits
mailing list