Home | History | Annotate | Download | only in Symbol

Lines Matching full:variable

1 //===-- Variable.cpp --------------------------------------------*- C++ -*-===//
10 #include "lldb/Symbol/Variable.h"
33 // Variable constructor
35 Variable::Variable
39 const char *mangled, // The mangled variable name for variables in namespaces
64 Variable::~Variable()
70 Variable::GetName() const
78 Variable::NameMatches (const RegularExpression& regex) const
86 Variable::GetType()
94 Variable::Dump(Stream *s, bool show_context) const
98 *s << "Variable" << (const UserID&)*this;
167 Variable::DumpDeclaration (Stream *s, bool show_fullpaths, bool show_module)
194 Variable::MemorySize() const
196 return sizeof(Variable);
201 Variable::CalculateSymbolContext (SymbolContext *sc)
210 Variable::LocationIsValidForFrame (StackFrame *frame)
212 // Is the variable is described by a single location?
240 Variable::LocationIsValidForAddress (const Address &address)
250 // Is the variable is described by a single location?
274 Variable::IsInScope (StackFrame *frame)
292 // that this variable was defined in is currently
298 // Check for static or global variable defined at the compile unit
317 Variable::GetValuesForVariableExpressionPath (const char *variable_expr_path,
331 error = Variable::GetValuesForVariableExpressionPath (variable_expr_path + 1,
365 error = Variable::GetValuesForVariableExpressionPath (variable_expr_path + 1,
436 error.SetErrorStringWithFormat ("invalid expression path '%s' for variable '%s'",
443 // Just the name of a variable with no extras
468 error.SetErrorStringWithFormat ("unable to extract a variable name from '%s'", variable_expr_path);
478 Variable::DumpLocationForAddress (Stream *s, const Address &address)
690 Variable *variable = variable_list->GetVariableAtIndex(i).get();
691 matches.AppendString (variable->GetName().AsCString());
827 // We haven't found our variable yet
835 Variable *variable = variable_list->GetVariableAtIndex(i).get();
836 const char *variable_name = variable->GetName().AsCString();
841 Type *variable_type = variable->GetType();
873 Variable::AutoComplete (const ExecutionContext &exe_ctx,