about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorAaron Hill <aa1ronham@gmail.com>2020-12-07 17:05:28 -0500
committerAaron Hill <aa1ronham@gmail.com>2020-12-08 13:02:53 -0500
commita332e2b38fb3c374d751edadfc2c21594f2e7611 (patch)
tree25714ffe6bc43feea69425eaac9ac81bc495d12c /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parentafa995b2dd1e194845f2082707e6045d539230a5 (diff)
downloadrust-a332e2b38fb3c374d751edadfc2c21594f2e7611.tar.gz
rust-a332e2b38fb3c374d751edadfc2c21594f2e7611.zip
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