MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / dwarf_fib_wasm

Function dwarf_fib_wasm

tests/all/native_debug/lldb.rs:84–118  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

82#[test]
83#[ignore]
84pub fn dwarf_fib_wasm() -> Result<()> {
85 let output = lldb_with_script(
86 &[
87 "-Ccache=n",
88 "-Ddebug-info",
89 "-Oopt-level=0",
90 "--invoke",
91 "fib",
92 DWARF_FIB_WASM,
93 "3",
94 ],
95 r#"b fib
96r
97fr v
98c"#,
99 )?;
100
101 check_lldb_output(
102 &output,
103 r#"
104check: Breakpoint 1: no locations (pending)
105check: Unable to resolve breakpoint to any actual locations.
106check: 1 location added to breakpoint 1
107check: stop reason = breakpoint 1.1
108check: frame #0
109sameln: JIT
110sameln: fib(n=3)
111check: n = 3
112check: a = 0
113check: resuming
114check: exited with status
115"#,
116 )?;
117 Ok(())
118}
119
120#[test]
121#[ignore]

Callers

nothing calls this directly

Calls 3

lldb_with_scriptFunction · 0.85
check_lldb_outputFunction · 0.85
OkFunction · 0.85

Tested by

no test coverage detected