LLDB mainline
|
#include <ExpressionVariable.h>
Public Member Functions | |
PersistentExpressionState () | |
virtual | ~PersistentExpressionState () |
virtual lldb::ExpressionVariableSP | CreatePersistentVariable (const lldb::ValueObjectSP &valobj_sp)=0 |
virtual lldb::ExpressionVariableSP | CreatePersistentVariable (ExecutionContextScope *exe_scope, ConstString name, const CompilerType &type, lldb::ByteOrder byte_order, uint32_t addr_byte_size)=0 |
virtual ConstString | GetNextPersistentVariableName (bool is_error=false)=0 |
Return a new persistent variable name with the specified prefix. | |
virtual void | RemovePersistentVariable (lldb::ExpressionVariableSP variable)=0 |
virtual std::optional< CompilerType > | GetCompilerTypeFromPersistentDecl (ConstString type_name)=0 |
virtual lldb::addr_t | LookupSymbol (ConstString name) |
void | RegisterExecutionUnit (lldb::IRExecutionUnitSP &execution_unit_sp) |
![]() | |
size_t | GetSize () |
Implementation of methods in ExpressionVariableListBase. | |
lldb::ExpressionVariableSP | GetVariableAtIndex (size_t index) |
size_t | AddVariable (const lldb::ExpressionVariableSP &var_sp) |
lldb::ExpressionVariableSP | AddNewlyConstructedVariable (ExpressionVariable *var) |
bool | ContainsVariable (const lldb::ExpressionVariableSP &var_sp) |
lldb::ExpressionVariableSP | GetVariable (ConstString name) |
Finds a variable by name in the list. | |
lldb::ExpressionVariableSP | GetVariable (llvm::StringRef name) |
void | RemoveVariable (lldb::ExpressionVariableSP var_sp) |
void | Clear () |
Static Public Attributes | |
static char | ID |
LLVM RTTI support. | |
Protected Member Functions | |
virtual llvm::StringRef | GetPersistentVariablePrefix (bool is_error=false) const =0 |
Private Types | |
typedef std::set< lldb::IRExecutionUnitSP > | ExecutionUnitSet |
typedef llvm::DenseMap< const char *, lldb::addr_t > | SymbolMap |
Private Attributes | |
ExecutionUnitSet | m_execution_units |
The execution units that contain valuable symbols. | |
SymbolMap | m_symbol_map |
The addresses of the symbols in m_execution_units. | |
Definition at line 203 of file ExpressionVariable.h.
|
private |
Definition at line 241 of file ExpressionVariable.h.
|
private |
Definition at line 245 of file ExpressionVariable.h.
|
default |
|
virtualdefault |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
Return a new persistent variable name with the specified prefix.
Referenced by EntityResultVariable::Dematerialize(), lldb_private::ABI::GetReturnValueObject(), and lldb_private::ValueObject::Persist().
|
protectedpure virtual |
|
virtual |
Definition at line 41 of file ExpressionVariable.cpp.
References lldb_private::ConstString::GetCString(), LLDB_INVALID_ADDRESS, and m_symbol_map.
void PersistentExpressionState::RegisterExecutionUnit | ( | lldb::IRExecutionUnitSP & | execution_unit_sp | ) |
Definition at line 50 of file ExpressionVariable.cpp.
References lldb_private::Expressions, lldb_private::GetLog(), LLDB_INVALID_ADDRESS, LLDB_LOGF, m_execution_units, and m_symbol_map.
|
pure virtual |
|
static |
LLVM RTTI support.
Definition at line 208 of file ExpressionVariable.h.
|
private |
The execution units that contain valuable symbols.
Definition at line 243 of file ExpressionVariable.h.
Referenced by RegisterExecutionUnit().
|
private |
The addresses of the symbols in m_execution_units.
Definition at line 247 of file ExpressionVariable.h.
Referenced by LookupSymbol(), and RegisterExecutionUnit().