about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorZalathar <Zalathar@users.noreply.github.com>2023-09-28 22:36:40 +1000
committerZalathar <Zalathar@users.noreply.github.com>2023-10-22 20:37:39 +1100
commitde4cfbca2ebec9c91037370146c518c069ece033 (patch)
tree149e2c89521bc607fdd8c1b9b4bc45662c630033 /compiler/rustc_codegen_llvm/src/errors.rs
parent88159cafa7444c6ec9cc521c1f8128d5ab777d29 (diff)
downloadrust-de4cfbca2ebec9c91037370146c518c069ece033.tar.gz
rust-de4cfbca2ebec9c91037370146c518c069ece033.zip
coverage: Encode function mappings without re-sorting them
The main change here is that `VirtualFileMapping` now uses an internal hashmap
to de-duplicate incoming global file IDs. That removes the need for
`encode_mappings_for_function` to re-sort its mappings by filename in order to
de-duplicate them.

(We still de-duplicate runs of identical filenames to save work, but this is
not load-bearing for correctness, so a sort is not necessary.)
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions