| /wasmtime-44.0.1/pulley/src/interp/ |
| H A D | tail_loop.rs | 72 fn debug<'a>( in debug() function 76 ) -> debug::Debug<'a> { in debug() 77 debug::Debug(Interpreter { in debug() 91 let mut debug = debug(state, pc, executing_pc); in dispatch() localVariable 92 debug.before_visit(); in dispatch() 93 let Ok(opcode) = Opcode::decode(debug.bytecode()); in dispatch() 95 tail_call!(handler(debug.0.state, debug.0.pc, debug.0.executing_pc)); in dispatch() 104 let mut i = debug(state, pc, pc_ref); in run_extended() 170 let mut debug = debug(state, pc, executing_pc); localVariable 175 debug.after_visit(); [all …]
|
| /wasmtime-44.0.1/tests/misc_testsuite/component-model/async/ |
| H A D | error-context.wast | 15 ;; error-context.debug-message 23 (import "" "error-context.debug-message" (func $error-context-debug-message (param i32 i32))) 25 …(core func $error-context-debug-message (canon error-context.debug-message (memory $libc "memory")… 26 …nstantiate $m (with "" (instance (export "error-context.debug-message" (func $error-context-debug-… 38 ;; Test edge-case behavior of `error-context.debug-message`. 58 (import "" "error-context.debug-message" (func $error-context.debug-message (param i32 i32))) 65 (call $error-context.debug-message (local.get $handle) (local.get $dst)) 71 …(core func $error-context.debug-message (canon error-context.debug-message (memory $libc "memory")… 77 (export "error-context.debug-message" (func $error-context.debug-message)) 86 (assert_trap (invoke "run" (u32.const 65532)) "invalid debug message pointer")
|
| /wasmtime-44.0.1/tests/misc_testsuite/component-model/ |
| H A D | error-context-trap-in-post-return.wast | 11 (core func $error-context.debug-message 12 (canon error-context.debug-message 20 (import "" "error-context.debug-message" (func $error-context.debug-message (param i32 i32))) 25 …(func (export "trap-calling-error-context-debug-message") (call $error-context.debug-message (i32.… 31 (export "error-context.debug-message" (func $error-context.debug-message)) 37 (func (export "trap-calling-error-context-debug-message") 39 (post-return (func $dm "trap-calling-error-context-debug-message")))) 48 (assert_trap (invoke "trap-calling-error-context-debug-message") "cannot leave component instance")
|
| /wasmtime-44.0.1/crates/wasi-http/tests/all/ |
| H A D | http_server.rs | 8 use tracing::{debug, trace, warn}; 15 debug!(?req, "preparing mocked response for request"); in test() 58 debug!("dedicated thread to start listening"); in new() 61 debug!(i, "preparing to accept connection"); in new() 64 debug!(i, "accepted connection"); in new() 84 debug!("initializing http1 server"); in http1() 89 debug!("preparing to bind connection to service"); in http1() 98 debug!("initializing http2 server"); in http2() 103 debug!("preparing to bind connection to service"); in http2() 126 debug!("shutting down http1 server"); in drop()
|
| /wasmtime-44.0.1/tests/disas/ |
| H A D | issue-12808.wat | 3 ;;! flags = ["-Dguest-debug=yes", "-Wthreads=yes"] 25 ;; ├─╼ debug frame state (after previous inst): func key DefinedWasmFunction(StaticModuleInde… 29 ;; ├─╼ debug frame state (after previous inst): func key DefinedWasmFunction(StaticModuleInde… 33 ;; ├─╼ debug frame state (after previous inst): func key DefinedWasmFunction(StaticModuleInde… 37 ;; ├─╼ debug frame state (after previous inst): func key DefinedWasmFunction(StaticModuleInde… 41 ;; ├─╼ debug frame state (after previous inst): func key DefinedWasmFunction(StaticModuleInde… 53 ;; ├─╼ debug frame state (after previous inst): func key DefinedWasmFunction(StaticModuleInde… 68 ;; ╰─╼ debug frame state (after previous inst): func key DefinedWasmFunction(StaticModuleInde… 75 ;; ╰─╼ debug frame state (after previous inst): func key DefinedWasmFunction(StaticModuleInde…
|
| H A D | debug-exceptions.wat | 3 ;;! flags = ["-Wexceptions=yes", "-Wgc=yes", "-Dguest-debug=yes"] 38 ;; ├─╼ debug frame state (after previous inst): func key DefinedWasmFunction(StaticModuleInde… 42 ;; ├─╼ debug frame state (after previous inst): func key DefinedWasmFunction(StaticModuleInde… 46 ;; ├─╼ debug frame state (after previous inst): func key DefinedWasmFunction(StaticModuleInde… 51 ;; ├─╼ debug frame state (after previous inst): func key DefinedWasmFunction(StaticModuleInde… 54 ;; ├─╼ debug frame state (after previous inst): func key DefinedWasmFunction(StaticModuleInde… 58 ;; ├─╼ debug frame state (after previous inst): func key DefinedWasmFunction(StaticModuleInde… 92 ;; ╰─╼ debug frame state (after previous inst): func key DefinedWasmFunction(StaticModuleInde… 113 ;; ├─╼ debug frame state (after previous inst): func key DefinedWasmFunction(StaticModuleInde… 126 ;; ├─╼ debug frame state (after previous inst): func key DefinedWasmFunction(StaticModuleInde… [all …]
|
| /wasmtime-44.0.1/docs/ |
| H A D | examples-debugging-native-debugger.md | 3 The following steps describe how to use `gdb` or `lldb` to debug both the Wasm 7 1. Compile your WebAssembly with debug info enabled, usually `-g`; for 14 2. Run Wasmtime with the debug info enabled; this is `-D debug-info` from the 22 lldb -- wasmtime run -D debug-info foo.wasm 25 gdb --args wasmtime run -D debug-info -O opt-level=0 foo.wasm
|
| H A D | examples-coredump.md | 3 The following steps describe how to debug using Wasm coredump in Wasmtime: 5 1. Compile your WebAssembly with debug info enabled; for example: 47 3. Use [wasmgdb] to debug:
|
| /wasmtime-44.0.1/crates/wasmtime/src/runtime/ |
| H A D | limits.rs | 89 log::debug!("ignoring memory growth failure error: {error:?}"); in memory_grow_failed() 124 log::debug!("ignoring table growth failure error: {error:?}"); in table_grow_failed() 184 log::debug!("ignoring memory growth failure error: {error:?}"); in memory_grow_failed() 198 log::debug!("ignoring table growth failure error: {error:?}"); in table_grow_failed() 361 log::debug!("ignoring memory growth failure error: {error:?}"); in memory_grow_failed() 390 log::debug!("ignoring table growth failure error: {error:?}"); in table_grow_failed()
|
| /wasmtime-44.0.1/crates/component-macro/tests/expanded/ |
| H A D | many-arguments_tracing_async.rs | 414 a2 = tracing::field::debug(& arg1), a3 = in add_to_linker() 415 tracing::field::debug(& arg2), a4 = tracing::field::debug(& in add_to_linker() 416 arg3), a5 = tracing::field::debug(& arg4), a6 = in add_to_linker() 417 tracing::field::debug(& arg5), a7 = tracing::field::debug(& in add_to_linker() 418 arg6), a8 = tracing::field::debug(& arg7), a9 = in add_to_linker() 419 tracing::field::debug(& arg8), a10 = tracing::field::debug(& in add_to_linker() 421 tracing::field::debug(& arg11), a13 = in add_to_linker() 422 tracing::field::debug(& arg12), a14 = in add_to_linker() 423 tracing::field::debug(& arg13), a15 = in add_to_linker() 424 tracing::field::debug(& arg14), a16 = in add_to_linker() [all …]
|
| H A D | resources-import_tracing_async.rs | 320 tracing::Level::TRACE, result = tracing::field::debug(& r), in add_to_linker_imports() 344 tracing::Level::TRACE, result = tracing::field::debug(& r), in add_to_linker_imports() 368 tracing::Level::TRACE, self_ = tracing::field::debug(& in add_to_linker_imports() 374 tracing::Level::TRACE, result = tracing::field::debug(& r), in add_to_linker_imports() 942 tracing::Level::TRACE, self_ = tracing::field::debug(& in add_to_linker() 971 tracing::Level::TRACE, x = tracing::field::debug(& arg0), in add_to_linker() 1000 tracing::Level::TRACE, x = tracing::field::debug(& arg0), in add_to_linker() 1052 tracing::Level::TRACE, x = tracing::field::debug(& arg0), in add_to_linker() 1301 tracing::Level::TRACE, x = tracing::field::debug("..."), in add_to_linker() 1336 tracing::Level::TRACE, x = tracing::field::debug("..."), in add_to_linker() [all …]
|
| H A D | integers_tracing_async.rs | 368 tracing::Level::TRACE, x = tracing::field::debug(& arg0), in add_to_linker() 394 tracing::Level::TRACE, x = tracing::field::debug(& arg0), in add_to_linker() 420 tracing::Level::TRACE, x = tracing::field::debug(& arg0), in add_to_linker() 446 tracing::Level::TRACE, x = tracing::field::debug(& arg0), in add_to_linker() 472 tracing::Level::TRACE, x = tracing::field::debug(& arg0), in add_to_linker() 498 tracing::Level::TRACE, x = tracing::field::debug(& arg0), in add_to_linker() 589 p2 = tracing::field::debug(& arg1), p3 = in add_to_linker() 590 tracing::field::debug(& arg2), p4 = tracing::field::debug(& in add_to_linker() 591 arg3), p5 = tracing::field::debug(& arg4), p6 = in add_to_linker() 592 tracing::field::debug(& arg5), p7 = tracing::field::debug(& in add_to_linker() [all …]
|
| H A D | lists_tracing_async.rs | 1056 tracing::field::debug("..."), "return" in add_to_linker() 1079 tracing::field::debug("..."), "return" in add_to_linker() 1102 tracing::field::debug("..."), "return" in add_to_linker() 1125 tracing::field::debug("..."), "return" in add_to_linker() 1148 tracing::field::debug("..."), "return" in add_to_linker() 1171 tracing::field::debug("..."), "return" in add_to_linker() 1194 tracing::field::debug("..."), "return" in add_to_linker() 1217 tracing::field::debug("..."), "return" in add_to_linker() 1240 tracing::field::debug("..."), "return" in add_to_linker() 1263 tracing::field::debug("..."), "return" in add_to_linker() [all …]
|
| H A D | simple-functions_tracing_async.rs | 279 tracing::Level::TRACE, result = tracing::field::debug(& r), in add_to_linker() 299 tracing::Level::TRACE, a = tracing::field::debug(& arg0), in add_to_linker() 305 tracing::Level::TRACE, result = tracing::field::debug(& r), in add_to_linker() 328 tracing::Level::TRACE, a = tracing::field::debug(& arg0), b in add_to_linker() 329 = tracing::field::debug(& arg1), "call" in add_to_linker() 334 tracing::Level::TRACE, result = tracing::field::debug(& r), in add_to_linker() 357 tracing::Level::TRACE, result = tracing::field::debug(& r), in add_to_linker() 380 tracing::Level::TRACE, result = tracing::field::debug(& r), in add_to_linker() 403 tracing::Level::TRACE, a = tracing::field::debug(& arg0), b in add_to_linker() 404 = tracing::field::debug(& arg1), c = tracing::field::debug(& in add_to_linker() [all …]
|
| /wasmtime-44.0.1/ci/ |
| H A D | build-wasi-preview1-component-adapter.sh | 11 debug="target/wasm32-unknown-unknown/debug/wasi_snapshot_preview1.wasm" 16 $verify $debug 30 $verify $debug
|
| /wasmtime-44.0.1/cranelift/isle/fuzz/fuzz_targets/ |
| H A D | compile.rs | 12 log::debug!("lexer = {lexer:?}"); 19 log::debug!("defs = {defs:?}"); 31 log::debug!("code = {code:?}");
|
| /wasmtime-44.0.1/cranelift/codegen/src/machinst/ |
| H A D | compile.rs | 33 log::debug!( in compile() 37 log::debug!("Number of CLIF blocks to lower: {}", f.dfg.num_blocks()); in compile() 43 log::debug!( in compile() 47 log::debug!("Number of lowered vcode blocks: {}", vcode.num_blocks()); in compile()
|
| /wasmtime-44.0.1/crates/wasi-nn/examples/classification-component-onnx/ |
| H A D | README.md | 48 ./target/debug/wasmtime run \ 51 …./crates/wasi-nn/examples/classification-component-onnx/target/wasm32-wasip2/debug/classification-… 57 export LD_LIBRARY_PATH={wasmtime_workspace}/target/debug 59 ./target/debug/wasmtime run \ 62 …./crates/wasi-nn/examples/classification-component-onnx/target/wasm32-wasip2/debug/classification-… 89 WASMTIME_LOG=wasmtime_wasi_nn=warn ./target/debug/wasmtime run ... 90 WASMTIME_LOG=ort=warn ./target/debug/wasmtime run ... 111 WASMTIME_LOG=ort=warn ./target/debug/wasmtime run ...
|
| /wasmtime-44.0.1/cranelift/filetests/filetests/isa/x64/ |
| H A D | debug.clif | 24 ; ; ^-- debug @ Pre: [StackSlot(ss0), User(0), User(0)] 28 ; ; ^-- debug @ Post: [StackSlot(ss0), User(0), User(0)] 30 ; ; ^-- debug @ Pre: [StackSlot(ss0), User(1), User(0)] 79 ; ; ^-- debug @ Post: [StackSlot(ss0), User(0), User(0)] 81 ; ; ^-- debug @ Pre: [StackSlot(ss0), User(1), User(0)]
|
| /wasmtime-44.0.1/crates/jit-debug/ |
| H A D | README.md | 1 This is the `wasmtime-jit-debug` crate, which contains JIT debug interfaces support for Wasmtime.
|
| /wasmtime-44.0.1/crates/fuzzing/src/oracles/ |
| H A D | component_async.rs | 786 log::debug!("future consume: start {id}"); in ensure_future_reading() 805 log::debug!("stream consume: start {id}"); in ensure_stream_reading() 859 log::debug!("consume: closed {}", self.0); in poll_consume() 866 log::debug!("consume: cancel {}", self.0); in poll_consume() 870 log::debug!("consume: wait {}", self.0); in poll_consume() 876 log::debug!("consume: done {}", self.0); in poll_consume() 923 log::debug!("produce: wait {}", self.0); in poll_produce() 929 log::debug!("produce: done {}", self.0); in poll_produce() 1027 log::debug!("stream consume: drop {}", self.0); in drop() 1139 log::debug!("stream produce: drop {}", self.0); in drop() [all …]
|
| /wasmtime-44.0.1/fuzz/fuzz_targets/ |
| H A D | differential.rs | 79 log::debug!("test case uses a runtime-disabled engine"); in execute_one() 91 log::debug!("lhs engine: {}", lhs.name()); in execute_one() 97 log::debug!("build wasm-smith with {config:?}"); in execute_one() 103 log::debug!("build single-inst with {config:?}"); in execute_one() 115 log::debug!("test case uses a runtime-disabled module strategy"); in execute_one() 128 log::debug!("Building RHS Wasmtime"); in execute_one()
|
| /wasmtime-44.0.1/crates/fuzzing/src/ |
| H A D | oracles.rs | 59 log::debug!("wrote wasm file to `{name}`"); in log_wasm() 64 log::debug!("wrote wat file to `{wat}`"); in log_wasm() 70 log::debug!("failed to print to wat: {e}"); in log_wasm() 143 log::debug!("-> OOM hit"); in alloc() 260 log::debug!("instantiate_many: {commands:#?}"); in instantiate_many() 405 log::debug!("failed to instantiate: {e:?}"); in unwrap_instance() 492 log::debug!("Comparing global `{global}`"); in differential() 501 log::debug!("Comparing memory `{memory}`"); in differential() 624 log::debug!("creating module: {id}"); in make_api_calls() 758 log::debug!("running {:?}", test.path); in wast_test() [all …]
|
| H A D | single_module_fuzzer.rs | 106 log::debug!("fuzz input was a valid module with trailing custom section"); in execute() 110 log::debug!("fuzz input not a valid module: {e:?}"); in execute() 194 log::debug!( in mutate() 201 log::debug!("mutated module doesn't fit in original slice"); in mutate() 210 log::debug!("failed to generate module from mutated seed {e:?}"); in mutate()
|
| /wasmtime-44.0.1/crates/fuzzing/src/generators/gc_ops/ |
| H A D | mutator.rs | 43 log::debug!("Added empty struct {tid:?} to rec group {gid:?}"); in add_struct() 59 log::debug!("Removed struct type {tid:?}"); in remove_struct() 116 log::debug!("Swapped types {tid_a:?} and {tid_b:?} in rec group {gid:?}"); in swap_within_group() 173 log::debug!("Moved type {tid:?} from {old_gid:?} to {new_gid:?}"); in move_between_groups() 238 log::debug!( in duplicate_group() 262 log::debug!( in remove_group() 304 log::debug!("Merged rec group {src_gid:?} into {dst_gid:?}"); in merge_groups() 372 log::debug!("Split rec group {old_gid:?}: moved {k} of {len} members into {new_gid:?}"); in split_group()
|