[lld] [LLD] Implement --enable-non-contiguous-regions (PR #90007)
Daniel Thornburgh via llvm-commits
llvm-commits at lists.llvm.org
Mon May 13 10:30:07 PDT 2024
================
@@ -226,6 +226,13 @@ void OutputSection::finalizeInputSections() {
i = std::prev(mergeSections.end());
syn->entsize = ms->entsize;
isd->sections.push_back(syn);
+ // The merge synthetic section inherits the potential spill locations of
+ // its first contained section.
+ if (script) {
----------------
mysterymath wrote:
Done.
https://github.com/llvm/llvm-project/pull/90007
More information about the llvm-commits
mailing list