about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorTyler Mandry <tmandry@gmail.com>2020-12-09 13:38:25 -0800
committerGitHub <noreply@github.com>2020-12-09 13:38:25 -0800
commita410af97a8e315b70c3be39951c264cee7afa7c8 (patch)
tree70f4a26a94db955659155b90830d3fdf53a92007 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent0994f353bf511c67ca9c87257a391cf04ac8ca13 (diff)
parenta332e2b38fb3c374d751edadfc2c21594f2e7611 (diff)
downloadrust-a410af97a8e315b70c3be39951c264cee7afa7c8.tar.gz
rust-a410af97a8e315b70c3be39951c264cee7afa7c8.zip
Rollup merge of #79810 - Aaron1011:fix/def-path-table-gap, r=lcnr
Account for gaps in def path table during decoding

When encoding a proc-macro crate, there may be gaps in the table (since
we only encode the crate root and proc-macro items). Account for this by
checking if the entry is present, rather than using `unwrap()`
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions