LLDB mainline
|
#include <VariableList.h>
Public Types | |
typedef collection::iterator | iterator |
typedef collection::const_iterator | const_iterator |
Protected Attributes | |
collection | m_variables |
Private Types | |
typedef std::vector< lldb::VariableSP > | collection |
Private Member Functions | |
VariableList (const VariableList &)=delete | |
const VariableList & | operator= (const VariableList &)=delete |
Definition at line 18 of file VariableList.h.
|
private |
Definition at line 19 of file VariableList.h.
typedef collection::const_iterator lldb_private::VariableList::const_iterator |
Definition at line 74 of file VariableList.h.
typedef collection::iterator lldb_private::VariableList::iterator |
Definition at line 73 of file VariableList.h.
VariableList::VariableList | ( | ) |
Definition at line 20 of file VariableList.cpp.
References m_variables.
Referenced by AddVariables(), AppendVariablesIfUnique(), AppendVariablesIfUnique(), AppendVariablesWithScope(), MemorySize(), operator=(), operator=(), VariableList(), and VariableList().
|
virtualdefault |
|
default |
References VariableList().
|
privatedelete |
References VariableList().
void VariableList::AddVariable | ( | const lldb::VariableSP & | var_sp | ) |
Definition at line 25 of file VariableList.cpp.
References m_variables.
Referenced by lldb_private::Block::AppendBlockVariables(), lldb_private::Block::AppendVariables(), AppendVariablesWithScope(), lldb_private::npdb::SymbolFileNativePDB::FindGlobalVariables(), lldb_private::SymbolFileCTF::FindGlobalVariables(), lldb_private::SymbolFileCTF::FindGlobalVariables(), and lldb_private::npdb::SymbolFileNativePDB::ParseVariablesForCompileUnit().
bool VariableList::AddVariableIfUnique | ( | const lldb::VariableSP & | var_sp | ) |
Definition at line 29 of file VariableList.cpp.
References FindVariableIndex(), m_variables, and UINT32_MAX.
Referenced by AppendVariablesIfUnique(), AppendVariablesIfUnique(), AppendVariablesWithScope(), lldb_private::plugin::dwarf::SymbolFileDWARF::ParseAndAppendGlobalVariable(), SymbolFilePDB::ParseVariables(), and lldb_private::plugin::dwarf::SymbolFileDWARF::PopulateBlockVariableList().
void VariableList::AddVariables | ( | VariableList * | variable_list | ) |
Definition at line 37 of file VariableList.cpp.
References m_variables, and VariableList().
size_t VariableList::AppendVariablesIfUnique | ( | const RegularExpression & | regex, |
VariableList & | var_list, | ||
size_t & | total_matches ) |
Definition at line 111 of file VariableList.cpp.
References AddVariableIfUnique(), end(), GetSize(), m_variables, and VariableList().
size_t VariableList::AppendVariablesIfUnique | ( | VariableList & | var_list | ) |
Definition at line 103 of file VariableList.cpp.
References AddVariableIfUnique(), end(), GetSize(), m_variables, and VariableList().
Referenced by lldb::SBFrame::FindValue().
size_t VariableList::AppendVariablesWithScope | ( | lldb::ValueType | type, |
VariableList & | var_list, | ||
bool | if_unique = true ) |
Definition at line 128 of file VariableList.cpp.
References AddVariable(), AddVariableIfUnique(), end(), GetSize(), m_variables, and VariableList().
Referenced by lldb::SBFunction::GetArgumentName(), lldb_private::CPlusPlusLanguage::HandleFrameFormatVariable(), PrintFunctionNameWithArgs(), and PrintFunctionNameWithArgs().
|
inline |
Definition at line 76 of file VariableList.h.
References m_variables.
Referenced by FindIndexForVariable().
|
inline |
Definition at line 78 of file VariableList.h.
References m_variables.
void VariableList::Clear | ( | ) |
Definition at line 45 of file VariableList.cpp.
References m_variables.
Referenced by lldb_private::Variable::GetValuesForVariableExpressionPath().
Definition at line 167 of file VariableList.cpp.
References end(), and m_variables.
|
inline |
Definition at line 71 of file VariableList.h.
References m_variables.
Referenced by CommandObjectTargetVariable::DumpGlobalVariableList(), lldb::SBTarget::FindGlobalVariables(), lldb::SBTarget::FindGlobalVariables(), and lldb_private::dil::LookupGlobalIdentifier().
|
inline |
Definition at line 77 of file VariableList.h.
References m_variables.
Referenced by AppendVariablesIfUnique(), AppendVariablesIfUnique(), AppendVariablesWithScope(), Dump(), FindIndexForVariable(), FindVariable(), FindVariable(), FindVariableIndex(), and MemorySize().
|
inline |
Definition at line 79 of file VariableList.h.
References m_variables.
uint32_t VariableList::FindIndexForVariable | ( | Variable * | variable | ) |
Definition at line 145 of file VariableList.cpp.
References begin(), end(), m_variables, and UINT32_MAX.
Referenced by lldb_private::StackFrame::GetValueObjectForFrameVariable().
VariableSP VariableList::FindVariable | ( | ConstString | name, |
bool | include_static_members = true ) |
Definition at line 72 of file VariableList.cpp.
References end(), and m_variables.
Referenced by lldb::SBFrame::FindValue(), lldb_private::StackFrame::FindVariable(), lldb_private::StackFrame::LegacyGetValueForVariableExpressionPath(), lldb_private::ClangExpressionDeclMap::LookUpLldbClass(), and lldb_private::ClangExpressionDeclMap::LookUpLldbObjCClass().
VariableSP VariableList::FindVariable | ( | ConstString | name, |
lldb::ValueType | value_type, | ||
bool | include_static_members = true ) |
Definition at line 87 of file VariableList.cpp.
References end(), and m_variables.
uint32_t VariableList::FindVariableIndex | ( | const lldb::VariableSP & | var_sp | ) |
Definition at line 63 of file VariableList.cpp.
References end(), m_variables, and UINT32_MAX.
Referenced by AddVariableIfUnique().
size_t VariableList::GetSize | ( | ) | const |
Definition at line 165 of file VariableList.cpp.
References m_variables.
Referenced by lldb_private::VariableAnnotator::annotate(), AppendVariablesIfUnique(), AppendVariablesIfUnique(), AppendVariablesWithScope(), CommandObjectTargetVariable::DoExecute(), lldb_private::ClangExpressionDeclMap::FindGlobalVariable(), lldb_private::plugin::dwarf::SymbolFileDWARF::FindGlobalVariables(), lldb_private::plugin::dwarf::SymbolFileDWARF::FindGlobalVariables(), lldb_private::plugin::dwarf::SymbolFileDWARFDebugMap::FindGlobalVariables(), lldb_private::plugin::dwarf::SymbolFileDWARFDebugMap::FindGlobalVariables(), SymbolFilePDB::FindGlobalVariables(), SymbolFilePDB::FindGlobalVariables(), GetSymbolDeclarationFromAddress(), lldb_private::StackFrame::GetValueObjectForFrameVariable(), lldb_private::Variable::GetValuesForVariableExpressionPath(), CommandObjectTargetVariable::GetVariableCallback(), lldb::SBFrame::GetVariables(), lldb_private::npdb::SymbolFileNativePDB::ParseVariablesForCompileUnit(), lldb_private::FormatEntity::PrettyPrintFunctionArguments(), PrintFunctionNameWithArgs(), PrintFunctionNameWithArgs(), and lldb_private::plugin::dwarf::SymbolFileDWARFDebugMap::PrivateFindGlobalVariables().
VariableSP VariableList::GetVariableAtIndex | ( | size_t | idx | ) | const |
Definition at line 47 of file VariableList.cpp.
References m_variables.
Referenced by lldb_private::VariableAnnotator::annotate(), CommandObjectTargetVariable::DoExecute(), lldb_private::ClangExpressionDeclMap::FindGlobalVariable(), lldb_private::plugin::dwarf::SymbolFileDWARF::FindGlobalVariables(), lldb::SBFunction::GetArgumentName(), GetSymbolDeclarationFromAddress(), lldb_private::Variable::GetValuesForVariableExpressionPath(), and lldb_private::FormatEntity::PrettyPrintFunctionArguments().
size_t VariableList::MemorySize | ( | ) | const |
Definition at line 157 of file VariableList.cpp.
References end(), m_variables, and VariableList().
|
privatedelete |
References VariableList().
|
default |
References VariableList().
VariableSP VariableList::RemoveVariableAtIndex | ( | size_t | idx | ) |
Definition at line 54 of file VariableList.cpp.
References m_variables.
Referenced by lldb_private::plugin::dwarf::SymbolFileDWARF::FindGlobalVariables(), and lldb_private::Variable::GetValuesForVariableExpressionPath().
|
inline |
Definition at line 81 of file VariableList.h.
References m_variables.
|
protected |
Definition at line 86 of file VariableList.h.
Referenced by AddVariable(), AddVariableIfUnique(), AddVariables(), AppendVariablesIfUnique(), AppendVariablesIfUnique(), AppendVariablesWithScope(), begin(), begin(), Clear(), Dump(), Empty(), end(), end(), FindIndexForVariable(), FindVariable(), FindVariable(), FindVariableIndex(), GetSize(), GetVariableAtIndex(), MemorySize(), RemoveVariableAtIndex(), toArrayRef(), and VariableList().