about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm_util.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-05-12 07:11:13 +0200
committerGitHub <noreply@github.com>2023-05-12 07:11:13 +0200
commitab18da61f4581b8a37d328704afd7f65a538f877 (patch)
tree4aee8c90deb4fffc41afed32265f6e52447e12d0 /compiler/rustc_codegen_llvm/src/llvm_util.rs
parentd075b6c16dc86a026f6ef0b653c6cd386f82cc8b (diff)
parent9fb1c73a7309b83d495a4033c15c9e223da11f01 (diff)
downloadrust-ab18da61f4581b8a37d328704afd7f65a538f877.tar.gz
rust-ab18da61f4581b8a37d328704afd7f65a538f877.zip
Rollup merge of #111441 - cjgillot:issue-111422, r=JakobDegen
Verify copies of mutable pointers in 2 stages in ReferencePropagation

Fixes #111422

In the first stage, we mark the copies as reborrows, to be checked later.
In the second stage, we walk the reborrow chains to verify that all stages are fully replacable.

The replacement itself mirrors the check, and iterates through the reborrow chain.

r? ``````@RalfJung``````
cc ``````@JakobDegen``````
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
0 files changed, 0 insertions, 0 deletions