Add support for sythetic operator dereference
authorTamas Berghammer <tberghammer@google.com>
Fri, 31 Mar 2017 20:23:22 +0000 (20:23 +0000)
committerTamas Berghammer <tberghammer@google.com>
Fri, 31 Mar 2017 20:23:22 +0000 (20:23 +0000)
commit4c08fe284125d6505008239c39b3847d5818ff40
treec730411862f0c489e9090d3557fc301b2aeff49c
parent12aa5b733e3e8f1017256ca1f694de8ffc0a4d6e
Add support for sythetic operator dereference

Summary:
After this change a sythetic child provider can generate a special child
named "$$dereference$$" what if present is used when "operator*" or
"operator->" used on a ValueObject. The goal of the change is to make
expressions like "up->foo" work inside the "frame variable" command.

Reviewers: labath, jingham

Subscribers: lldb-commits

Differential Revision: https://reviews.llvm.org/D31368

llvm-svn: 299251
lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/unique_ptr/TestDataFormatterStdUniquePtr.py
lldb/source/Core/ValueObject.cpp
lldb/source/Plugins/Language/CPlusPlus/LibStdcppUniquePointer.cpp
lldb/source/Target/StackFrame.cpp
lldb/www/varformats.html