Function wasmer_engine_universal::link_module
source · [−]pub fn link_module(
_module: &ModuleInfo,
allocated_functions: &PrimaryMap<LocalFunctionIndex, FunctionExtent>,
jt_offsets: &PrimaryMap<LocalFunctionIndex, JumpTableOffsets>,
function_relocations: Relocations,
allocated_sections: &PrimaryMap<SectionIndex, SectionBodyPtr>,
section_relocations: &PrimaryMap<SectionIndex, Vec<Relocation>>,
libcall_trampolines: SectionIndex,
trampoline_len: usize
)
Expand description
Links a module, patching the allocated functions with the required relocations and jump tables.