Go to the documentation of this file.
9 #ifndef LLDB_CORE_VALUEOBJECTCONSTRESULT_H
10 #define LLDB_CORE_VALUEOBJECTCONSTRESULT_H
29 class ExecutionContextScope;
37 static lldb::ValueObjectSP
41 static lldb::ValueObjectSP
46 static lldb::ValueObjectSP
48 ConstString name,
const lldb::DataBufferSP &result_data_sp,
52 static lldb::ValueObjectSP
82 int32_t synthetic_index)
override;
136 const lldb::DataBufferSP &result_data_sp,
160 #endif // LLDB_CORE_VALUEOBJECTCONSTRESULT_H
ConstString GetDisplayTypeName() override
void SetLiveAddress(lldb::addr_t addr=LLDB_INVALID_ADDRESS, AddressType address_type=eAddressTypeLoad) override
void SetLiveAddress(lldb::addr_t addr=LLDB_INVALID_ADDRESS, AddressType address_type=eAddressTypeLoad)
lldb::ValueObjectSP Cast(const CompilerType &compiler_type) override
lldb::LanguageType GetPreferredDisplayLanguage() override
LanguageType
Programming language type.
lldb::addr_t GetAddressOf(bool scalar_is_load_address=true, AddressType *address_type=nullptr) override
lldb::ValueType GetValueType() const override
bool IsInScope() override
static llvm::raw_ostream & error(Stream &strm)
CompilerType GetCompilerTypeImpl() override
lldb::ValueObjectSP AddressOf(Status &error) override
void SetByteSize(size_t size)
lldb::addr_t GetLiveAddress()
ValueObjectConstResultImpl m_impl
size_t CalculateNumChildren(uint32_t max) override
Should only be called by ValueObject::GetNumChildren().
const ValueObjectConstResult & operator=(const ValueObjectConstResult &)=delete
@ eAddressTypeLoad
Address is an address as in the current target inferior process.
ValueObject * CreateChildAtIndex(size_t idx, bool synthetic_array_member, int32_t synthetic_index) override
Should only be called by ValueObject::GetChildAtIndex().
lldb::ValueObjectSP GetSyntheticChildAtOffset(uint32_t offset, const CompilerType &type, bool can_create, ConstString name_const_str=ConstString()) override
A class wrapping common implementation details for operations in ValueObjectConstResult ( & Child ) t...
lldb::addr_t GetLiveAddress() override
llvm::Optional< uint64_t > GetByteSize() override
A frozen ValueObject copied into host memory.
#define LLDB_INVALID_ADDRESS
Generic representation of a type in a programming language.
static lldb::ValueObjectSP Create(ExecutionContextScope *exe_scope, lldb::ByteOrder byte_order, uint32_t addr_byte_size, lldb::addr_t address=LLDB_INVALID_ADDRESS)
size_t GetPointeeData(DataExtractor &data, uint32_t item_idx=0, uint32_t item_count=1) override
A class that represents a running process on the host machine.
llvm::Optional< uint64_t > m_byte_size
lldb::ValueObjectSP GetDynamicValue(lldb::DynamicValueType valueType) override
ValueObjectConstResult(ExecutionContextScope *exe_scope, ValueObjectManager &manager, lldb::ByteOrder byte_order, uint32_t addr_byte_size, lldb::addr_t address)
bool UpdateValue() override
lldb::ValueObjectSP Dereference(Status &error) override
ByteOrder
Byte ordering definitions.
~ValueObjectConstResult() override
ConstString GetTypeName() override