|
43 | 43 | // cdb-command: dx b |
44 | 44 | // cdb-check: b : Unresumed [Type: enum$<generator_objects::main::generator_env$0>] |
45 | 45 | // cdb-check: [variant] : Unresumed |
46 | | -// cdb-check: [+0x000] _ref__a : 0x[...] : 5 [Type: int *] |
| 46 | +// cdb-check: [+0x[...]] _ref__a : 0x[...] : 5 [Type: int *] |
47 | 47 |
|
48 | 48 | // cdb-command: g |
49 | 49 | // cdb-command: dx b |
50 | 50 | // cdb-check: b : Suspend0 [Type: enum$<generator_objects::main::generator_env$0>] |
51 | 51 | // cdb-check: [variant] : Suspend0 |
52 | | -// cdb-check: [+0x008] c : 6 [Type: int] |
53 | | -// cdb-check: [+0x00c] d : 7 [Type: int] |
54 | | -// cdb-check: [+0x000] _ref__a : 0x[...] : 5 [Type: int *] |
| 52 | +// cdb-check: [+0x[...]] c : 6 [Type: int] |
| 53 | +// cdb-check: [+0x[...]] d : 7 [Type: int] |
| 54 | +// cdb-check: [+0x[...]] _ref__a : 0x[...] : 5 [Type: int *] |
55 | 55 |
|
56 | 56 | // cdb-command: g |
57 | 57 | // cdb-command: dx b |
58 | 58 | // cdb-check: b : Suspend1 [Type: enum$<generator_objects::main::generator_env$0>] |
59 | 59 | // cdb-check: [variant] : Suspend1 |
60 | | -// cdb-check: [+0x008] c : 7 [Type: int] |
61 | | -// cdb-check: [+0x00c] d : 8 [Type: int] |
62 | | -// cdb-check: [+0x000] _ref__a : 0x[...] : 6 [Type: int *] |
| 60 | +// cdb-check: [+0x[...]] c : 7 [Type: int] |
| 61 | +// cdb-check: [+0x[...]] d : 8 [Type: int] |
| 62 | +// cdb-check: [+0x[...]] _ref__a : 0x[...] : 6 [Type: int *] |
63 | 63 |
|
64 | 64 | // cdb-command: g |
65 | 65 | // cdb-command: dx b |
66 | 66 | // cdb-check: b : Returned [Type: enum$<generator_objects::main::generator_env$0>] |
67 | 67 | // cdb-check: [<Raw View>] [Type: enum$<generator_objects::main::generator_env$0>] |
68 | 68 | // cdb-check: [variant] : Returned |
69 | | -// cdb-check: [+0x000] _ref__a : 0x[...] : 6 [Type: int *] |
| 69 | +// cdb-check: [+0x[...]] _ref__a : 0x[...] : 6 [Type: int *] |
70 | 70 |
|
71 | 71 | #![feature(omit_gdb_pretty_printer_section, generators, generator_trait)] |
72 | 72 | #![omit_gdb_pretty_printer_section] |
@@ -97,6 +97,7 @@ fn main() { |
97 | 97 | _zzz(); // #break |
98 | 98 | } |
99 | 99 |
|
| 100 | +#[inline(never)] |
100 | 101 | fn _zzz() { |
101 | 102 | () |
102 | 103 | } |
0 commit comments