[PATCH] D37932: [DebugInfo] Move the "indirect" bit to the location interval map
Reid Kleckner via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 15 14:30:11 PDT 2017
rnk created this revision.
Herald added a subscriber: hiraditya.
A single UserValue, which approximates a user variable, may have many
DBG_VALUE instructions that disagree about whether the variable is in
memory or in a virtual register. This will become much more common once
we have llvm.dbg.addr.
Before this change, we would get two UserValues: one for direct and one
for indirect DBG_VALUE instructions describing the same variable. Now
we get one.
FIXME: Needs tests, don't submit yet
https://reviews.llvm.org/D37932
Files:
llvm/lib/CodeGen/LiveDebugVariables.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37932.115496.patch
Type: text/x-patch
Size: 20369 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170915/242ba2e2/attachment.bin>
More information about the llvm-commits
mailing list