Commit 0a14cc9
Remove forked rust dependency (#19)
This PR removes the forked rust dependency by implementing the following
two functions directly in smir_pretty (instead of in a forked rust
compiler):
- visited_tys
- visited_alloc_ids
This is done by extending the functionality of `LinkNameCollector` to
also collect `Ty` and `AllocId` mappings and renaming the combined
collector to `InternedValueCollector`.
EDIT: When running the panic example on rustc master, there is some
weirdness where a static item called:
`alloc::alloc::__rust_no_alloc_shim_is_unstable`
is generated which has no body. This static item appears to be
referenced from several different allocations (can be seen by chasing
pointers in allocations provenance table). If this funny static item is
findable on other machines, we should document this issue. It may well
be that this is an empty type that is never used at runtime, but I
haven't gone in to check this yet.
---------
Co-authored-by: Jost Berthold <jost.berthold@gmail.com>
Co-authored-by: dkcumming <daniel.cumming@runtimeverification.com>
Co-authored-by: Daniel Cumming <124537596+dkcumming@users.noreply.github.com>1 parent a823e31 commit 0a14cc9
File tree
39 files changed
+14710
-90591
lines changed- src
- tests/integration
- failing
- programs
39 files changed
+14710
-90591
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
21 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
22 | 27 | | |
23 | 28 | | |
24 | 29 | | |
25 | 30 | | |
26 | 31 | | |
| 32 | + | |
| 33 | + | |
27 | 34 | | |
28 | 35 | | |
29 | 36 | | |
30 | 37 | | |
31 | 38 | | |
32 | | - | |
| 39 | + | |
33 | 40 | | |
34 | 41 | | |
35 | 42 | | |
| |||
53 | 60 | | |
54 | 61 | | |
55 | 62 | | |
56 | | - | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
57 | 66 | | |
58 | 67 | | |
59 | 68 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
| 41 | + | |
48 | 42 | | |
49 | 43 | | |
50 | 44 | | |
| |||
0 commit comments