9#ifndef LLDB_VALUEOBJECT_VALUEOBJECTVARIABLE_H
10#define LLDB_VALUEOBJECT_VALUEOBJECTVARIABLE_H
29class ExecutionContextScope;
30class SymbolContextScope;
static llvm::raw_ostream & error(Stream &strm)
Generic representation of a type in a programming language.
A uniqued constant string class.
A class that describes the declaration location of a lldb object.
"lldb/Target/ExecutionContextScope.h" Inherit from this if your object can reconstruct its execution ...
"lldb/Symbol/SymbolContextScope.h" Inherit from this if your object is part of a symbol context and c...
A ValueObject that contains a root variable that may or may not have children.
ConstString GetTypeName() override
~ValueObjectVariable() override
lldb::ValueType GetValueType() const override
SymbolContextScope * GetSymbolContextScope() override
lldb::ModuleSP GetModule() override
Return the module associated with this value object in case the value is from an executable file and ...
void DoUpdateChildrenAddressType(ValueObject &valobj) override
ValueObjectVariable(const ValueObjectVariable &)=delete
ConstString GetDisplayTypeName() override
bool SetData(DataExtractor &data, Status &error) override
const char * GetLocationAsCString() override
static lldb::ValueObjectSP Create(ExecutionContextScope *exe_scope, const lldb::VariableSP &var_sp)
const ValueObjectVariable & operator=(const ValueObjectVariable &)=delete
std::optional< uint64_t > GetByteSize() override
ConstString GetQualifiedTypeName() override
lldb::VariableSP GetVariable() override
bool IsInScope() override
bool SetValueFromCString(const char *value_str, Status &error) override
bool UpdateValue() override
lldb::VariableSP m_variable_sp
The variable that this value object is based upon.
llvm::Expected< uint32_t > CalculateNumChildren(uint32_t max) override
Should only be called by ValueObject::GetNumChildren().
bool GetDeclaration(Declaration &decl) override
CompilerType GetCompilerTypeImpl() override
A class that represents a running process on the host machine.
std::shared_ptr< lldb_private::ValueObject > ValueObjectSP
std::shared_ptr< lldb_private::Variable > VariableSP
std::shared_ptr< lldb_private::Module > ModuleSP