Skip to content

Commit 4bafbdc

Browse files
committed
work around debuginfo behavior change
1 parent b598a30 commit 4bafbdc

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

tests/debuginfo/macro-stepping.rs

Lines changed: 9 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
@@ -25,6 +30,8 @@ extern crate macro_stepping; // exports new_scope!()
2530
// gdb-command:frame
2631
// gdb-check:[...]#loc3[...]
2732
// gdb-command:next
33+
// FIXME: for some reason we need two `next` to skip over the `vec!`.
34+
// gdb-command:next
2835
// gdb-command:frame
2936
// gdb-check:[...]#loc4[...]
3037
// gdb-command:next
@@ -63,6 +70,8 @@ extern crate macro_stepping; // exports new_scope!()
6370
// lldb-command:frame select
6471
// lldb-check:[...] #loc3 [...]
6572
// lldb-command:next
73+
// FIXME: for some reason we need two `next` to skip over the `vec!`.
74+
// lldb-command:next
6675
// lldb-command:frame select
6776
// lldb-check:[...] #loc4 [...]
6877
// lldb-command:next

0 commit comments

Comments
 (0)