[lld] [AArch64][GCS][LLD] Introduce -zgcs-report-dynamic Command Line Option (PR #127787)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 28 23:39:03 PST 2025


================
@@ -224,8 +228,10 @@ class ELFFileBase : public InputFile {
   StringRef stringTable;
   const void *elfShdrs = nullptr;
   const void *elfSyms = nullptr;
+  const void *elfPhdrs = nullptr;
----------------
MaskRay wrote:

ELFFileBase is used by both .o and .so

move phdrs (image file only) to SharedFile and initialize them in SharedFile::parse

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


More information about the llvm-commits mailing list