Module wasmer_compiler::engine::trap::frame_info

source ·
Expand description

This module is used for having backtraces in the Wasm runtime. Once the Compiler has compiled the ModuleInfo, and we have a set of compiled functions (addresses and function index) and a module, then we can use this to set a backtrace for that module.

§Example

use wasmer_vm::{FRAME_INFO};
use wasmer_types::ModuleInfo;

let module: ModuleInfo = ...;
FRAME_INFO.register(module, compiled_functions);

Structs§

Enums§

Functions§

  • Registers a new compiled module’s frame information.