-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Retagging statements #55316
Add Retagging statements #55316
Conversation
r? @pnkfelix (rust_highfive has picked a reviewer for you, use r? to override) |
r? @oli-obk |
This comment has been minimized.
This comment has been minimized.
Fixed all your comments. |
r=me once the other PR is merged |
☔ The latest upstream changes (presumably #55347) made this pull request unmergeable. Please resolve the merge conflicts. |
@oli-obk I pushed a small API change to make As for the conflicts, I will have to rebase the PR this is based on first. |
☔ The latest upstream changes (presumably #53821) made this pull request unmergeable. Please resolve the merge conflicts. |
Also "rename" -Zmir-emit-validate to -Zmir-emit-retag, which is just a boolean (yes or no).
…t mir::BorrowKind
@bors r+ |
📌 Commit 3545dae has been approved by |
I added 2a5eae3, another small API change I'd like to sneak into this if I may. |
@bors r+ |
📌 Commit 2a5eae3 has been approved by |
Forgot about changing the third memory-access hook method. Sorry for the noise :( |
@bors r+ |
📌 Commit d10304e has been approved by |
Add Retagging statements This adds a `Retag` statement kind to MIR, used to perform the retagging operation from [Stacked Borrows](https://www.ralfj.de/blog/2018/08/07/stacked-borrows.html). It also kills the old `Validate` statements that I added last year. NOTE: This includes #55270. Only [these commits are new](RalfJung/rust@stacked-borrows-ng...RalfJung:retagging).
☀️ Test successful - status-appveyor, status-travis |
Value visitors for miri Generalize the traversal part of validation to a `ValueVisitor`. ~~This includes #55316, [click here](RalfJung/rust@retagging...RalfJung:miri-visitor) for just the new commits.~~ This PR does not change the interface to miri, so I use the opportunity to update miri.
Value visitors for miri Generalize the traversal part of validation to a `ValueVisitor`. ~~This includes #55316, [click here](RalfJung/rust@retagging...RalfJung:miri-visitor) for just the new commits.~~
This adds a
Retag
statement kind to MIR, used to perform the retagging operation from Stacked Borrows. It also kills the oldValidate
statements that I added last year.NOTE: This includes #55270. Only these commits are new.