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-17 03:58:41 +0000
committerbors <bors@rust-lang.org>2018-09-17 03:58:41 +0000
commit0b0d2edf79ceb3ab6dce1dcba9297af038fd6f0c (patch)
tree991e813806a741d5d4473dcae17b04bdf7adea4e /src/test/incremental/thinlto
parent0c6478998e2a0c33e46c951bd011ce367d6438ba (diff)
parentf3a76a18d74ce98e6813e74ae7779c8efc67b70d (diff)
downloadrust-0b0d2edf79ceb3ab6dce1dcba9297af038fd6f0c.tar.gz
rust-0b0d2edf79ceb3ab6dce1dcba9297af038fd6f0c.zip
Auto merge of #54254 - RalfJung:miri-dangling, r=eddyb
miri engine: keep around some information for dead allocations

We use it to test if a dangling ptr is aligned and non-NULL. This makes some code pass that should pass (writing a ZST to a properly aligned dangling pointer), and makes some code fail that should fail (writing a ZST to a pointer obtained via pointer arithmetic from a real location, but ouf-of-bounds -- that pointer could be NULL, so we cannot allow writing to it).

CTFE does not allow these operations; tests are added to miri with https://github.com/solson/miri/pull/453.
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions