pub fn link_module(
_module: &ModuleInfo,
allocated_functions: &PrimaryMap<LocalFunctionIndex, FunctionExtent>,
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.