[lld] [LLD] Implement --enable-non-contiguous-regions (PR #90007)
Peter Smith via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 30 10:28:23 PDT 2024
================
@@ -425,6 +426,25 @@ class InputSection : public InputSectionBase {
template <class ELFT> void copyShtGroup(uint8_t *buf);
};
+// A marker for a potential spill location for another input section. This
+// broadly acts as if it were the original section until address assignment.
+// Then it is either replaced with the real input section or removed.
+class SpillInputSection : public InputSection {
----------------
smithp35 wrote:
I'd personally lean towards `PotentialSpillInputSection` as for some reason my brain sees SpillInputSection, or spill in the code, and thinks of it as a real thing that has spilled, not somewhere that might be spilled to.
However this is subjective so probably best to see if anyone else agrees before making any changes.
https://github.com/llvm/llvm-project/pull/90007
More information about the llvm-commits
mailing list