[lld] [lld][ELF] Extend profile guided function ordering to ELF binaries (PR #117514)

via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 26 22:14:24 PST 2024


Colibrow wrote:

@smithp35 You're correct. In the standard ELF format, we typically use -ffunction-sections and -fdata-sections flags to achieve balanced section partitioning. The original comment was indeed copied from the Mach-O specific implementation. I've updated the code to reflect this, and if you have any additional suggestions, I'd be happy to hear them. Appreciate your review!

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


More information about the llvm-commits mailing list