[libc-commits] [libc] [libc][linux] add support to parse PT_GNU_PROPERTY (PR #174772)

Michael Jones via libc-commits libc-commits at lists.llvm.org
Tue Jan 13 14:46:38 PST 2026


================
@@ -88,6 +88,17 @@ endif()
 
 add_subdirectory(${LIBC_TARGET_ARCHITECTURE})
 
+add_object_library(
+  gnu_property_section
+  SRCS
+    gnu_property_section.cpp
+  HDRS
+    gnu_property_section.h
+  DEPENDS
+    libc.src.__support.CPP.string_view
+    libc.src.__support.macros.config
----------------
michaelrj-google wrote:

When you add the new includes to the source files remember to add the dependencies to the build:
```suggestion
    libc.src.__support.CPP.string_view
    libc.src.__support.macros.config
    libc.hdr.elf_proxy
    libc.hdr.link_macros
```

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


More information about the libc-commits mailing list