diff options
| author | Josh Triplett <josh@joshtriplett.org> | 2022-08-24 15:32:16 +0200 |
|---|---|---|
| committer | Josh Triplett <josh@joshtriplett.org> | 2022-10-15 00:35:39 +0100 |
| commit | 6a79da9ab7fbf5d50034751f4c3c185a1144d49b (patch) | |
| tree | 1b6c5a4876cf8230cdf7de8d3fc719df2b9725a6 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp | |
| parent | e25fe564d1ea62a1018f603cac39f51dc6f11048 (diff) | |
| download | rust-6a79da9ab7fbf5d50034751f4c3c185a1144d49b.tar.gz rust-6a79da9ab7fbf5d50034751f4c3c185a1144d49b.zip | |
Rewrite FILE_NAME_INFO handling to avoid enlarging slice reference
Rather than referencing a slice's pointer and then creating a new slice with a longer length, offset from the base structure pointer instead. This makes some choices of Rust semantics happier.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
