Function wasmer_compiler::engine::trap::frame_info::register
source · pub fn register(
module: Arc<ModuleInfo>,
finished_functions: &BoxedSlice<LocalFunctionIndex, FunctionExtent>,
frame_infos: FrameInfosVariant,
) -> Option<GlobalFrameInfoRegistration>
Expand description
Registers a new compiled module’s frame information.
This function will register the names
information for all of the
compiled functions within module
. If the module
has no functions
then None
will be returned. Otherwise the returned object, when
dropped, will be used to unregister all name information from this map.