[lld] [GHC] wasm-ld: split up __wasm_apply_data_relocs (PR #129007)

Sam Clegg via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 27 10:31:09 PST 2025


================
@@ -385,6 +384,14 @@ bool InputChunk::generateRelocationCode(raw_ostream &os) const {
     if (!requiresRuntimeReloc)
       continue;
 
+    if (funcs.empty() || funcs.back().size() >= 7654300) {
----------------
sbc100 wrote:

This hardcoded number probably warrants a commend and / or a name.

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


More information about the llvm-commits mailing list