about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorZalathar <Zalathar@users.noreply.github.com>2023-07-13 11:21:21 +1000
committerZalathar <Zalathar@users.noreply.github.com>2023-07-13 11:28:50 +1000
commit7a5ad35da4e5fd8cb4ec5bf181dbb75afd5dade9 (patch)
tree2adf13a3b437eb942cd15019cc4102f28030916f /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent29c53d87481913511955c7bb33826899b964f2fe (diff)
downloadrust-7a5ad35da4e5fd8cb4ec5bf181dbb75afd5dade9.tar.gz
rust-7a5ad35da4e5fd8cb4ec5bf181dbb75afd5dade9.zip
Pass a byte slice to `coverageinfo::hash_bytes` instead of an owned vector
The function body immediately treats it as a slice anyway, so this just makes
it possible to call the hash function with arbitrary read-only byte slices.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions