[lld] [LLD][ELF] Skip non-SHF_ALLOC sections when checking max VA and max VA difference in relaxOnce() (PR #145863)
Mingjie Xu via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 27 01:03:26 PDT 2025
Enna1 wrote:
I'm looking for strategies that alleviate relocation overflow pressure. While trying to understand https://github.com/llvm/llvm-project/commit/9d6ec280fc537b55ef8641ea85d3522426bc5766 and https://github.com/llvm/llvm-project/commit/f3c4dae6f2c44f1a7f130c4cf4b2861b62402b48, I found the max VA difference takes non-SHF_ALLOC sections into account, which is a bit confusing.
> Do you find a scenario where having the condition improves performance?
I will test with internal cases to see if there is any performance improvement.
https://github.com/llvm/llvm-project/pull/145863
More information about the llvm-commits
mailing list