9#ifndef LLDB_VALUEOBJECT_VALUEOBJECTREGISTER_H
10#define LLDB_VALUEOBJECT_VALUEOBJECTREGISTER_H
28class ExecutionContextScope;
53 bool can_create =
true)
override;
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 stream class that can stream formatted output to a file.
ConstString GetQualifiedTypeName() override
ValueObjectRegisterSet(const ValueObjectRegisterSet &)=delete
ConstString GetTypeName() override
std::optional< uint64_t > GetByteSize() override
size_t GetIndexOfChildWithName(llvm::StringRef name) override
lldb::RegisterContextSP m_reg_ctx_sp
lldb::ValueObjectSP GetChildMemberWithName(llvm::StringRef name, bool can_create=true) override
bool UpdateValue() override
lldb::ValueType GetValueType() const override
const RegisterSet * m_reg_set
ValueObject * CreateSyntheticArrayMember(size_t idx) override
Should only be called by ValueObject::GetSyntheticArrayMember().
CompilerType GetCompilerTypeImpl() override
static lldb::ValueObjectSP Create(ExecutionContextScope *exe_scope, lldb::RegisterContextSP ®_ctx_sp, uint32_t set_idx)
llvm::Expected< uint32_t > CalculateNumChildren(uint32_t max) override
Should only be called by ValueObject::GetNumChildren().
ValueObject * CreateChildAtIndex(size_t idx) override
Should only be called by ValueObject::GetChildAtIndex().
~ValueObjectRegisterSet() override
friend class ValueObjectRegisterContext
const ValueObjectRegisterSet & operator=(const ValueObjectRegisterSet &)=delete
bool SetValueFromCString(const char *value_str, Status &error) override
bool SetData(DataExtractor &data, Status &error) override
~ValueObjectRegister() override
lldb::ValueType GetValueType() const override
static lldb::ValueObjectSP Create(ExecutionContextScope *exe_scope, lldb::RegisterContextSP ®_ctx_sp, const RegisterInfo *reg_info)
llvm::Expected< uint32_t > CalculateNumChildren(uint32_t max) override
Should only be called by ValueObject::GetNumChildren().
std::optional< uint64_t > GetByteSize() override
ValueObjectRegister(const ValueObjectRegister &)=delete
bool UpdateValue() override
ConstString GetTypeName() override
CompilerType m_compiler_type
lldb::RegisterContextSP m_reg_ctx_sp
RegisterValue m_reg_value
const ValueObjectRegister & operator=(const ValueObjectRegister &)=delete
CompilerType GetCompilerTypeImpl() override
void ConstructObject(const RegisterInfo *reg_info)
void GetExpressionPath(Stream &s, GetExpressionPathFormat epformat=eGetExpressionPathFormatDereferencePointers) override
bool ResolveValue(Scalar &scalar) override
@ eGetExpressionPathFormatDereferencePointers
A class that represents a running process on the host machine.
std::shared_ptr< lldb_private::ValueObject > ValueObjectSP
std::shared_ptr< lldb_private::RegisterContext > RegisterContextSP
@ eValueTypeRegister
stack frame register value
@ eValueTypeRegisterSet
A collection of stack frame register values.
Every register is described in detail including its name, alternate name (optional),...
Registers are grouped into register sets.