@@ -8,13 +8,13 @@ fn main() -> () {
8
8
bb0 : {
9
9
StorageLive(_1); // scope 0 at $DIR/const_allocation.rs:8:5 : 8:8
10
10
StorageLive(_2); // scope 0 at $DIR/const_allocation.rs:8:5 : 8:8
11
- _2 = const {alloc0+0x0 : &&[(std::option::Option<i32>, &[&str])]}; // scope 0 at $DIR/const_allocation.rs:8:5: 8:8
11
+ _2 = const {alloc0 : &&[(std::option::Option<i32>, &[&str])]}; // scope 0 at $DIR/const_allocation.rs:8:5: 8:8
12
12
// ty::Const
13
13
// + ty : &&[(std::option::Option<i32>, &[&str])]
14
- // + val : Value(Scalar(alloc0+0x0 ))
14
+ // + val : Value(Scalar(alloc0))
15
15
// mir::Constant
16
16
// + span : $DIR/const_allocation.rs:8:5: 8:8
17
- // + literal : Const { ty: &&[(std::option::Option<i32>, &[&str])], val: Value(Scalar(alloc0+0x0 )) }
17
+ // + literal : Const { ty: &&[(std::option::Option<i32>, &[&str])], val: Value(Scalar(alloc0)) }
18
18
_1 = (*_2); // scope 0 at $DIR/const_allocation.rs:8:5 : 8:8
19
19
StorageDead(_2); // scope 0 at $DIR/const_allocation.rs:8:8 : 8:9
20
20
StorageDead(_1); // scope 0 at $DIR/const_allocation.rs:8:8 : 8:9
@@ -30,22 +30,22 @@ fn main() -> () {
30
30
}
31
31
32
32
alloc0 (static : FOO, size: 16, align: 8) {
33
- ╾─────alloc17+0x0 ─────╼ 03 00 00 00 00 00 00 00 │ ╾──────╼........
33
+ ╾─────── alloc17── ─────╼ 03 00 00 00 00 00 00 00 │ ╾──────╼........
34
34
}
35
35
36
36
alloc17 (size : 72, align: 8) {
37
- 0x00 │ 00 00 00 00 __ __ __ __ ╾─────alloc4+0x0 ──────╼ │ ....░░░░╾──────╼
37
+ 0x00 │ 00 00 00 00 __ __ __ __ ╾─────── alloc4── ──────╼ │ ....░░░░╾──────╼
38
38
0x10 │ 00 00 00 00 00 00 00 00 00 00 00 00 __ __ __ __ │ ............░░░░
39
- 0x20 │ ╾─────alloc8+0x0 ──────╼ 02 00 00 00 00 00 00 00 │ ╾──────╼........
40
- 0x30 │ 01 00 00 00 2a 00 00 00 ╾─────alloc13+0x0 ─────╼ │ ....*...╾──────╼
39
+ 0x20 │ ╾─────── alloc8── ──────╼ 02 00 00 00 00 00 00 00 │ ╾──────╼........
40
+ 0x30 │ 01 00 00 00 2a 00 00 00 ╾─────── alloc13── ─────╼ │ ....*...╾──────╼
41
41
0x40 │ 03 00 00 00 00 00 00 00 │ ........
42
42
}
43
43
44
44
alloc4 (size : 0, align: 8) {}
45
45
46
46
alloc8 (size : 32, align: 8) {
47
- 0x00 │ ╾─────alloc7+0x0 ──────╼ 03 00 00 00 00 00 00 00 │ ╾──────╼........
48
- 0x10 │ ╾─────alloc9+0x0 ──────╼ 03 00 00 00 00 00 00 00 │ ╾──────╼........
47
+ 0x00 │ ╾─────── alloc7── ──────╼ 03 00 00 00 00 00 00 00 │ ╾──────╼........
48
+ 0x10 │ ╾─────── alloc9── ──────╼ 03 00 00 00 00 00 00 00 │ ╾──────╼........
49
49
}
50
50
51
51
alloc7 (size : 3, align: 1) {
@@ -57,9 +57,9 @@ alloc9 (size: 3, align: 1) {
57
57
}
58
58
59
59
alloc13 (size : 48, align: 8) {
60
- 0x00 │ ╾─────alloc12+0x0 ─────╼ 03 00 00 00 00 00 00 00 │ ╾──────╼........
61
- 0x10 │ ╾─────alloc14+0x0 ─────╼ 03 00 00 00 00 00 00 00 │ ╾──────╼........
62
- 0x20 │ ╾─────alloc15+0x0 ─────╼ 04 00 00 00 00 00 00 00 │ ╾──────╼........
60
+ 0x00 │ ╾─────── alloc12── ─────╼ 03 00 00 00 00 00 00 00 │ ╾──────╼........
61
+ 0x10 │ ╾─────── alloc14── ─────╼ 03 00 00 00 00 00 00 00 │ ╾──────╼........
62
+ 0x20 │ ╾─────── alloc15── ─────╼ 04 00 00 00 00 00 00 00 │ ╾──────╼........
63
63
}
64
64
65
65
alloc12 (size : 3, align: 1) {
0 commit comments