()
| 420 | #[test] |
| 421 | #[ignore] |
| 422 | pub fn dwarf_fission() -> Result<()> { |
| 423 | let output = lldb_with_script( |
| 424 | &["-Ccache=n", "-Ddebug-info", "-Oopt-level=0", DWARF_FISSION], |
| 425 | r#"breakpoint set --file dwarf_fission.c --line 8 |
| 426 | r |
| 427 | fr v |
| 428 | s |
| 429 | fr v |
| 430 | c"#, |
| 431 | )?; |
| 432 | |
| 433 | check_lldb_output( |
| 434 | &output, |
| 435 | r#" |
| 436 | check: Breakpoint 1: no locations (pending) |
| 437 | check: Unable to resolve breakpoint to any actual locations. |
| 438 | check: 1 location added to breakpoint 1 |
| 439 | check: stop reason = breakpoint 1.1 |
| 440 | check: i = 1 |
| 441 | check: stop reason = step in |
| 442 | check: i = 2 |
| 443 | check: resuming |
| 444 | check: exited with status = 0 |
| 445 | "#, |
| 446 | )?; |
| 447 | Ok(()) |
| 448 | } |
| 449 | |
| 450 | fn test_dwarf_simple(wasm: &str, extra_args: &[&str]) -> Result<()> { |
| 451 | println!("testing {wasm:?}"); |
nothing calls this directly
no test coverage detected