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

Function dwarf_codegen_optimized

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

Source from the content-addressed store, hash-verified

253#[test]
254#[ignore]
255pub fn dwarf_codegen_optimized() -> Result<()> {
256 let output = lldb_with_script(
257 &[
258 "-Ccache=n",
259 "-Ddebug-info",
260 "-Oopt-level=2",
261 DWARF_CODEGEN_OPTIMIZED,
262 ],
263 r#"b InitializeTest
264r
265b dwarf_codegen_optimized.cc:25
266b dwarf_codegen_optimized.cc:26
267c
268v x
269c
270v x
271c"#,
272 )?;
273
274 check_lldb_output(
275 &output,
276 r#"
277check: stop reason = breakpoint 1.1
278check: stop reason = breakpoint 2.1
279check: x = 42
280check: stop reason = breakpoint 3.1
281check: x = <variable not available>
282check: exited with status = 0
283"#,
284 )?;
285 Ok(())
286}
287
288#[test]
289#[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