about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2019-12-02 09:34:14 +0100
committerGitHub <noreply@github.com>2019-12-02 09:34:14 +0100
commit313436807b7db2d6f31cf5b33fa556260eabda15 (patch)
treebd881687881e13781ba751e271cfbb696d150310 /src/test/codegen/src-hash-algorithm
parentb7f8b77eec41b47f5cb49bce53dc34c7e87269c7 (diff)
parent2869abacfa12ce3946234e5554d160fc932d933d (diff)
downloadrust-313436807b7db2d6f31cf5b33fa556260eabda15.tar.gz
rust-313436807b7db2d6f31cf5b33fa556260eabda15.zip
Rollup merge of #66827 - RalfJung:miri-missing-ret-place, r=oli-obk
handle diverging functions forwarding their return place

Fixes https://github.com/rust-lang/miri/issues/1075: the shim around diverging closures turned into function pointers actually "obtains" a return place inside a diverging function, but just uses it as the return place for a diverging callee. Handle this by using NULL places.

This is kind of a hack as it breaks our invariant that all places are dereferencable, but we'd eventually let raw pointers break that anyway I assume so that seems fine.

r? @oli-obk
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions