313436807b
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 |
||
---|---|---|
.. | ||
intrinsics | ||
cast.rs | ||
eval_context.rs | ||
intern.rs | ||
intrinsics.rs | ||
machine.rs | ||
memory.rs | ||
mod.rs | ||
operand.rs | ||
operator.rs | ||
place.rs | ||
snapshot.rs | ||
step.rs | ||
terminator.rs | ||
traits.rs | ||
validity.rs | ||
visitor.rs |