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

via libc-commits libc-commits at lists.llvm.org
Thu Jan 8 07:49:10 PST 2026


================
@@ -108,6 +109,7 @@ static TLSDescriptor tls;
   ptrdiff_t base = 0;
   app.tls.size = 0;
   ElfW(Phdr) *tls_phdr = nullptr;
+  [[gnu::unused]] ElfW(Phdr) *gnu_property_phdr = nullptr;
----------------
lntue wrote:

`[[maybe_unused]]`?

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


More information about the libc-commits mailing list