[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:22 PDT 2024


================
@@ -196,6 +196,9 @@ def emit_relocs: F<"emit-relocs">, HelpText<"Generate relocations in output">;
 def enable_new_dtags: F<"enable-new-dtags">,
   HelpText<"Enable new dynamic tags (default)">;
 
+def enable_non_contiguous_regions : FF<"enable-non-contiguous-regions">,
----------------
smithp35 wrote:

Would it be worth silently accepting 
`--enable-non-contiguous-regions-warnings` for command-line compatibility with GNU ld. I think this is safe because LLD won't encounter the case where it has to give a warning.
           

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


More information about the llvm-commits mailing list