about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-09-18 14:37:39 +0000
committerbors <bors@rust-lang.org>2021-09-18 14:37:39 +0000
commitd6cd2c6c877110748296760aefddc21a0ea1d316 (patch)
treea9d40afc34fef4aef248f8bc3a04a92b4765cc50 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent23afad6e7f0ff17320411a274f3a3beb92452235 (diff)
parent4d151d92deaf86280b4c96cdc7c6f1a58927bd00 (diff)
downloadrust-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