[Core] Use the implementation method GetAddressOf in ValueObjectConstResultChild
authorAleksandr Urakov <aleksandr.urakov@jetbrains.com>
Mon, 14 Jan 2019 13:08:13 +0000 (13:08 +0000)
committerAleksandr Urakov <aleksandr.urakov@jetbrains.com>
Mon, 14 Jan 2019 13:08:13 +0000 (13:08 +0000)
commitb4c1e4c2fb035ea49974cfd7c0ef2497502e18be
tree58cb95738ba5c6c54252a5c0e53fbf5bbaa7d545
parentceabe8b02f4cd355d018e34d93deef357aa80715
[Core] Use the implementation method GetAddressOf in ValueObjectConstResultChild

Summary:
This patch allows to retrieve an address object for `ValueObject`'s children
retrieved through e.g. `GetChildAtIndex` or `GetChildMemberWithName`. It just
uses the corresponding method of the implementation object `m_impl` to achieve
that.

Reviewers: zturner, JDevlieghere, clayborg, labath, serge-sans-paille

Reviewed By: clayborg

Subscribers: leonid.mashinskiy, lldb-commits

Tags: #lldb

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

llvm-svn: 351065
lldb/include/lldb/Core/ValueObjectConstResultChild.h
lldb/packages/Python/lldbsuite/test/python_api/value/TestValueAPI.py
lldb/source/Core/ValueObjectConstResultChild.cpp