rust/src/librustc_mir/interpret
Ralf Jung 313436807b
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
2019-12-02 09:34:14 +01:00
..
intrinsics do not consider memory allocated by caller_location leaked 2019-11-28 19:15:32 +01:00
cast.rs Rollup merge of #65831 - matthewjasper:array-ptr-cast, r=oli-obk 2019-11-10 09:27:12 +09:00
eval_context.rs Rollup merge of #66789 - eddyb:mir-source-scope-local-data, r=oli-obk 2019-12-02 04:09:00 +01:00
intern.rs do not consider memory allocated by caller_location leaked 2019-11-28 19:15:32 +01:00
intrinsics.rs make sure we handle all transmute invocations, including diverging ones 2019-11-25 22:37:31 +01:00
machine.rs Fix spelling typos 2019-11-26 22:19:54 -05:00
memory.rs do not consider memory allocated by caller_location leaked 2019-11-28 19:15:32 +01:00
mod.rs Add hooks for Miri panic unwinding 2019-11-11 15:14:31 -05:00
operand.rs Auto merge of #66677 - wesleywiser:fix_const_prop_alloc_id_ice, r=oli-obk 2019-11-27 08:00:58 +00:00
operator.rs Rename sty to kind 2019-09-25 15:50:04 +01:00
place.rs comment 2019-11-27 23:36:39 +01:00
snapshot.rs Revert "Revert expansion of impl HashStable for Frame." 2019-11-22 19:23:08 +01:00
step.rs avoid the loop in unwinding stack popping 2019-11-11 15:14:32 -05:00
terminator.rs Auto merge of #66321 - ninjasource:async-fn-resume-after-completion, r=oli-obk 2019-11-29 18:11:33 +00:00
traits.rs Aggregation of drive-by cosmetic changes. 2019-11-21 18:50:38 +00:00
validity.rs fix reoccuring typo: dereferencable -> dereferenceable 2019-11-22 18:11:28 +01:00
visitor.rs Rename sty to kind 2019-09-25 15:50:04 +01:00