[PATCH] D24927: Propagate DBG_VALUE entries when there are unvisited predecessors
Keith Walker via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 26 10:00:22 PDT 2016
keith.walker.arm created this revision.
keith.walker.arm added reviewers: llvm-commits, dberlin, aprantl, tvvikram.
Variables are sometimes missing their debug location information in
blocks in which the variables should be available. This would occur
when one or more predecessor blocks had not yet been visited by the
routine which propagated the information from predecessor blocks.
This is addressed by only considering predecessor blocks which have
already been visited.
The solution to this problem was suggested by Daniel Berlin on the
LLVM developer mailing list.
https://reviews.llvm.org/D24927
Files:
lib/CodeGen/LiveDebugValues.cpp
test/CodeGen/ARM/dbg-range-extension.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24927.72507.patch
Type: text/x-patch
Size: 11083 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160926/52792c1e/attachment.bin>
More information about the llvm-commits
mailing list