Function wasmer_compiler::engine::link::apply_relocation
source ยท fn apply_relocation(
body: usize,
r: &impl RelocationLike,
allocated_functions: &PrimaryMap<LocalFunctionIndex, FunctionExtent>,
allocated_sections: &PrimaryMap<SectionIndex, SectionBodyPtr>,
libcall_trampolines_sec_idx: SectionIndex,
libcall_trampoline_len: usize,
riscv_pcrel_hi20s: &mut HashMap<usize, u32>,
get_got_address: &dyn Fn(RelocationTarget) -> Option<usize>,
)