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§
- FunctionExtent 
- Represents a continuous region of executable memory starting with a function entry point.
- FunctionInfo 🔒
- GlobalFrame Info 
- GlobalFrame Info Registration 
- An RAII structure used to unregister a module’s frame information when the module is destroyed.
- ModuleInfo 🔒Frame Info 
Enums§
- CompiledFunction Frame Info Variant 
- The variant of the compiled function frame info which can be an owned type
- FrameInfos Variant 
- The variant of the frame information which can be an owned type or the explicit framed map
- FunctionAddress MapInstruction Variant 
- FunctionAddress MapVariant 
- VecTrapInformation 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.