[lld] [ELF] Orphan placement: remove hasInputSections condition (PR #93761)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 7 14:20:15 PDT 2024


MaskRay wrote:

Rebased.

Since output sections with `hasInputSections==false` always have A or WA flags.
The "similar section's rank <= orphan's rank" condition almost always kick in, with a few exceptions: ambiguous cases that we don't particularly care about. These test updates are documented in the description.

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


More information about the llvm-commits mailing list