Skip to content

Commit 4315c78

Browse files
committed
WIP: add some flags for debuginfo
1 parent a197466 commit 4315c78

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/test/debuginfo/repr-u128.rs

+11
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,17 @@
77

88
// gdb-command: run
99

10+
// gdb-command:print vals
11+
// gdbg-check:$1 = (Some(Foo::Lo), None::<Foo>)
12+
// gdbr-check:$1 = repr_u128::Foo::(std::option::Option<Foo>, std::option::Option<Foo>)
13+
14+
// === LLDB TESTS ==================================================================================
15+
16+
// lldb-command:run
17+
18+
// lldb-command:print vals
19+
// lldbg-check:[...]$0 = (Some(Foo::Lo), None::<Foo>)
20+
// lldbr-check:(repr_u128::Foo) vals = repr_u128::Foo::(std::option::Option<Foo>, std::option::Option<Foo>)
1021

1122
#![feature(repr128)]
1223

0 commit comments

Comments
 (0)