Skip to content
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

Miri: expand frame hooks #71100

Merged
merged 3 commits into from
Apr 15, 2020
Merged

Miri: expand frame hooks #71100

merged 3 commits into from
Apr 15, 2020

Conversation

RalfJung
Copy link
Member

This is needed to make rust-lang/miri#1330 work.

r? @oli-obk @eddyb

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Apr 13, 2020
@oli-obk
Copy link
Contributor

oli-obk commented Apr 14, 2020

@bors r+

@bors
Copy link
Contributor

bors commented Apr 14, 2020

📌 Commit f2d4c93 has been approved by oli-obk

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Apr 14, 2020
Dylan-DPC-zz pushed a commit to Dylan-DPC-zz/rust that referenced this pull request Apr 14, 2020
Centril added a commit to Centril/rust that referenced this pull request Apr 15, 2020
bors added a commit to rust-lang-ci/rust that referenced this pull request Apr 15, 2020
Rollup of 4 pull requests

Successful merges:

 - rust-lang#70891 (unit rvalue, use constant `()` instead of tuple)
 - rust-lang#71030 (rustc_target: Refactor target specifications related to Windows and UEFI)
 - rust-lang#71100 (Miri: expand frame hooks)
 - rust-lang#71116 (Entirely remove `DUMMY_HIR_ID`)

Failed merges:

r? @ghost
@bors bors merged commit 8da5952 into rust-lang:master Apr 15, 2020
bors added a commit to rust-lang/miri that referenced this pull request Apr 15, 2020
retag return place

@eddyb suggested that return places should be treated like unique references for Stacked Borrows. That is implemented by this patch, but it is unfortunately quite the hack because otherwise we are retagging *references*, not places.

@eddyb does this roughly correspond to what you had in mind? (Except for whatever it is you think should happen with argument passing, which is a much bigger issue.) Also, do you think there is any way we can *test* this?

Needs rust-lang/rust#71100 to land.
@RalfJung RalfJung deleted the miri-frame-hook branch April 16, 2020 11:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants