diff options
author | Jeremy Morse <jeremy.morse.llvm@gmail.com> | 2019-09-04 11:09:05 +0000 |
---|---|---|
committer | Jeremy Morse <jeremy.morse.llvm@gmail.com> | 2019-09-04 11:09:05 +0000 |
commit | 337a7cb55eeec58a5cf13eb338ac9f3657373cd3 (patch) | |
tree | 8ddb23b7fac6ee6b53d6061a532e8b8000ed894f /lldb/packages/Python/lldbsuite/test/python_api/process/TestProcessAPI.py | |
parent | e7befecc4211f17dec3be30e1e173fdda7ba1e3d (diff) | |
download | bcm5719-llvm-337a7cb55eeec58a5cf13eb338ac9f3657373cd3.tar.gz bcm5719-llvm-337a7cb55eeec58a5cf13eb338ac9f3657373cd3.zip |
[DebugInfo] LiveDebugValues: locations with different exprs should not be merged
When comparing variable locations, LiveDebugValues currently considers only
the machine location, ignoring any DIExpression applied to it. This is a
problem because that DIExpression can do pretty much anything to the machine
location, for example dereferencing it.
This patch adds DIExpressions to that comparison; now variables based on the
same register/memory-location but with different expressions will compare
differently, and be dropped if we attempt to merge them between blocks. This
reduces variable coverage-range a little, but only because we were producing
broken locations.
Differential Revision: https://reviews.llvm.org/D66942
llvm-svn: 370877
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/process/TestProcessAPI.py')
0 files changed, 0 insertions, 0 deletions