|
1 |
| -//@ ignore-test // Test temporarily ignored due to debuginfo tests being disabled, see PR 47155 |
| 1 | +//@ min-lldb-version: 1800 |
2 | 2 |
|
3 |
| -//@ min-lldb-version: 310 |
4 |
| - |
5 |
| -//@ compile-flags:-g |
| 3 | +//@ compile-flags:-g -Zmir-opt-level=0 |
6 | 4 |
|
7 | 5 | // === GDB TESTS ===================================================================================
|
8 | 6 |
|
|
22 | 20 |
|
23 | 21 | // gdbg-command:print empty_gdb->discr
|
24 | 22 | // gdbr-command:print empty_gdb.discr
|
25 |
| -// gdb-check:$4 = (isize *) 0x0 |
| 23 | +// gdb-check:$4 = (*mut isize) 0x1 |
26 | 24 |
|
27 | 25 | // gdb-command:print droid
|
28 | 26 | // gdbg-check:$5 = {RUST$ENCODED$ENUM$2$Void = {id = 675675, range = 10000001, internals = 0x43218765}}
|
29 | 27 | // gdbr-check:$5 = option_like_enum::NamedFields::Droid{id: 675675, range: 10000001, internals: 0x43218765}
|
30 | 28 |
|
31 | 29 | // gdbg-command:print void_droid_gdb->internals
|
32 | 30 | // gdbr-command:print void_droid_gdb.internals
|
33 |
| -// gdb-check:$6 = (isize *) 0x0 |
| 31 | +// gdb-check:$6 = (*mut isize) 0x1 |
34 | 32 |
|
35 | 33 | // gdb-command:print nested_non_zero_yep
|
36 | 34 | // gdbg-check:$7 = {RUST$ENCODED$ENUM$1$2$Nope = {__0 = 10.5, __1 = {a = 10, b = 20, c = [...]}}}
|
37 |
| -// gdbr-check:$7 = option_like_enum::NestedNonZero::Yep(10.5, option_like_enum::NestedNonZeroField {a: 10, b: 20, c: 0x[...] "x[...]"}) |
| 35 | +// gdbr-check:$7 = option_like_enum::NestedNonZero::Yep(10.5, option_like_enum::NestedNonZeroField {a: 10, b: 20, c: 0x[...]}) |
38 | 36 |
|
39 | 37 | // gdb-command:print nested_non_zero_nope
|
40 | 38 | // gdbg-check:$8 = {RUST$ENCODED$ENUM$1$2$Nope = {__0 = [...], __1 = {a = [...], b = [...], c = 0x0}}}
|
|
0 commit comments