Home
last modified time | relevance | path

Searched refs:frames (Results 1 – 25 of 27) sorted by relevance

12

/wasmtime-44.0.1/crates/c-api/include/wasmtime/
H A Dtrap.hh98 wasm_frame_vec_t frames; in trace() local
99 wasmtime_error_wasm_trace(ptr.get(), &frames); in trace()
100 return Trace(frames); in trace()
136 wasm_frame_vec_t frames; in trace() local
137 wasm_trap_trace(ptr.get(), &frames); in trace()
138 return Trace(frames); in trace()
/wasmtime-44.0.1/tests/all/
H A Dtraps.rs109 assert_eq!(bt.frames().len(), 1); in test_trap_return_downcast()
749 let frames = trap.downcast_ref::<WasmBacktrace>().unwrap().frames(); in parse_dwarf_info() localVariable
750 for frame in frames { in parse_dwarf_info()
1130 assert!(trace.frames().is_empty()); in standalone_backtrace()
1144 let frame1 = &trace.frames()[0]; in standalone_backtrace()
1145 let frame2 = &trace.frames()[1]; in standalone_backtrace()
1427 assert_eq!(trace.frames().len(), 2); in trap_with_array_to_wasm_stack_args()
1477 assert_eq!(trace.frames().len(), 2); in trap_with_native_to_wasm_stack_args()
1796 assert_eq!(trace.frames().len(), 1); in return_call_to_aborting_wasm_function_with_stack_adjustments()
1863 assert_eq!(bt.frames().len(), 10); in test_wasm_backtrace_max_frames()
[all …]
H A Dcoredump.rs66 assert_eq!(cd.frames().len(), 3); in coredump_has_stack()
67 assert_eq!(cd.frames()[0].func_name().unwrap(), "c"); in coredump_has_stack()
68 assert_eq!(cd.frames()[1].func_name().unwrap(), "b"); in coredump_has_stack()
69 assert_eq!(cd.frames()[2].func_name().unwrap(), "a"); in coredump_has_stack()
H A Dasync_functions.rs961 assert_eq!(actual.frames().len(), expected.len()); in non_stacky_async_activations()
962 for (actual, expected) in actual.frames().iter().zip(expected) { in non_stacky_async_activations()
H A Ddebug.rs387 let frames = store.debug_exit_frames().collect::<Vec<_>>(); in debug_frames_on_store_with_no_wasm_activation() localVariable
388 assert_eq!(frames.len(), 0); in debug_frames_on_store_with_no_wasm_activation()
/wasmtime-44.0.1/crates/environ/src/component/translate/
H A Dinline.rs129 let mut frames = vec![(frame, resources_snapshot)]; in run() localVariable
130 let exports = inliner.run(types, &mut frames)?; in run()
131 assert!(frames.is_empty()); in run()
383 let (frame, _) = frames.last_mut().unwrap(); in run()
412 match frames.last_mut() { in run()
431 let (frame, _) = frames.last_mut().unwrap(); in initializer()
517 let (frame, _) = frames.last_mut().unwrap(); in initializer()
593 let (frame, _) = frames.last_mut().unwrap(); in initializer()
694 let (frame, _) = frames.last_mut().unwrap(); in initializer()
1561 let (frame, _) = frames.last_mut().unwrap(); in adapter_options()
[all …]
/wasmtime-44.0.1/crates/c-api/src/
H A Dtrap.rs142 if trace.frames().len() > 0 { in wasm_trap_origin()
164 let vec = (0..trace.frames().len()) in error_trace()
189 frame.trace.frames()[frame.idx].func_index() in wasm_frame_func_index()
199 frame.trace.frames()[frame.idx] in wasmtime_frame_func_name()
213 frame.trace.frames()[frame.idx] in wasmtime_frame_module_name()
223 frame.trace.frames()[frame.idx] in wasm_frame_func_offset()
235 frame.trace.frames()[frame.idx] in wasm_frame_module_offset()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/
H A Ddebug.rs424 let frames = cache.lookup_or_compute(registry, cursor.frame()); in exit_frame() localVariable
425 if frames.len() > 0 { in exit_frame()
473 let frames = cache.lookup_or_compute(registry, parent.cursor.frame()); in parent() localVariable
474 if parent.virtual_frame_idx < frames.len() { in parent()
494 let frames = cache.lookup_or_compute(registry, self.cursor.frame()); in frame_data() localVariable
498 Ok(&frames[frames.len() - 1 - self.virtual_frame_idx]) in frame_data()
642 Entry::Occupied(frames) => frames.into_mut(), in lookup_or_compute()
649 let frames = frames in lookup_or_compute() localVariable
653 v.insert(frames) in lookup_or_compute()
837 if let Some(frames) = ft.find_program_point(pc, FrameInstPos::Post) { in gc_refs_in_frame()
[all …]
H A Dprofiling.rs208 let frames = lookup_frames(&self.modules, &backtrace); in sample() localVariable
211 .intern_stack_frames(self.thread, frames.into_iter()); in sample()
228 let frames = lookup_frames(&self.modules, &backtrace); in call_hook() localVariable
236 .intern_stack_frames(self.thread, frames.into_iter()); in call_hook()
308 .frames() in lookup_frames()
H A Dtrap.rs316 for frame in runtime_trace.frames() { in from_captured()
392 pub fn frames(&self) -> &[FrameInfo] { in frames() method
520 if let Ok(mut frames) = s.addr2line().find_frames(to_lookup).skip_all_loads() { in new()
521 while let Ok(Some(frame)) = frames.next() { in new()
H A Dcoredump.rs64 pub fn frames(&self) -> &[FrameInfo] { in frames() method
65 self.backtrace.frames() in frames()
294 for frame in self.frames() { in _serialize()
/wasmtime-44.0.1/crates/cranelift/src/debug/
H A Dwrite_debuginfo.rs37 frames: Option<FrameTable>, in emit_dwarf_sections()
49 if let Some(frames) = frames { in emit_dwarf_sections()
50 frames.write_debug_frame(&mut sections.debug_frame)?; in emit_dwarf_sections()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/traphandlers/
H A Dbacktrace.rs95 let mut frames = vec![]; in new_with_trap_state() localVariable
103 frames.push(frame); in new_with_trap_state()
111 Backtrace(frames) in new_with_trap_state()
399 pub fn frames<'a>( in frames() method
/wasmtime-44.0.1/crates/test-programs/src/bin/
H A Ddebugger_component.rs68 let frames = d.exit_frames(); in test_simple() localVariable
69 let pc = frames[0].get_pc(d).unwrap(); in test_simple()
/wasmtime-44.0.1/crates/environ/src/compile/
H A Dframe_table.rs283 frames: &[(ModulePC, FrameTableDescriptorIndex, FrameStackShape)], in add_program_point()
302 for (i, &(wasm_pc, frame_descriptor, stack_shape)) in frames.iter().enumerate() { in add_program_point()
305 let not_last = i < (frames.len() - 1); in add_program_point()
/wasmtime-44.0.1/crates/fuzzing/src/oracles/
H A Dstacks.rs82 Some(bt) => bt.frames(), in check_stacks()
/wasmtime-44.0.1/src/commands/
H A Dobjdump.rs704 while let Some((addr, pos, frames)) = in frame_table()
724 for (wasm_pc, frame_descriptor, stack_shape) in frames { in frame_table()
/wasmtime-44.0.1/crates/fiber/src/
H A Dlib.rs361 .frames() in backtrace_traces_to_host()
/wasmtime-44.0.1/crates/debugger/wit/
H A Dworld.wit86 /// Get the current exit frames for each activation.
89 exit-frames: func() -> list<frame>;
/wasmtime-44.0.1/crates/cranelift/src/
H A Dcompiler.rs1622 let mut frames = vec![]; in clif_to_env_frame_tables() localVariable
1647 frames.push(( in clif_to_env_frame_tables()
1662 builder.add_program_point(native_pc_in_code_section, pos, &frames); in clif_to_env_frame_tables()
/wasmtime-44.0.1/crates/debugger/src/host/
H A Dapi.rs239 let frames = d.exit_frames().await?; in exit_frames() localVariable
241 for frame in frames { in exit_frames()
/wasmtime-44.0.1/tests/all/component_model/
H A Dimport.rs367 let trace = trap.downcast_ref::<WasmBacktrace>().unwrap().frames(); in attempt_to_leave_during_malloc()
/wasmtime-44.0.1/cranelift/docs/
H A Dir.md359 values are passed, and how stack frames are managed. Since all of these details
/wasmtime-44.0.1/docs/
H A Dcontributing-architecture.md337 The general idea is that Wasmtime has very tight control over the stack frames
/wasmtime-44.0.1/cranelift/isle/docs/
H A Dlanguage-reference.md1131 stack-frames while the corresponding Rust function executes. This

12