diff options
| author | bors <bors@rust-lang.org> | 2023-08-16 08:00:33 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-08-16 08:00:33 +0000 |
| commit | 22f5aadd1d4aa7181d1201f24ed65245dd10621d (patch) | |
| tree | e17c21d2a58c43b8606e6b65f25b0d96ab77f207 /compiler/rustc_mir_transform/src/coverage/mod.rs | |
| parent | edc6fc12e397ded9bdab719da088c58fb2f27464 (diff) | |
| parent | 6235604f70585697b10a6b3891de367228f3733a (diff) | |
| download | rust-22f5aadd1d4aa7181d1201f24ed65245dd10621d.tar.gz rust-22f5aadd1d4aa7181d1201f24ed65245dd10621d.zip | |
Auto merge of #2940 - saethlin:use-after-free-spans, r=RalfJung
When reporting a heap use-after-free, say where the allocation was allocated and deallocated This is a partial solution to: https://github.com/rust-lang/miri/issues/2917 Currently in the interpreter, we only have accurate information for where heap allocations are allocated and deallocated (see https://github.com/rust-lang/miri/pull/2940#discussion_r1243559711). So this just implements support for allocations where the information is already available, and the full support will require more interpreter tweaks.
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/mod.rs')
0 files changed, 0 insertions, 0 deletions
