|
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
|
|
9 | 8 | // gdb-check:type = bool
|
10 | 9 | // gdb-command:whatis i
|
11 | 10 | // gdb-check:type = isize
|
12 |
| -// gdb-command:whatis c |
13 |
| -// gdb-check:type = char |
| 11 | + |
| 12 | +// Note we don't check the 'char' type here, as gdb only got support |
| 13 | +// for DW_ATE_UTF in 11.2. This is handled by a different test. |
| 14 | + |
14 | 15 | // gdb-command:whatis i8
|
15 | 16 | // gdb-check:type = i8
|
16 | 17 | // gdb-command:whatis i16
|
|
34 | 35 | // gdb-command:whatis f64
|
35 | 36 | // gdb-check:type = f64
|
36 | 37 | // gdb-command:whatis fnptr
|
37 |
| -// gdb-check:type = [...] (*)([...]) |
| 38 | +// gdb-check:type = [...] ([...]) |
38 | 39 | // gdb-command:info functions _yyy
|
39 | 40 | // gdbg-check:[...]![...]_yyy([...]);
|
40 |
| -// gdbr-check:static fn basic_types_metadata::_yyy() -> !; |
| 41 | +// gdbr-check:static fn basic_types_metadata::_yyy()[...] |
| 42 | + |
| 43 | +// Just check that something is emitted, this changed already once and |
| 44 | +// it's not extremely informative. |
41 | 45 | // gdb-command:ptype closure_0
|
42 |
| -// gdbr-check: type = struct closure |
43 |
| -// gdbg-check: type = struct closure { |
44 |
| -// gdbg-check: <no data fields> |
45 |
| -// gdbg-check: } |
| 46 | +// gdb-check: type = [...]closure[...] |
46 | 47 | // gdb-command:ptype closure_1
|
47 |
| -// gdbg-check: type = struct closure { |
48 |
| -// gdbg-check: bool *__0; |
49 |
| -// gdbg-check: } |
50 |
| -// gdbr-check: type = struct closure ( |
51 |
| -// gdbr-check: bool *, |
52 |
| -// gdbr-check: ) |
| 48 | +// gdb-check: type = [...]closure[...] |
53 | 49 | // gdb-command:ptype closure_2
|
54 |
| -// gdbg-check: type = struct closure { |
55 |
| -// gdbg-check: bool *__0; |
56 |
| -// gdbg-check: isize *__1; |
57 |
| -// gdbg-check: } |
58 |
| -// gdbr-check: type = struct closure ( |
59 |
| -// gdbr-check: bool *, |
60 |
| -// gdbr-check: isize *, |
61 |
| -// gdbr-check: ) |
| 50 | +// gdb-check: type = [...]closure[...] |
62 | 51 |
|
63 | 52 | //
|
64 | 53 | // gdb-command:continue
|
|
0 commit comments