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

Peter Smith via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 6 07:14:16 PST 2025


https://github.com/smithp35 approved this pull request.

LGTM on my side. Please leave some time for @MaskRay to comment.

For reference, the use of p_vaddr in Bionic's dynamic loader makes sense. At that point Bionic has already mmapped the ELF file into memory at p_vaddr (+ some displacement as shared libraries are position independent) so it is operating on the in-memory representation of the ELF file. LLD is reading directly from the file.



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


More information about the llvm-commits mailing list