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

Method append_code

crates/winch/src/compiler.rs:180–187  ·  view source on GitHub ↗
(
        &self,
        obj: &mut Object<'static>,
        funcs: &[(String, FuncKey, Box<dyn Any + Send + Sync>)],
        resolve_reloc: &dyn Fn(usize, wasmtime_environ::FuncKey) -> usize,
    )

Source from the content-addressed store, hash-verified

178 }
179
180 fn append_code(
181 &self,
182 obj: &mut Object<'static>,
183 funcs: &[(String, FuncKey, Box<dyn Any + Send + Sync>)],
184 resolve_reloc: &dyn Fn(usize, wasmtime_environ::FuncKey) -> usize,
185 ) -> Result<Vec<(SymbolId, FunctionLoc)>> {
186 self.trampolines.append_code(obj, funcs, resolve_reloc)
187 }
188
189 fn triple(&self) -> &target_lexicon::Triple {
190 self.isa.triple()

Callers 1

link_and_append_codeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected