9#ifndef LLDB_VALUEOBJECT_VALUEOBJECTCONSTRESULT_H
10#define LLDB_VALUEOBJECT_VALUEOBJECTCONSTRESULT_H
30class ExecutionContextScope;
57 uint32_t addr_byte_size);
84 uint32_t offset,
const CompilerType &type,
bool can_create,
93 uint32_t item_count = 1)
override;
143 uint32_t addr_byte_size);
static llvm::raw_ostream & error(Stream &strm)
Generic representation of a type in a programming language.
A uniqued constant string class.
"lldb/Target/ExecutionContextScope.h" Inherit from this if your object can reconstruct its execution ...
A class that describes an executable image and its associated object and symbol files.
A class wrapping common implementation details for operations in ValueObjectConstResult ( & Child ) t...
void SetLiveAddress(lldb::addr_t addr=LLDB_INVALID_ADDRESS, AddressType address_type=eAddressTypeLoad)
ValueObject * CreateChildAtIndex(size_t idx)
lldb::addr_t GetLiveAddress()
ValueObject * CreateSyntheticArrayMember(size_t idx)
A frozen ValueObject copied into host memory.
lldb::ValueObjectSP AddressOf(Status &error) override
void SetLiveAddress(lldb::addr_t addr=LLDB_INVALID_ADDRESS, AddressType address_type=eAddressTypeLoad) override
ValueObject * CreateSyntheticArrayMember(size_t idx) override
Should only be called by ValueObject::GetSyntheticArrayMember().
ValueObjectConstResultImpl m_impl
lldb::addr_t GetLiveAddress() override
std::optional< uint64_t > GetByteSize() override
bool IsInScope() override
lldb::ValueObjectSP Dereference(Status &error) override
static lldb::ValueObjectSP Create(ExecutionContextScope *exe_scope, lldb::ByteOrder byte_order, uint32_t addr_byte_size, lldb::addr_t address=LLDB_INVALID_ADDRESS)
void SetByteSize(size_t size)
bool UpdateValue() override
CompilerType GetCompilerTypeImpl() override
ConstString GetTypeName() override
lldb::ValueObjectSP DoCast(const CompilerType &compiler_type) override
ValueObjectConstResult(const ValueObjectConstResult &)=delete
const ValueObjectConstResult & operator=(const ValueObjectConstResult &)=delete
ValueObject * CreateChildAtIndex(size_t idx) override
Should only be called by ValueObject::GetChildAtIndex().
std::optional< uint64_t > m_byte_size
lldb::addr_t GetAddressOf(bool scalar_is_load_address=true, AddressType *address_type=nullptr) override
lldb::ValueObjectSP GetSyntheticChildAtOffset(uint32_t offset, const CompilerType &type, bool can_create, ConstString name_const_str=ConstString()) override
lldb::ValueObjectSP GetDynamicValue(lldb::DynamicValueType valueType) override
~ValueObjectConstResult() override
llvm::Expected< uint32_t > CalculateNumChildren(uint32_t max) override
Should only be called by ValueObject::GetNumChildren().
lldb::ValueType GetValueType() const override
ConstString GetDisplayTypeName() override
size_t GetPointeeData(DataExtractor &data, uint32_t item_idx=0, uint32_t item_count=1) override
lldb::LanguageType GetPreferredDisplayLanguage() override
#define LLDB_INVALID_ADDRESS
A class that represents a running process on the host machine.
@ eAddressTypeLoad
Address is an address as in the current target inferior process.
std::shared_ptr< lldb_private::ValueObject > ValueObjectSP
LanguageType
Programming language type.
ByteOrder
Byte ordering definitions.
std::shared_ptr< lldb_private::DataBuffer > DataBufferSP