[all-commits] [llvm/llvm-project] cd7255: [LLD][ELF] Skip non-SHF_ALLOC sections when checki...
Mingjie Xu via All-commits
all-commits at lists.llvm.org
Thu Jun 26 02:58:26 PDT 2025
Branch: refs/heads/users/Enna1/avoid-non-shf_alloc-sections-in-relaxonce
Home: https://github.com/llvm/llvm-project
Commit: cd72557d0f285d4af9080ed36d093e8e524001a3
https://github.com/llvm/llvm-project/commit/cd72557d0f285d4af9080ed36d093e8e524001a3
Author: xumingjie.enna1 <xumingjie.enna1 at bytedance.com>
Date: 2025-06-26 (Thu, 26 Jun 2025)
Changed paths:
M lld/ELF/Arch/X86_64.cpp
Log Message:
-----------
[LLD][ELF] Skip non-SHF_ALLOC sections when checking max VA and max VA difference in relaxOnce()
For non-SHF_ALLOC sections, sh_addr is set to 0.
Skip sections without SHF_ALLOC flag, so `minVA` will not be set to 0 with
non-SHF_ALLOC sections, and the size of non-SHF_ALLOC sections will not
contribute to `maxVA`.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list