9#ifndef LLDB_VALUEOBJECT_VALUEOBJECTCONSTRESULT_H
10#define LLDB_VALUEOBJECT_VALUEOBJECTCONSTRESULT_H
57 uint32_t addr_byte_size);
89 uint32_t offset,
const CompilerType &type,
bool can_create,
97 uint32_t item_count = 1)
override;
103 m_impl.SetLiveAddress(addr, address_type);
147 uint32_t addr_byte_size);
157 Module *module =
nullptr);
163 return m_impl.CreateChildAtIndex(idx);
166 return m_impl.CreateSyntheticArrayMember(idx);
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.
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
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)
AddrAndType GetAddressOf(bool scalar_is_load_address=true) override
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::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
friend class ValueObjectConstResultImpl
llvm::Expected< uint32_t > CalculateNumChildren(uint32_t max) override
Should only be called by ValueObject::GetNumChildren().
lldb::ValueType GetValueType() const override
llvm::Expected< uint64_t > GetByteSize() override
ConstString GetDisplayTypeName() override
size_t GetPointeeData(DataExtractor &data, uint32_t item_idx=0, uint32_t item_count=1) override
ValueObjectConstResult(ExecutionContextScope *exe_scope, ValueObjectManager &manager, lldb::ByteOrder byte_order, uint32_t addr_byte_size, lldb::addr_t address)
lldb::LanguageType GetPreferredDisplayLanguage() override
ClusterManager< ValueObject > ValueObjectManager
ValueObject(ExecutionContextScope *exe_scope, ValueObjectManager &manager, AddressType child_ptr_or_ref_addr_type=eAddressTypeLoad)
Use this constructor to create a "root variable object".
#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