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§
- This is a global cache of backtrace frame information for all active
- Represents a continuous region of executable memory starting with a function entry point.
- An RAII structure used to unregister a module’s frame information when the module is destroyed.
Enums§
- The variant of the compiled function frame info which can be an owned type
- The variant of the frame information which can be an owned type or the explicit framed map
- The variant of the trap information which can be an owned type
Functions§
- Registers a new compiled module’s frame information.