diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2016-05-06 15:09:31 -0400 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2016-05-18 10:11:36 -0400 |
| commit | 3a2edd7e613638a61bf70499e4c225c2fec36a5d (patch) | |
| tree | c90f8d2a327fe22588152103f18ddcb28dd588d7 /src/rustllvm/RustWrapper.cpp | |
| parent | b01919a1443615f2ee78f91515e8f01dc2591177 (diff) | |
| download | rust-3a2edd7e613638a61bf70499e4c225c2fec36a5d.tar.gz rust-3a2edd7e613638a61bf70499e4c225c2fec36a5d.zip | |
load/save hashes of metadata
This commit reorganizes how the persist code treats hashing. The idea is that each crate saves a file containing hashes representing the metadata for each item X. When we see a read from `MetaData(X)`, we can load this hash up (if we don't find a file for that crate, we just use the SVH for the entire crate). To compute the hash for `MetaData(Y)`, where Y is some local item, we examine all the predecessors of the `MetaData(Y)` node and hash their hashes together.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
