summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorKarl-Johan Karlsson <karl-johan.karlsson@ericsson.com>2017-10-05 08:37:31 +0000
committerKarl-Johan Karlsson <karl-johan.karlsson@ericsson.com>2017-10-05 08:37:31 +0000
commit8d8d201c17861aa2d8bdca42d1973b3ddf78aef4 (patch)
tree9e2f6593d7951dc13903e7ae1ff4507a4f3df0c2 /clang/lib/CodeGen/CodeGenFunction.cpp
parentb074fbcb48ef7e7a7c3500895a911dcbaf94a2ae (diff)
downloadbcm5719-llvm-8d8d201c17861aa2d8bdca42d1973b3ddf78aef4.tar.gz
bcm5719-llvm-8d8d201c17861aa2d8bdca42d1973b3ddf78aef4.zip
[DebugInfo] Insert DEBUG_VALUEs after each register redefinition
Summary: When reinserting debug values after register allocation, make sure to insert debug values after each redefinition of debug value register in the slot index range. The reason for this is that DwarfDebug will end the range of a debug variable when the physical reg is defined. For instructions with e.g. tied operands this result in prematurely ended debug range. This resolves pr34545 Patch by Karl-Johan Karlsson and Bjorn Pettersson Reviewers: rnk, aprantl Reviewed By: rnk Subscribers: bjope, llvm-commits Differential Revision: https://reviews.llvm.org/D38229 llvm-svn: 314974
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud