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

Function dwarf_fraction_norm

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

Source from the content-addressed store, hash-verified

323#[test]
324#[ignore]
325pub fn dwarf_fraction_norm() -> Result<()> {
326 let output = lldb_with_script(
327 &[
328 "-Ccache=n",
329 "-Oopt-level=0",
330 "-Ddebug-info",
331 DWARF_FRACTION_NORM,
332 ],
333 r#"b dwarf_fraction_norm.cc:26
334r
335p __vmctx->set(),n->denominator
336c"#,
337 )?;
338
339 check_lldb_output(
340 &output,
341 r#"
342check: Breakpoint 1: no locations (pending)
343check: stop reason = breakpoint 1.1
344check: frame #0
345sameln: norm(n=(__ptr =
346check: 27
347check: resuming
348"#,
349 )?;
350 Ok(())
351}
352
353#[test]
354#[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