[lld] [LLD] Implement --enable-non-contiguous-regions (PR #90007)
Daniel Thornburgh via llvm-commits
llvm-commits at lists.llvm.org
Fri May 10 16:32:10 PDT 2024
================
@@ -226,6 +226,8 @@ void OutputSection::finalizeInputSections() {
i = std::prev(mergeSections.end());
syn->entsize = ms->entsize;
isd->sections.push_back(syn);
+ if (script)
----------------
mysterymath wrote:
> Since copyPotentialSpillList is so simple and used once, the function should be removed.
I was a bit split on this, as it does require making the potentialSpillLists public. Done; copySpillLists isn't a very good abstraction anyway.
https://github.com/llvm/llvm-project/pull/90007
More information about the llvm-commits
mailing list