Home
last modified time | relevance | path

Searched refs:trace (Results 1 – 25 of 120) sorted by relevance

12345

/wasmtime-44.0.1/tests/all/
H A Dtraps.rs132 assert_eq!(trace.len(), 2); in test_trap_trace()
134 assert_eq!(trace[0].func_index(), 1); in test_trap_trace()
205 assert_eq!(trace.len(), 3); in test_trap_through_host()
255 assert_eq!(trace.len(), 2); in test_trap_trace_cb()
286 for i in 0..trace.len() { in test_trap_stack_overflow()
473 assert_eq!(trace.len(), 1); in rust_catch_panic_import()
617 assert_eq!(trace.len(), 1); in present_after_module_drop()
634 assert!(trace.len() > 0); in assert_trap_code()
876 assert_eq!(trace.len(), 2); in traps_without_address_map()
1038 assert_eq!(trace.len(), 1); in async_then_sync_trap()
[all …]
/wasmtime-44.0.1/cranelift/codegen/src/egraph/
H A Delaborate.rs13 use crate::trace;
172 trace!( in start_block()
205 trace!( in start_block()
298 trace!( in compute_best_values()
328 trace!( in compute_best_values()
506 trace!( in process_elab_stack()
539 trace!( in process_elab_stack()
584 trace!( in process_elab_stack()
625 trace!( in process_elab_stack()
665 trace!( in process_elab_stack()
[all …]
H A Dmod.rs18 use crate::trace;
212 log::trace!( in insert_pure_enode()
269 log::trace!( in depth_of_block_in_gvn_map()
330 trace!( in optimize_pure_enode()
360 trace!( in optimize_pure_enode()
490 trace!( in optimize_skeleton_inst()
628 log::trace!( in simplify_skeleton_inst()
635 log::trace!( in simplify_skeleton_inst()
716 trace!(" -> {} = {:?}", value, def); in run()
728 log::trace!("stats: {:#?}", self.stats); in run()
[all …]
/wasmtime-44.0.1/crates/unwinder/src/
H A Dstackwalk.rs139 log::trace!("=== Tracing through contiguous sequence of Wasm frames ==="); in new()
140 log::trace!("trampoline_fp = 0x{trampoline_fp:016x}"); in new()
141 log::trace!(" initial pc = 0x{pc:016x}"); in new()
142 log::trace!(" initial fp = 0x{fp:016x}"); in new()
220 log::trace!("=== Done tracing contiguous sequence of Wasm frames ==="); in advance()
242 log::trace!("--- Tracing through one Wasm frame ---"); in advance()
243 log::trace!("pc = {:p}", self.pc as *const ()); in advance()
244 log::trace!("fp = {:p}", self.fp as *const ()); in advance()
/wasmtime-44.0.1/crates/c-api/tests/
H A Dtrap.cc11 EXPECT_EQ(t.trace().size(), 0); in TEST()
21 auto trace = trap.trace(); in TEST() local
22 EXPECT_EQ(trace.size(), 1); in TEST()
23 auto frame = *trace.begin(); in TEST()
29 for (auto &frame : trace) { in TEST()
/wasmtime-44.0.1/crates/c-api/src/
H A Dtrap.rs85 trace: &'a WasmBacktrace, field
142 if trace.frames().len() > 0 { in wasm_trap_origin()
144 trace, in wasm_trap_origin()
160 let trace = match error.downcast_ref::<WasmBacktrace>() { in error_trace() localVariable
164 let vec = (0..trace.frames().len()) in error_trace()
167 trace, 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()
[all …]
/wasmtime-44.0.1/crates/wasmtime/src/runtime/
H A Dtype_registry.rs127 .trace(&mut |idx| match idx { in register_and_canonicalize_types()
347 log::trace!("RegisteredType::new({ty:?})"); in new()
419 log::trace!( in from_parts()
689 log::trace!("Start registering module types"); in register_module_types()
720 log::trace!("End registering module types"); in register_module_types()
1240 log::trace!(" hash_consing_map.reserve(1)"); in reserve_capacity_for_rec_group()
1243 log::trace!(" types.reserve({num_types})"); in reserve_capacity_for_rec_group()
1309 ty.trace::<_, ()>(&mut |index| match index { in assert_canonicalized_for_runtime_usage_in_this_registry()
1468 log::trace!( in unregister_entry()
1478 log::trace!( in unregister_entry()
[all …]
/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/
H A Dthrow.rs27 log::trace!( in compute_handler()
52 log::trace!( in compute_handler()
62 log::trace!("-> checking handler: {handler:?}"); in compute_handler()
77 log::trace!("-> read vmctx from frame: {frame_vmctx:x}"); in compute_handler()
102 log::trace!( in compute_handler()
125 log::trace!("throw action: {action:?}"); in compute_handler()
/wasmtime-44.0.1/cranelift/codegen/src/
H A Dalias_analysis.rs72 trace,
195 trace!("alias analysis: input is:\n{:?}", func); in new()
220 trace!( in compute_block_input_states()
228 trace!("after inst{}: state is {:?}", inst.index(), state); in compute_block_input_states()
271 trace!( in process_inst()
293 trace!( in process_inst()
312 trace!( in process_inst()
331 trace!( in process_inst()
337 trace!( in process_inst()
353 trace!( in process_inst()
H A Dopts.rs17 use crate::trace;
74 trace!("new iter from root {root}"); in new()
95 trace!("iter: value {:?}", value); in next()
100 trace!(" -> {}, {}", x, y); in next()
107 trace!(" -> value of type {}", ty); in next()
211 trace!("make_inst_ctor: creating {:?}", op); in make_inst_ctor()
213 trace!("make_inst_ctor: {:?} -> {}", op, value); in make_inst_ctor()
259 trace!("remat: {}", value); in remat()
266 trace!("subsume: {}", value); in subsume()
H A Dunreachable_code.rs9 use crate::{ir, trace};
43 trace!("Eliminating unreachable {}", block); in eliminate_unreachable_code()
50 trace!(" - {}", pos.func.dfg.display_inst(inst)); in eliminate_unreachable_code()
H A Dcontext.rs26 use crate::trace;
134 trace!("****** START compiling {}", self.func.display_spec()); in compile_stencil()
142 trace!("****** DONE compiling {}\n", self.func.display_spec()); in compile_stencil()
166 crate::trace!( in optimize()
372 trace!( in egraph_pass()
388 trace!("After egraph optimization:\n{}", self.func.display()); in egraph_pass()
/wasmtime-44.0.1/cranelift/codegen/src/machinst/
H A Dlower.rs405 trace!( in new()
527 trace!( in gen_arg_setup()
755 trace!( in lower_clif_block()
849 trace!( in lower_clif_block()
916 trace!( in get_value_labels()
946 trace!( in emit_value_label_marks_for_value()
960 trace!( in emit_value_label_live_range_start_for_inst()
1005 trace!( in lower_clif_branch()
1211 trace!( in lower()
1529 trace!( in get_value_as_source_or_const()
[all …]
H A Dbuffer.rs180 use crate::trace;
687 trace!( in get_label_for_constant()
699 trace!( in bind_label()
762 trace!( in use_label_at_offset()
920 trace!( in truncate_last_branch()
979 trace!( in optimize_branches()
1239 trace!( in optimize_branches()
1288 trace!( in island_needed()
1336 trace!( in emit_island_maybe_forced()
1375 trace!( in emit_island_maybe_forced()
[all …]
/wasmtime-44.0.1/pulley/fuzz/src/
H A Droundtrip.rs9 log::trace!("input: {ops:#?}"); in roundtrip()
18 log::trace!("encoded: {encoded:?}"); in roundtrip()
22 log::trace!("decoded: {decoded:#?}"); in roundtrip()
/wasmtime-44.0.1/crates/debugger/src/
H A Dlib.rs334 log::trace!("running: state is {:?}", self.state); in run()
341 log::trace!("sending Continue"); in run()
346 log::trace!("sent Continue"); in run()
362 log::trace!("in Queried; receiving"); in run()
367 log::trace!("in Queried; received, dropping"); in run()
372 log::trace!("in Paused; sending Continue"); in run()
389 log::trace!("waiting for response"); in run()
398 log::trace!("got Finished"); in run()
404 log::trace!("got Paused"); in run()
423 log::trace!("finish: event {e:?}"); in finish()
[all …]
/wasmtime-44.0.1/crates/cranelift/src/func_environ/gc/
H A Denabled.rs372 log::trace!( in translate_struct_get()
423 log::trace!( in translate_struct_set()
461 log::trace!("translate_struct_set: finished"); in translate_struct_set()
669 log::trace!( in initialize()
709 log::trace!("initialize_array: finished"); in initialize()
726 log::trace!( in emit_array_fill_impl()
784 log::trace!("emit_array_fill_impl: loop body"); in emit_array_fill_impl()
793 log::trace!("emit_array_fill_impl: finished"); in emit_array_fill_impl()
809 log::trace!( in translate_array_fill()
1066 log::trace!("translate_array_set: finished"); in translate_array_set()
[all …]
/wasmtime-44.0.1/crates/fuzzing/src/
H A Doom.rs120 log::trace!( in alloc()
141 log::trace!("Attempt to allocate {layout:?} after OOM:\n{bt}"); in alloc()
271 log::trace!("=== Injecting OOM after {i} allocations ==="); in test_async()
335 log::trace!("OomTestFuture::poll: Entered ---"); in poll()
346 log::trace!("OomTestFuture::poll: inner result: {result:?}"); in poll()
347 log::trace!("OomTestFuture::poll: old state: {:?}", self.state); in poll()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/traphandlers/
H A Dbacktrace.rs116 pub fn trace(store: &StoreOpaque, mut f: impl FnMut(Frame) -> ControlFlow<()>) { in trace() method
144 log::trace!("====== Capturing Backtrace (suspended continuation) ======"); in trace_suspended_continuation()
182 log::trace!("====== Done Capturing Backtrace (closure break) ======"); in trace_suspended_continuation()
187 log::trace!("====== Done Capturing Backtrace (reached end of stack chain) ======"); in trace_suspended_continuation()
214 log::trace!("====== Capturing Backtrace ======"); in trace_with_trap_state()
286 log::trace!("====== Done Capturing Backtrace (closure break) ======"); in trace_with_trap_state()
291 log::trace!("====== Done Capturing Backtrace (reached end of activations) ======"); in trace_with_trap_state()
/wasmtime-44.0.1/crates/environ/src/
H A Dtypes.rs34 self.trace(&mut |idx| match idx { in trace_engine_indices()
70 self.trace(&mut |idx| match idx { in is_canonicalized_for_runtime_usage()
268 self.heap_type.trace(func) in trace()
734 ty.trace(func)?; in trace()
973 f.trace(func)?; in trace()
1078 self.element_type.trace(func) in trace()
1104 self.0.trace(func) in trace()
1146 f.trace(func)?; in trace()
1541 ty.trace(func)?; in trace()
1874 wasm_ty.trace(func) in trace()
[all …]
/wasmtime-44.0.1/crates/gdbstub-component/src/
H A Dlib.rs23 use log::trace;
64 trace!("debugger exited with error: {e}"); in debug()
183 trace!("continuing"); in start_continue()
190 trace!("single-stepping"); in start_single_step()
222 trace!("Event::Complete"); in handle_event()
235 trace!( in handle_event()
256 trace!("Event::Trap"); in handle_event()
274 trace!("other event: {event:?}"); in handle_event()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/vm/gc/enabled/
H A Ddrc.rs160 log::trace!("allocating new DRC heap"); in new()
519 log::trace!("{prefix}: {set}"); in log_gc_ref_set()
560 log::trace!("Begin sweeping"); in sweep()
582 log::trace!( in sweep()
594 log::trace!( in sweep()
610 log::trace!("Done sweeping"); in sweep()
1095 log::trace!("Begin DRC trace"); in collect_increment()
1100 self.heap.trace(&mut self.roots); in collect_increment()
1105 log::trace!("End DRC trace"); in collect_increment()
1110 log::trace!("Begin DRC sweep"); in collect_increment()
[all …]
/wasmtime-44.0.1/cranelift/
H A DCargo.toml24 "trace-log",
51 # Note that this just enables `trace-log` for `clif-util` and doesn't turn it on
53 regalloc2 = { workspace = true, features = ["trace-log"] }
60 "cranelift-codegen/trace-log",
/wasmtime-44.0.1/crates/cranelift/src/func_environ/gc/enabled/
H A Ddrc.rs319 log::trace!("DRC initialization barrier: check if the value is null or i31"); in translate_init_gc_reference()
341 log::trace!( in translate_init_gc_reference()
583 log::trace!("translate_read_gc_reference({ty:?}, {src:?}, {flags:?})"); in translate_read_gc_reference()
686 log::trace!( in translate_read_gc_reference()
714 log::trace!( in translate_read_gc_reference()
723 log::trace!("translate_read_gc_reference(..) -> {gc_ref:?}"); in translate_read_gc_reference()
858 log::trace!("DRC write barrier: increment new ref's ref count"); in translate_write_gc_reference()
883 log::trace!( in translate_write_gc_reference()
905 log::trace!("DRC write barrier: drop old ref with a ref count of zero"); in translate_write_gc_reference()
915 log::trace!("DRC write barrier: store decremented ref count into old ref"); in translate_write_gc_reference()
[all …]
/wasmtime-44.0.1/crates/wasmtime/src/compile/
H A Dstratify.rs97 log::trace!("Stratifying {call_graph:#?}"); in new()
171 log::trace!(" -> {result:#?}"); in new()
268 log::trace!("expected stratification = {expected:?}"); in assert_stratification()
279 log::trace!("actual stratification = {actual:?}"); in assert_stratification()
283 log::trace!("expected layer = {expected:?}"); in assert_stratification()
284 log::trace!(" actual layer = {expected:?}"); in assert_stratification()

12345