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

Function dwarf_fib_wasm_split4

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

Source from the content-addressed store, hash-verified

158#[test]
159#[ignore]
160pub fn dwarf_fib_wasm_split4() -> Result<()> {
161 let output = lldb_with_script(
162 &[
163 "-Ccache=n",
164 "-Ddebug-info",
165 "-Oopt-level=0",
166 "--invoke",
167 "fib",
168 DWARF_FIB_WASM_SPLIT4,
169 "3",
170 ],
171 r#"b fib
172r
173fr v
174c"#,
175 )?;
176
177 check_lldb_output(
178 &output,
179 r#"
180check: Breakpoint 1: no locations (pending)
181check: Unable to resolve breakpoint to any actual locations.
182check: 1 location added to breakpoint 1
183check: stop reason = breakpoint 1.1
184check: frame #0
185sameln: JIT
186sameln: fib(n=3)
187check: n = 3
188check: a = 0
189check: resuming
190check: exited with status
191"#,
192 )?;
193 Ok(())
194}
195
196#[test]
197#[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