|
1 | 1 | //@ min-lldb-version: 310
|
2 |
| -//@ ignore-gdb // Test temporarily ignored due to debuginfo tests being disabled, see PR 47155 |
3 | 2 |
|
4 | 3 | //@ compile-flags:-g
|
5 | 4 | // gdb-command:run
|
|
36 | 35 | // gdb-command:whatis f64
|
37 | 36 | // gdb-check:type = f64
|
38 | 37 | // gdb-command:whatis fnptr
|
39 |
| -// gdb-check:type = [...] (*)([...]) |
| 38 | +// gdb-check:type = *mut fn () |
40 | 39 | // gdb-command:info functions _yyy
|
41 | 40 | // gdbg-check:[...]![...]_yyy([...]);
|
42 |
| -// gdbr-check:static fn basic_types_metadata::_yyy() -> !; |
| 41 | +// gdbr-check:static fn basic_types_metadata::_yyy(); |
43 | 42 | // gdb-command:ptype closure_0
|
44 |
| -// gdbr-check: type = struct closure |
| 43 | +// gdbr-check: type = struct basic_types_metadata::main::{closure_env#0} |
45 | 44 | // gdbg-check: type = struct closure {
|
46 | 45 | // gdbg-check: <no data fields>
|
47 | 46 | // gdbg-check: }
|
48 | 47 | // gdb-command:ptype closure_1
|
49 | 48 | // gdbg-check: type = struct closure {
|
50 | 49 | // gdbg-check: bool *__0;
|
51 | 50 | // gdbg-check: }
|
52 |
| -// gdbr-check: type = struct closure ( |
53 |
| -// gdbr-check: bool *, |
54 |
| -// gdbr-check: ) |
| 51 | +// gdbr-check: type = struct basic_types_metadata::main::{closure_env#1} { |
| 52 | +// gdbr-check: *mut bool, |
| 53 | +// gdbr-check: } |
55 | 54 | // gdb-command:ptype closure_2
|
56 | 55 | // gdbg-check: type = struct closure {
|
57 | 56 | // gdbg-check: bool *__0;
|
58 | 57 | // gdbg-check: isize *__1;
|
59 | 58 | // gdbg-check: }
|
60 |
| -// gdbr-check: type = struct closure ( |
61 |
| -// gdbr-check: bool *, |
62 |
| -// gdbr-check: isize *, |
63 |
| -// gdbr-check: ) |
| 59 | +// gdbr-check: type = struct basic_types_metadata::main::{closure_env#2} { |
| 60 | +// gdbr-check: *mut bool, |
| 61 | +// gdbr-check: *mut isize, |
| 62 | +// gdbr-check: } |
64 | 63 |
|
65 | 64 | //
|
66 | 65 | // gdb-command:continue
|
|
0 commit comments