()
| 196 | #[test] |
| 197 | #[ignore] |
| 198 | pub fn dwarf_generic() -> Result<()> { |
| 199 | let output = lldb_with_script( |
| 200 | &["-Ccache=n", "-Ddebug-info", "-Oopt-level=0", DWARF_GENERIC], |
| 201 | r#"br set -n debug_break -C up |
| 202 | r |
| 203 | p __vmctx->set() |
| 204 | p (x + x) |
| 205 | c |
| 206 | p (x + x) |
| 207 | c |
| 208 | p inst.BaseValue + inst.DerivedValue |
| 209 | c |
| 210 | type lookup DerivedType |
| 211 | c |
| 212 | p __this->BaseValue + __this->DerivedValue |
| 213 | c |
| 214 | p __this->BaseValue + __this->DerivedValue |
| 215 | c |
| 216 | p __this->BaseValue + __this->DerivedValue |
| 217 | c |
| 218 | f |
| 219 | n |
| 220 | s |
| 221 | v var0 |
| 222 | v var1 |
| 223 | c"#, |
| 224 | )?; |
| 225 | |
| 226 | check_lldb_output( |
| 227 | &output, |
| 228 | r#" |
| 229 | check: stop reason = breakpoint 1.1 |
| 230 | check: 2 |
| 231 | check: stop reason = breakpoint 1.1 |
| 232 | check: 4 |
| 233 | check: stop reason = breakpoint 1.1 |
| 234 | check: 3 |
| 235 | check: stop reason = breakpoint 1.1 |
| 236 | check: static int InstanceMethod |
| 237 | check: static int ConstInstanceMethod |
| 238 | check: stop reason = breakpoint 1.1 |
| 239 | check: 6 |
| 240 | check: stop reason = breakpoint 1.1 |
| 241 | check: 7 |
| 242 | check: stop reason = breakpoint 1.1 |
| 243 | check: 8 |
| 244 | check: stop reason = breakpoint 1.1 |
| 245 | check: 9 |
| 246 | check: 10 |
| 247 | check: exited with status = 0 |
| 248 | "#, |
| 249 | )?; |
| 250 | Ok(()) |
| 251 | } |
| 252 | |
| 253 | #[test] |
| 254 | #[ignore] |
nothing calls this directly
no test coverage detected