diff options
| author | bors <bors@rust-lang.org> | 2021-09-18 14:37:39 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-09-18 14:37:39 +0000 |
| commit | d6cd2c6c877110748296760aefddc21a0ea1d316 (patch) | |
| tree | a9d40afc34fef4aef248f8bc3a04a92b4765cc50 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp | |
| parent | 23afad6e7f0ff17320411a274f3a3beb92452235 (diff) | |
| parent | 4d151d92deaf86280b4c96cdc7c6f1a58927bd00 (diff) | |
| download | rust-d6cd2c6c877110748296760aefddc21a0ea1d316.tar.gz rust-d6cd2c6c877110748296760aefddc21a0ea1d316.zip | |
Auto merge of #82183 - michaelwoerister:lazier-defpathhash-loading2, r=wesleywiser
Simplify lazy DefPathHash decoding by using an on-disk hash table. This PR simplifies the logic around mapping `DefPathHash` values encountered during incremental compilation to valid `DefId`s in the current session. It is able to do so by using an on-disk hash table encoding that allows for looking up values directly, i.e. without deserializing the entire table. The main simplification comes from not having to keep track of `DefPathHashes` being used during the compilation session.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
