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§
- Function
Extent - Represents a continuous region of executable memory starting with a function entry point.
- Function
Info 🔒 - Global
Frame Info - Global
Frame Info Registration - An RAII structure used to unregister a module’s frame information when the module is destroyed.
- Module
Info 🔒Frame Info
Enums§
- Compiled
Function Frame Info Variant - The variant of the compiled function frame info which can be an owned type
- Frame
Infos Variant - The variant of the frame information which can be an owned type or the explicit framed map
- Function
Address MapInstruction Variant - Function
Address MapVariant - VecTrap
Information Variant - The variant of the trap information which can be an owned type
Statics§
- FRAME_
INFO - This is a global cache of backtrace frame information for all active
Functions§
- register
- Registers a new compiled module’s frame information.