HomePhabricator

[DEBUGINFO] Reposting r352642: Handle restore instructions in LiveDebugValues

Description

[DEBUGINFO] Reposting r352642: Handle restore instructions in LiveDebugValues

The LiveDebugValues pass recognizes spills but not restores, which can
cause large gaps in location information for some variables, depending
on control flow. This patch make LiveDebugValues recognize restores and
generate appropriate DBG_VALUE instructions.

This patch was posted previously with r352642 and reverted in r352666 due
to buildbot errors. A missing return statement was the cause for the
failures.

Reviewers: aprantl, NicolaPrica

Differential Revision: https://reviews.llvm.org/D57271

Details

Committed
wolfgangpFeb 4 2019, 12:42 PM
Differential Revision
D57271: [DebugInfo] Handle restore instructions in LiveDebugValues
Parents
rL353088: Generalize pthread callback test case
Branches
Unknown
Tags
Unknown