[lld] [LLD] Implement --enable-non-contiguous-regions (PR #90007)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Fri May 10 12:00:51 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)
----------------
MaskRay wrote:

Since copyPotentialSpillList is so simple and used once, the function should be removed.

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


More information about the llvm-commits mailing list