MCPcopy Create free account
hub / github.com/WebAssembly/wasm-c-api / wasm_trap_origin

Function wasm_trap_origin

src/wasm-c.cc:709–711  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

707}
708
709wasm_frame_t* wasm_trap_origin(const wasm_trap_t* trap) {
710 return release_frame(reveal_trap(trap)->origin());
711}
712
713void wasm_trap_trace(const wasm_trap_t* trap, wasm_frame_vec_t* out) {
714 *out = release_frame_vec(reveal_trap(trap)->trace());

Callers 3

mainFunction · 0.85
mainFunction · 0.85
wasm.hFile · 0.85

Calls 1

originMethod · 0.80

Tested by

no test coverage detected