diff options
| author | Aaron Hill <aa1ronham@gmail.com> | 2020-12-07 17:05:28 -0500 |
|---|---|---|
| committer | Aaron Hill <aa1ronham@gmail.com> | 2020-12-08 13:02:53 -0500 |
| commit | a332e2b38fb3c374d751edadfc2c21594f2e7611 (patch) | |
| tree | 25714ffe6bc43feea69425eaac9ac81bc495d12c /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp | |
| parent | afa995b2dd1e194845f2082707e6045d539230a5 (diff) | |
| download | rust-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
