diff options
author | Hal Finkel <hfinkel@anl.gov> | 2016-05-25 22:08:27 +0000 |
---|---|---|
committer | Hal Finkel <hfinkel@anl.gov> | 2016-05-25 22:08:27 +0000 |
commit | ec264b2935ed8cc0fe535b4eef06f50552977cab (patch) | |
tree | 8d08a9fa42f16b1a3d969e4e0db72692f5a50f1f /lldb/packages/Python/lldbsuite/test/functionalities/non-overlapping-index-variable-i/TestIndexVariable.py | |
parent | c0d04a2567c22631595bed8092bc042bb91ea4ee (diff) | |
download | bcm5719-llvm-ec264b2935ed8cc0fe535b4eef06f50552977cab.tar.gz bcm5719-llvm-ec264b2935ed8cc0fe535b4eef06f50552977cab.zip |
[CGDebugInfo] Modify the preferred expression location for member calls.
If the callee has a valid location (not all do), then use that. Otherwise, fall
back to the starting location. This makes sure that the debug info for calls
points to the call (not the start of the expression providing the object on
which the member function is being called).
For example, given this:
f->foo()->bar();
we don't want both calls to point to the 'f', but rather to the 'foo()' and
the 'bar()'.
Fixes PR27567.
Differential Revision: http://reviews.llvm.org/D19708
llvm-svn: 270775
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/non-overlapping-index-variable-i/TestIndexVariable.py')
0 files changed, 0 insertions, 0 deletions