[all-commits] [llvm/llvm-project] 0f3d64: [ELF] Simplify findOrphanPos. NFC
Fangrui Song via All-commits
all-commits at lists.llvm.org
Fri May 31 22:35:54 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0f3d646cefbe00b4a1037dc68e9d76e5470e805f
https://github.com/llvm/llvm-project/commit/0f3d646cefbe00b4a1037dc68e9d76e5470e805f
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M lld/ELF/Writer.cpp
Log Message:
-----------
[ELF] Simplify findOrphanPos. NFC
Simplify the loop that considers sections of the same proximity. The two
involved conditions are due to:
* https://reviews.llvm.org/D111717 ("[ELF] Avoid adding an orphan section to a less suitable segment") and
* https://reviews.llvm.org/D112925 ("[ELF] Better resemble GNU ld when placing orphan sections into memory regions")
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