Searched refs:text_offset (Results 1 – 9 of 9) sorted by relevance
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/ |
| H A D | instantiate.rs | 174 pub fn func_by_text_offset(&self, text_offset: usize) -> Option<DefinedFuncIndex> { in func_by_text_offset() 175 let text_offset = u32::try_from(text_offset).unwrap(); in func_by_text_offset() localVariable 176 let key = self.index.func_by_text_offset(text_offset)?; in func_by_text_offset()
|
| H A D | code.rs | 481 pub(crate) fn text_offset(&self, pc: usize) -> Option<u32> { in text_offset() method 489 let text_offset = self.text_offset(pc)?; in lookup_stack_map() localVariable 491 wasmtime_environ::StackMap::lookup(text_offset, info) in lookup_stack_map()
|
| H A D | trap.rs | 483 pub(crate) fn new(module: Module, text_offset: usize) -> Option<FrameInfo> { in new() 485 let index = compiled_module.func_by_text_offset(text_offset)?; in new() 488 wasmtime_environ::lookup_file_pos(module.engine_code().address_map_data(), text_offset); in new()
|
| H A D | code_memory.rs | 616 pub fn lookup_trap_code(&self, text_offset: usize) -> Option<Trap> { in lookup_trap_code() 617 lookup_trap_code(self.trap_data(), text_offset) in lookup_trap_code()
|
| H A D | store.rs | 2166 .text_offset(pc) in trace_wasm_stack_frame()
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/module/ |
| H A D | registry.rs | 287 let text_offset = StoreCodePC::offset_of(code.code.text_range(), pc)?; in lookup_frame_info() localVariable 288 let (_, module_id) = code.modules.range(..=text_offset).next_back()?; in lookup_frame_info() 293 let info = FrameInfo::new(module.clone(), text_offset)?; in lookup_frame_info() 343 let text_offset = pc.checked_sub(*start)?; in lookup_code() localVariable 344 Some((module.clone(), text_offset)) in lookup_code()
|
| /wasmtime-44.0.1/crates/environ/src/ |
| H A D | module_artifacts.rs | 463 pub fn func_by_text_offset(&self, text_offset: u32) -> Option<FuncKey> { in func_by_text_offset() 467 .cmp(&text_offset) in func_by_text_offset() 470 if loc.start > text_offset { in func_by_text_offset() 472 } else if loc.start + loc.length <= text_offset { in func_by_text_offset() 475 debug_assert!(loc.start <= text_offset); in func_by_text_offset() 476 debug_assert!(text_offset < loc.start + loc.length); in func_by_text_offset() 499 if text_offset < start || end < text_offset { in func_by_text_offset()
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/sys/unix/ |
| H A D | machports.rs | 424 let Some((code, text_offset)) = lookup_code(pc as usize) else { in handle_exception() 428 let Some(trap) = code.lookup_trap_code(text_offset) else { in handle_exception()
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/ |
| H A D | traphandlers.rs | 1039 let Some((code, text_offset)) = lookup_code(regs.pc) else { in test_if_trap() 1047 let Some(trap) = code.lookup_trap_code(text_offset) else { in test_if_trap()
|