[PATCH] D109400: [LLD] Add archive Name to relocaiton overflow printout

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 28 10:50:19 PDT 2021


MaskRay added a comment.

Thanks:)

---

I think companies shipping large executables may have similar needs. Internally someone asked me whether LLD can record a section but I feel that `--emit-relocs` is the right solution.
I am always concerned with whether we may spend too much code on a rather specific use case where an alternative existing functionality exists.
I'd still say that watching relocations is like shooting a different target. The build system can rearrange dependencies/object files and the max relocation distance may not be representative.
(Say the longest relocation can disappear in the next build and the second longest relocation in the previous build can become the longest one.)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D109400/new/

https://reviews.llvm.org/D109400



More information about the llvm-commits mailing list