()
| 516 | #[test] |
| 517 | #[ignore] |
| 518 | fn dwarf_multiple_codegen_units() -> Result<()> { |
| 519 | for wasm in [ |
| 520 | DWARF_MULTIPLE_CODEGEN_UNITS, |
| 521 | DWARF_MULTIPLE_CODEGEN_UNITS_COMPONENT, |
| 522 | ] { |
| 523 | println!("testing {wasm:?}"); |
| 524 | let output = lldb_with_script( |
| 525 | &["-Ccache=n", "-Oopt-level=0", "-Ddebug-info", wasm], |
| 526 | r#" |
| 527 | breakpoint set --file dwarf_multiple_codegen_units.rs --line 3 |
| 528 | breakpoint set --file dwarf_multiple_codegen_units.rs --line 10 |
| 529 | r |
| 530 | fr v |
| 531 | c |
| 532 | fr v |
| 533 | breakpoint delete 2 |
| 534 | finish |
| 535 | c"#, |
| 536 | )?; |
| 537 | |
| 538 | check_lldb_output( |
| 539 | &output, |
| 540 | r#" |
| 541 | check: Breakpoint 1: no locations (pending) |
| 542 | check: Breakpoint 2: no locations (pending) |
| 543 | check: stop reason = breakpoint 1.1 |
| 544 | check: foo::bar(a) |
| 545 | check: a = 3 |
| 546 | check: sum += i |
| 547 | check: x = 3 |
| 548 | check: sum = 0 |
| 549 | check: 1 breakpoints deleted |
| 550 | check: Return value: $(=.*) 3 |
| 551 | check: exited with status = 0 |
| 552 | "#, |
| 553 | )?; |
| 554 | } |
| 555 | Ok(()) |
| 556 | } |
| 557 | |
| 558 | #[test] |
| 559 | #[ignore] |
nothing calls this directly
no test coverage detected