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
Showing
- lldb/include/lldb/Core/ValueObjectCast.h 1 addition, 1 deletionlldb/include/lldb/Core/ValueObjectCast.h
- lldb/include/lldb/Core/ValueObjectConstResult.h 3 additions, 0 deletionslldb/include/lldb/Core/ValueObjectConstResult.h
- lldb/include/lldb/Core/ValueObjectConstResultCast.h 77 additions, 0 deletionslldb/include/lldb/Core/ValueObjectConstResultCast.h
- lldb/include/lldb/Core/ValueObjectConstResultChild.h 5 additions, 1 deletionlldb/include/lldb/Core/ValueObjectConstResultChild.h
- lldb/include/lldb/Core/ValueObjectConstResultImpl.h 3 additions, 0 deletionslldb/include/lldb/Core/ValueObjectConstResultImpl.h
- lldb/source/Core/CMakeLists.txt 1 addition, 0 deletionslldb/source/Core/CMakeLists.txt
- lldb/source/Core/ValueObjectConstResult.cpp 6 additions, 0 deletionslldb/source/Core/ValueObjectConstResult.cpp
- lldb/source/Core/ValueObjectConstResultCast.cpp 75 additions, 0 deletionslldb/source/Core/ValueObjectConstResultCast.cpp
- lldb/source/Core/ValueObjectConstResultChild.cpp 9 additions, 2 deletionslldb/source/Core/ValueObjectConstResultChild.cpp
- lldb/source/Core/ValueObjectConstResultImpl.cpp 13 additions, 1 deletionlldb/source/Core/ValueObjectConstResultImpl.cpp
- lldb/test/python_api/value/TestValueAPI.py 6 additions, 0 deletionslldb/test/python_api/value/TestValueAPI.py
- lldb/test/python_api/value/main.c 10 additions, 0 deletionslldb/test/python_api/value/main.c
Please register or sign in to comment