diff options
| author | bors <bors@rust-lang.org> | 2022-07-23 13:40:23 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-07-23 13:40:23 +0000 |
| commit | 302e9ae206ed148fc009d84c05ce0c99877ef6aa (patch) | |
| tree | 40d81f277d083403ce6a714148e842556acbd7f2 /tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.diff | |
| parent | b9aad98a3b61e77e31317c6fef86ffff6bac175a (diff) | |
| parent | 649b2164824c47419ffeffa7266f18a9cc84824e (diff) | |
| download | rust-302e9ae206ed148fc009d84c05ce0c99877ef6aa.tar.gz rust-302e9ae206ed148fc009d84c05ce0c99877ef6aa.zip | |
Auto merge of #2424 - RalfJung:weak-memory-debug, r=RalfJung
add a flag to print a diagnostic when an outdated value is returned from an atomic load Helps with https://github.com/rust-lang/miri/issues/2313. It can still be annoying to figure out *which* outdated load is the important one in case there are many of them (and the issue contains some ideas for how to help with that situation), but having this flag is better than nothing. Thanks to `@cbeuw` for the [original patch](https://github.com/cbeuw/miri/commit/64d738cb00dbcfbe9cab29c77717f5af62c83ada) that I based this on.
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.diff')
0 files changed, 0 insertions, 0 deletions
