about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-09-06 17:35:40 +0000
committerbors <bors@rust-lang.org>2018-09-06 17:35:40 +0000
commitc3186914071b71af2c771ec0c0d044a1a8c215c2 (patch)
tree55da58e5a752fd1fd33d4f0e1fb5a6c5837ac4c2 /src/test/incremental/thinlto
parent35a5541fd90c96564d483eee248daabc6b133de3 (diff)
parent05cdf8dc3d490fbec2519de90b254f47ec7373e8 (diff)
downloadrust-c3186914071b71af2c771ec0c0d044a1a8c215c2.tar.gz
rust-c3186914071b71af2c771ec0c0d044a1a8c215c2.zip
Auto merge of #52626 - brunocodutra:issue-52475, r=oli-obk
Fix issue #52475: Make loop detector only consider reachable memory

As [suggested](https://github.com/rust-lang/rust/pull/51702#discussion_r197585664) by @oli-obk `alloc_id`s should be ignored by traversing all `Allocation`s in interpreter memory at a given moment in time, beginning by `ByRef` locals in the stack.

- [x] Generalize the implementation of `Hash` for `EvalSnapshot` to traverse `Allocation`s
- [x] Generalize the implementation of `PartialEq` for `EvalSnapshot` to traverse `Allocation`s
- [x] Commit regression tests

Fixes #52626
Fixes https://github.com/rust-lang/rust/issues/52849
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions