diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-03-22 11:36:59 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-22 11:36:59 +0100 |
| commit | 84e55be8dab479c5914c505588e179913bdde27c (patch) | |
| tree | be0cdbfa4424f5693d9f38e1cd0fde4f28c89106 /compiler/rustc_codegen_llvm/src | |
| parent | f5ac009a275c09d72277a9882abb2eca15bb588e (diff) | |
| parent | 7be47b219df42cba96560a97de707967cca8c762 (diff) | |
| download | rust-84e55be8dab479c5914c505588e179913bdde27c.tar.gz rust-84e55be8dab479c5914c505588e179913bdde27c.zip | |
Rollup merge of #122537 - RalfJung:interpret-allocation, r=oli-obk
interpret/allocation: fix aliasing issue in interpreter and refactor getters a bit
That new raw getter will be needed to let Miri pass pointers to natively executed FFI code ("extern-so" mode).
While doing that I realized our get_bytes_mut are named less scary than get_bytes_unchecked so I rectified that. Also I realized `mem_copy_repeatedly` would break if we called it for multiple overlapping copies so I made sure this does not happen.
And I realized that we are actually [violating Stacked Borrows in the interpreter](https://rust-lang.zulipchat.com/#narrow/stream/136281-t-opsem/topic/I.20think.20Miri.20violates.20Stacked.20Borrows.20.F0.9F.99.88).^^ That was introduced in https://github.com/rust-lang/rust/pull/87777.
r? ```@oli-obk```
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
