diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2021-03-15 16:22:58 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-15 16:22:58 +0100 |
| commit | 9b16c7a712f439a1cf60b539643164401bf0c9b5 (patch) | |
| tree | 4caf061febb63fc305fa86acb3f9e440218f1eb8 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp | |
| parent | d1f5f1d156dc68b4ca13678f3a63515df0b2e348 (diff) | |
| parent | 7429c688a5988d1f7f836f870b8689c44fa3c9de (diff) | |
| download | rust-9b16c7a712f439a1cf60b539643164401bf0c9b5.tar.gz rust-9b16c7a712f439a1cf60b539643164401bf0c9b5.zip | |
Rollup merge of #83132 - Aaron1011:fix/incr-cache-dummy, r=estebank
Don't encode file information for span with a dummy location Fixes #83112 The location information for a dummy span isn't real, so don't encode it. This brings the incr comp cache code into line with the Span `StableHash` impl, which doesn't hash the location information for dummy spans. Previously, we would attempt to load the 'original' file from a dummy span - if the file id changed (e.g. due to being moved on disk), we would get an ICE, since the Span was still valid due to its hash being unchanged.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
