Home
last modified time | relevance | path

Searched refs:ModulePC (Results 1 – 9 of 9) sorted by relevance

/wasmtime-44.0.1/crates/environ/src/
H A Daddress_map.rs90 pub fn to_module_pc(self, wasm_module_offset: u64) -> ModulePC { in to_module_pc() argument
92 ModulePC(self.0 - offset) in to_module_pc()
118 pub struct ModulePC(u32); struct
120 impl ModulePC { impl
132 impl fmt::Debug for ModulePC { implementation
138 impl fmt::Display for ModulePC { implementation
H A Dframe_table.rs7 use crate::{FuncKey, ModulePC};
182 ) -> Option<impl Iterator<Item = (ModulePC, FrameTableDescriptorIndex, FrameStackShape)>> { in find_program_point()
204 Vec<(ModulePC, FrameTableDescriptorIndex, FrameStackShape)>, in into_program_points() argument
221 ) -> impl Iterator<Item = (ModulePC, FrameTableDescriptorIndex, FrameStackShape)> { in program_point_frame_iter()
235 let wasm_pc = ModulePC::new(wasm_pc_raw & 0x7fff_ffff); in program_point_frame_iter()
268 pc: ModulePC, in lookup_breakpoint_patches_by_pc() argument
300 pub fn nearest_breakpoint(&self, pc: ModulePC) -> Option<ModulePC> { in nearest_breakpoint() argument
308 Some(ModulePC::new(self.breakpoint_pcs[i].get(LittleEndian))) in nearest_breakpoint()
321 ) -> impl Iterator<Item = (ModulePC, FrameTableBreakpointData<'_>)> + '_ { in breakpoint_patches()
323 let wasm_pc = ModulePC::new(wasm_pc.get(LittleEndian)); in breakpoint_patches()
/wasmtime-44.0.1/crates/cranelift/src/
H A Dcompiled_function.rs9 FilePos, FrameStateSlotBuilder, InstructionAddressMap, ModulePC, PrimaryMap, TrapInformation,
71 pub breakpoint_patch_points: Vec<(ModulePC, Range<u32>)>,
131 .push((ModulePC::new(wasm_pc_raw), patchable_start..patchable_end)); in finalize_breakpoints()
221 pub fn breakpoint_patches(&self) -> impl Iterator<Item = (ModulePC, Range<u32>)> + '_ { in breakpoint_patches()
H A Dcompiler.rs40 ModulePC, ModuleTranslation, ModuleTypesBuilder, PtrSize, StackMapSection, StaticModuleIndex,
523 let mut breakpoint_table: Vec<(ModulePC, Range<u32>)> = Vec::new(); in append_code()
1648 ModulePC::new(wasm_pc_raw), in clif_to_env_frame_tables()
1672 breakpoint_patches: impl Iterator<Item = (ModulePC, Range<u32>)>, in clif_to_env_breakpoints()
1673 patch_table: &mut Vec<(ModulePC, Range<u32>)>, in clif_to_env_breakpoints() argument
/wasmtime-44.0.1/crates/wasmtime/src/runtime/
H A Ddebug.rs24 pub use wasmtime_environ::ModulePC;
548 ) -> Result<Option<(DefinedFuncIndex, ModulePC)>> { in wasm_function_index_and_pc() argument
665 wasm_pc: ModulePC,
702 wasm_pc: ModulePC,
965 pub pc: ModulePC,
969 struct BreakpointKey(CompiledModuleId, ModulePC);
972 fn from_raw(module: &Module, pc: ModulePC) -> BreakpointKey { in from_raw()
1086 pub fn add_breakpoint(&mut self, module: &Module, pc: ModulePC) -> Result<()> { in add_breakpoint()
1117 pub fn remove_breakpoint(&mut self, module: &Module, pc: ModulePC) -> Result<()> { in remove_breakpoint()
/wasmtime-44.0.1/crates/environ/src/compile/
H A Dframe_table.rs13 FuncKey, ModulePC, WasmHeapTopType, WasmValType, prelude::*,
283 frames: &[(ModulePC, FrameTableDescriptorIndex, FrameStackShape)], in add_program_point() argument
319 wasm_pc: ModulePC, in add_breakpoint_patch() argument
/wasmtime-44.0.1/tests/all/
H A Ddebug.rs7 Global, GlobalType, Instance, Module, ModulePC, Mutability, Store, StoreContextMut, Val,
831 .add_breakpoint(&module, ModulePC::new(0x28))?; in breakpoint_events()
844 assert_eq!(breakpoints[0].pc, ModulePC::new(0x28)); in breakpoint_events()
849 .remove_breakpoint(&module, ModulePC::new(0x28))?; in breakpoint_events()
906 .add_breakpoint(&module, ModulePC::new(0x28)) in breakpoint_events()
969 .add_breakpoint(&module, ModulePC::new(0x2d))?; // `i32.add` in `$f`. in breakpoints_in_inlined_code()
1500 .add_breakpoint(&module, ModulePC::new(0x23))?; in breakpoint_slips_to_first_opcode()
1513 assert_eq!(breakpoints[0].pc, ModulePC::new(0x24)); in breakpoint_slips_to_first_opcode()
1519 .remove_breakpoint(&module, ModulePC::new(0x23))?; in breakpoint_slips_to_first_opcode()
1575 let breakpoint_pc = ModulePC::new(0x26); in component_module_relative_breakpoint_pcs()
/wasmtime-44.0.1/src/commands/
H A Dobjdump.rs19 ModulePC, StackMap, Trap, obj,
576 Vec<(ModulePC, FrameTableDescriptorIndex, FrameStackShape)>,
586 breakpoints: Peekable<Box<dyn Iterator<Item = (ModulePC, usize, SmallVec<[u8; 8]>)>>>,
/wasmtime-44.0.1/crates/debugger/src/host/
H A Dopaque.rs559 .add_breakpoint(&module, wasmtime::ModulePC::new(pc)) in module_add_breakpoint()
571 .remove_breakpoint(&module, wasmtime::ModulePC::new(pc)) in module_remove_breakpoint()