[−][src]Function wasmer_engine_jit::link_module
pub fn link_module(
_module: &ModuleInfo,
allocated_functions: &PrimaryMap<LocalFunctionIndex, FunctionBodyPtr>,
jt_offsets: &PrimaryMap<LocalFunctionIndex, JumpTableOffsets>,
function_relocations: Relocations,
allocated_sections: &PrimaryMap<SectionIndex, *const u8>,
section_relocations: &PrimaryMap<SectionIndex, Vec<Relocation>>
)
Links a module, patching the allocated functions with the required relocations and jump tables.