[lld] ELF: Introduce --shuffle-padding option. (PR #117653)
Peter Smith via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 28 06:50:12 PST 2024
https://github.com/smithp35 commented:
Thanks for the updates.
I think it is fine to say that this is an opt-in feature, don't hand-roll your own table of pointers (like .init_array) and consolidate it into one of the OutputSections that shuffle-padding might be inserted in.
If we had documentation for LLD like GNU ld, I'd suggest that we highlight it as a limitation of the feature. The man page is a possibility, but I think it is probably not worth it as I would expect a custom section name to be chosen.
I don't have any more comments. As an aside there has been some interest in this by the folks that do benchmarking internally.
https://github.com/llvm/llvm-project/pull/117653
More information about the llvm-commits
mailing list