[llvm] [MC][WebAssembly] Fix importing tables with limits (PR #172992)
Sam Clegg via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 23 09:34:01 PST 2025
================
@@ -1849,6 +1850,15 @@ uint64_t WasmObjectWriter::writeOneObject(MCAssembler &Asm,
HandleReloc(RelEntry);
for (const WasmRelocationEntry &RelEntry : DataRelocations)
HandleReloc(RelEntry);
+
+ // Update minimum size of `__indirect_function_table` table.
+ auto It = llvm::find_if(Imports, [](const wasm::WasmImport &I) {
+ return I.Field == "__indirect_function_table";
+ });
----------------
sbc100 wrote:
I'll take quick look at see if I can find a way to get this working ..
https://github.com/llvm/llvm-project/pull/172992
More information about the llvm-commits
mailing list