()
| 48 | #[test] |
| 49 | #[ignore] |
| 50 | fn test_debug_dwarf_translate() -> Result<()> { |
| 51 | check_wasm( |
| 52 | DWARF_FIB_WASM, |
| 53 | r##" |
| 54 | check: DW_TAG_compile_unit |
| 55 | # We have "fib" function |
| 56 | check: DW_TAG_subprogram |
| 57 | check: DW_AT_name ("fib") |
| 58 | # Accepts one parameter |
| 59 | check: DW_TAG_formal_parameter |
| 60 | check: DW_AT_name ("n") |
| 61 | check: DW_AT_decl_line (3) |
| 62 | # Has four locals: t, a, b, i |
| 63 | check: DW_TAG_variable |
| 64 | check: DW_AT_name ("t") |
| 65 | check: DW_AT_decl_line (4) |
| 66 | check: DW_TAG_variable |
| 67 | check: DW_AT_name ("a") |
| 68 | check: DW_TAG_variable |
| 69 | check: DW_AT_name ("b") |
| 70 | check: DW_TAG_variable |
| 71 | check: DW_AT_name ("i") |
| 72 | check: DW_AT_decl_line (5) |
| 73 | "##, |
| 74 | ) |
| 75 | } |
| 76 | |
| 77 | #[test] |
| 78 | #[ignore] |
nothing calls this directly
no test coverage detected