about summary refs log tree commit diff
path: root/src/rustllvm/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorDavid Wood <david@davidtw.co>2020-07-02 16:20:59 +0100
committerDavid Wood <david@davidtw.co>2020-07-02 16:20:59 +0100
commit1b747a030f2dc1eba63f50f2c5f43938538e0c6a (patch)
treeba213b7f10641e9c5a8109d017271a93fb36c242 /src/rustllvm/CoverageMappingWrapper.cpp
parent9491f18c5de3ff1c4bf9c3fdacf52d9859e26f7c (diff)
downloadrust-1b747a030f2dc1eba63f50f2c5f43938538e0c6a.tar.gz
rust-1b747a030f2dc1eba63f50f2c5f43938538e0c6a.zip
mir: mark mir construction temporaries as internal
This commit marks temporaries from MIR construction as internal such
that they are skipped in `sanitize_witness` (where each MIR local is
checked to have been contained within the generator interior computed
during typeck). This resolves an ICE whereby the construction of checked
addition introduced a `(u64, bool)` temporary which was not in the HIR
and thus not in the generator interior.

Signed-off-by: David Wood <david@davidtw.co>
Diffstat (limited to 'src/rustllvm/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions