Struct wasmtime_jit::trampoline::TrampolineRelocSink [−][src]
pub struct TrampolineRelocSink { /* fields omitted */ }We don’t expect trampoline compilation to produce many relocations, so
this RelocSink just asserts that it doesn’t recieve most of them, but
handles libcall ones.
Implementations
impl TrampolineRelocSink[src]
impl TrampolineRelocSink[src]pub fn relocs(&self) -> &[Relocation][src]
Returns collected relocations.
Trait Implementations
impl Default for TrampolineRelocSink[src]
impl Default for TrampolineRelocSink[src]fn default() -> TrampolineRelocSink[src]
impl RelocSink for TrampolineRelocSink[src]
impl RelocSink for TrampolineRelocSink[src]fn reloc_external(
&mut self,
offset: CodeOffset,
_srcloc: SourceLoc,
reloc: Reloc,
name: &ExternalName,
addend: Addend
)[src]
&mut self,
offset: CodeOffset,
_srcloc: SourceLoc,
reloc: Reloc,
name: &ExternalName,
addend: Addend
)
fn reloc_constant(
&mut self,
_code_offset: CodeOffset,
_reloc: Reloc,
_constant_offset: ConstantOffset
)[src]
&mut self,
_code_offset: CodeOffset,
_reloc: Reloc,
_constant_offset: ConstantOffset
)