9#ifndef LLDB_CORE_VALUEOBJECTCONSTRESULT_H
10#define LLDB_CORE_VALUEOBJECTCONSTRESULT_H
30class ExecutionContextScope;
38 static lldb::ValueObjectSP
42 static lldb::ValueObjectSP
47 static lldb::ValueObjectSP
49 ConstString name,
const lldb::DataBufferSP &result_data_sp,
53 static lldb::ValueObjectSP
83 int32_t synthetic_index)
override;
137 const lldb::DataBufferSP &result_data_sp,
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)
lldb::addr_t GetLiveAddress()
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
ValueObjectConstResultImpl m_impl
lldb::addr_t GetLiveAddress() override
std::optional< uint64_t > GetByteSize() override
bool IsInScope() override
lldb::ValueObjectSP Dereference(Status &error) override
size_t CalculateNumChildren(uint32_t max) override
Should only be called by ValueObject::GetNumChildren().
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
ValueObject * CreateChildAtIndex(size_t idx, bool synthetic_array_member, int32_t synthetic_index) override
Should only be called by ValueObject::GetChildAtIndex().
CompilerType GetCompilerTypeImpl() override
lldb::ValueObjectSP Cast(const CompilerType &compiler_type) override
ConstString GetTypeName() override
ValueObjectConstResult(const ValueObjectConstResult &)=delete
const ValueObjectConstResult & operator=(const ValueObjectConstResult &)=delete
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
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.
LanguageType
Programming language type.
ByteOrder
Byte ordering definitions.