MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / relocations

Method relocations

crates/cranelift/src/compiled_function.rs:140–145  ·  view source on GitHub ↗

Returns an iterator to the function's relocation information.

(&self)

Source from the content-addressed store, hash-verified

138
139 /// Returns an iterator to the function's relocation information.
140 pub fn relocations(&self) -> impl Iterator<Item = Relocation> + '_ {
141 self.buffer
142 .relocs()
143 .iter()
144 .map(|r| mach_reloc_to_reloc(r, &self.name_map))
145 }
146
147 /// Returns an iterator to the function's trap information.
148 pub fn traps<'a>(

Calls 4

mach_reloc_to_relocFunction · 0.85
relocsMethod · 0.80
mapMethod · 0.45
iterMethod · 0.45