[lld] [LLD] [COFF] Don't add pseudo relocs for dangling references (PR #88487)

Jacek Caban via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 15 06:32:48 PDT 2024


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

LGTM

For the record, we also discussed possibility of entirely skipping pseudo relocs for DWARF sections: DWARF sections shouldn't need runtime pseudo relocs in general (the section should be usable by interpreting the file by tools like debuggers from the disk, etc.) and they are usually not mapped (so pseudo relocs have no effect anyway). This would be a more invasive change and @mstorsjo plans to backport it, so a less invasive change seems fine for now.

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


More information about the llvm-commits mailing list