diff options
| author | Siva Chandra <sivachandra@google.com> | 2015-07-16 01:47:12 +0000 |
|---|---|---|
| committer | Siva Chandra <sivachandra@google.com> | 2015-07-16 01:47:12 +0000 |
| commit | f8877efc8ba64360179b85af9fd019aae549d1a7 (patch) | |
| tree | 162796467b673f6dd152707c7c66e46229144016 /lldb/source/Core/ValueObjectConstResult.cpp | |
| parent | 938bd6fc963af5028a31b315b982ac390786af1b (diff) | |
| download | bcm5719-llvm-f8877efc8ba64360179b85af9fd019aae549d1a7.tar.gz bcm5719-llvm-f8877efc8ba64360179b85af9fd019aae549d1a7.zip | |
Add a class ValueObjectConstResultCast.
Summary:
Other changes around the main change include:
1. Add a method Cast to ValueObjectConstResult, ValueObjectConstResultImpl
and ValueObjectConstResultChild.
2. Add an argument |live_address| of type lldb::addr_t to the constructor
of ValueObjectConstResultChild. This is passed on to the backing
ValueObjectConstResultImpl object constructor so that the address of the
child value can be calculated properly.
Reviewers: granata.enrico, clayborg
Subscribers: lldb-commits
Differential Revision: http://reviews.llvm.org/D11203
llvm-svn: 242374
Diffstat (limited to 'lldb/source/Core/ValueObjectConstResult.cpp')
| -rw-r--r-- | lldb/source/Core/ValueObjectConstResult.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lldb/source/Core/ValueObjectConstResult.cpp b/lldb/source/Core/ValueObjectConstResult.cpp index b4e63030646..7aec555617d 100644 --- a/lldb/source/Core/ValueObjectConstResult.cpp +++ b/lldb/source/Core/ValueObjectConstResult.cpp @@ -365,6 +365,12 @@ ValueObjectConstResult::GetDynamicValue (lldb::DynamicValueType use_dynamic) return ValueObjectSP(); } +lldb::ValueObjectSP +ValueObjectConstResult::Cast (const ClangASTType &clang_ast_type) +{ + return m_impl.Cast(clang_ast_type); +} + lldb::LanguageType ValueObjectConstResult::GetPreferredDisplayLanguage () { |

