File tree 5 files changed +10
-8
lines changed
5 files changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,8 @@ fn main() {
16
16
// decimal digits to verify proper padding.
17
17
unsafe fn alignment_check ( ) {
18
18
let data: & mut [ u8 ] = & mut [ 0 ; 1024 ] ;
19
- name ! ( data. as_ptr( ) =>2 , "data" ) ;
19
+ name ! ( data. as_ptr( ) , "data" ) ;
20
+ name ! ( data. as_ptr( ) , "data" ) ;
20
21
let alloc_id = alloc_id ! ( data. as_ptr( ) ) ;
21
22
let x = & mut data[ 1 ] ;
22
23
name ! ( x as * mut _, "data[1]" ) ;
Original file line number Diff line number Diff line change 2
2
Warning: this tree is indicative only. Some tags may have been hidden.
3
3
0.. 1.. 2.. 10.. 11..100..101..1000..1001..1024
4
4
| Act| Act| Act| Act| Act| Act| Act| Act| Act| └─┬──<TAG=root of the allocation>
5
- | Res| Act| Res| Act| Res| Act| Res| Act| Res| └─┬──<TAG=data>
5
+ | Res| Act| Res| Act| Res| Act| Res| Act| Res| └─┬──<TAG=data, data >
6
6
|----| Act|----|?Dis|----|?Dis| ----| ?Dis| ----| ├────<TAG=data[1]>
7
7
|----|----|----| Act|----|?Dis| ----| ?Dis| ----| ├────<TAG=data[10]>
8
8
|----|----|----|----|----| Frz| ----| ?Dis| ----| ├────<TAG=data[100]>
Original file line number Diff line number Diff line change @@ -3,19 +3,19 @@ Warning: this tree is indicative only. Some tags may have been hidden.
3
3
0.. 1
4
4
| Act| └─┬──<TAG=root of the allocation>
5
5
| Res| └─┬──<TAG=base>
6
- | Res| └────<TAG=raw, uniq>
6
+ | Res| └────<TAG=raw, uniq, uniq >
7
7
──────────────────────────────────────────────────────────────────────
8
8
──────────────────────────────────────────────────────────────────────
9
9
Warning: this tree is indicative only. Some tags may have been hidden.
10
10
0.. 1
11
11
| Act| └─┬──<TAG=root of the allocation>
12
12
| Act| └─┬──<TAG=base>
13
- | Act| └────<TAG=raw, uniq>
13
+ | Act| └────<TAG=raw, uniq, uniq >
14
14
──────────────────────────────────────────────────────────────────────
15
15
──────────────────────────────────────────────────────────────────────
16
16
Warning: this tree is indicative only. Some tags may have been hidden.
17
17
0.. 1
18
18
| Act| └─┬──<TAG=root of the allocation>
19
19
| Act| └─┬──<TAG=base>
20
- | Act| └────<TAG=raw, uniq>
20
+ | Act| └────<TAG=raw, uniq, uniq >
21
21
──────────────────────────────────────────────────────────────────────
Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ fn main() {
25
25
// and uninitialized permissions.
26
26
let uniq = Unique :: new_unchecked ( raw) ;
27
27
name ! ( uniq. as_ptr( ) , "uniq" ) ;
28
+ name ! ( uniq. as_ptr( ) , "uniq" ) ;
28
29
print_state ! ( alloc_id) ;
29
30
30
31
// We can activate the Unique and use it mutably.
Original file line number Diff line number Diff line change @@ -4,21 +4,21 @@ Warning: this tree is indicative only. Some tags may have been hidden.
4
4
| Act| └─┬──<TAG=root of the allocation>
5
5
| Res| └─┬──<TAG=base>
6
6
| Res| └─┬──<TAG=raw>
7
- |----| └────<TAG=uniq>
7
+ |----| └────<TAG=uniq, uniq >
8
8
──────────────────────────────────────────────────────────────────────
9
9
──────────────────────────────────────────────────────────────────────
10
10
Warning: this tree is indicative only. Some tags may have been hidden.
11
11
0.. 1
12
12
| Act| └─┬──<TAG=root of the allocation>
13
13
| Act| └─┬──<TAG=base>
14
14
| Act| └─┬──<TAG=raw>
15
- | Act| └────<TAG=uniq>
15
+ | Act| └────<TAG=uniq, uniq >
16
16
──────────────────────────────────────────────────────────────────────
17
17
──────────────────────────────────────────────────────────────────────
18
18
Warning: this tree is indicative only. Some tags may have been hidden.
19
19
0.. 1
20
20
| Act| └─┬──<TAG=root of the allocation>
21
21
| Act| └─┬──<TAG=base>
22
22
| Act| └─┬──<TAG=raw>
23
- | Dis| └────<TAG=uniq>
23
+ | Dis| └────<TAG=uniq, uniq >
24
24
──────────────────────────────────────────────────────────────────────
You can’t perform that action at this time.
0 commit comments