Function wasmer_compiler::register_frame_info

source ·
pub fn register_frame_info(
    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.