Skip to content

Commit 08383ea

Browse files
committed
work around debuginfo behavior change
1 parent b5b80a5 commit 08383ea

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/debuginfo/macro-stepping.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
//! This tests that `next` skips over macro invocations correctly.
2+
//! The `#locN` markers have no meaning for compiletest, we include them just
3+
//! so that the debugger prints them when printing the current source location,
4+
//! and we can match on them for testing purposes.
5+
16
//@ ignore-android
27
//@ min-lldb-version: 1800
38
//@ min-gdb-version: 13.0
@@ -63,6 +68,8 @@ extern crate macro_stepping; // exports new_scope!()
6368
// lldb-command:frame select
6469
// lldb-check:[...] #loc3 [...]
6570
// lldb-command:next
71+
// FIXME: for some reason we need two `next` to skip over the `vec!`.
72+
// lldb-command:next
6673
// lldb-command:frame select
6774
// lldb-check:[...] #loc4 [...]
6875
// lldb-command:next

0 commit comments

Comments
 (0)