[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


================
@@ -1364,6 +1432,107 @@ const Defined *LinkerScript::assignAddresses() {
   return getChangedSymbolAssignment(oldValues);
 }
 
+static bool isRegionOverflowed(MemoryRegion *mr) {
----------------
smithp35 wrote:

Would `hasRegionOverflowed` be a better name. We have a few uses of that form.

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


More information about the llvm-commits mailing list