Home
last modified time | relevance | path

Searched refs:var_sp (Results 1 – 17 of 17) sorted by relevance

/external/lldb/include/lldb/Expression/
DClangExpressionVariable.h296 lldb::ClangExpressionVariableSP var_sp; in GetVariableAtIndex() local
298 var_sp = m_variables[index]; in GetVariableAtIndex()
299 return var_sp; in GetVariableAtIndex()
303 AddVariable (const lldb::ClangExpressionVariableSP &var_sp) in AddVariable() argument
305 m_variables.push_back(var_sp); in AddVariable()
310 ContainsVariable (const lldb::ClangExpressionVariableSP &var_sp) in ContainsVariable() argument
315 if (m_variables[index].get() == var_sp.get()) in ContainsVariable()
333 lldb::ClangExpressionVariableSP var_sp; in GetVariable() local
336 var_sp = GetVariableAtIndex(index); in GetVariable()
337 if (var_sp->GetName() == name) in GetVariable()
[all …]
/external/lldb/source/Symbol/
DVariableList.cpp36 VariableList::AddVariable(const VariableSP &var_sp) in AddVariable() argument
38 m_variables.push_back(var_sp); in AddVariable()
42 VariableList::AddVariableIfUnique (const lldb::VariableSP &var_sp) in AddVariableIfUnique() argument
44 if (FindVariableIndex (var_sp) == UINT32_MAX) in AddVariableIfUnique()
46 m_variables.push_back(var_sp); in AddVariableIfUnique()
72 VariableSP var_sp; in GetVariableAtIndex() local
74 var_sp = m_variables[idx]; in GetVariableAtIndex()
75 return var_sp; in GetVariableAtIndex()
81 VariableSP var_sp; in RemoveVariableAtIndex() local
84 var_sp = m_variables[idx]; in RemoveVariableAtIndex()
[all …]
DVariable.cpp412 VariableSP var_sp (variable_list.GetVariableAtIndex (i)); in GetValuesForVariableExpressionPath() local
414 if (var_sp) in GetValuesForVariableExpressionPath()
416 … ValueObjectSP variable_valobj_sp(ValueObjectVariable::Create (scope, var_sp)); in GetValuesForVariableExpressionPath()
438var_sp->GetName().GetCString()); in GetValuesForVariableExpressionPath()
449 if (!var_sp || !valobj_sp) in GetValuesForVariableExpressionPath()
/external/lldb/source/Commands/
DCommandObjectFrame.cpp391 VariableSP var_sp; in DoExecute() local
434 var_sp = regex_var_list.GetVariableAtIndex (regex_idx); in DoExecute()
435 if (var_sp) in DoExecute()
437 … valobj_sp = frame->GetValueObjectForFrameVariable (var_sp, m_varobj_options.use_dynamic); in DoExecute()
443 … if (m_option_variable.show_decl && var_sp->GetDeclaration ().GetFile()) in DoExecute()
447 … if (var_sp->DumpDeclaration(&s, show_fullpaths, show_module)) in DoExecute()
476 lldb::VariableSP var_sp; in DoExecute() local
480 var_sp, in DoExecute()
486 … if (m_option_variable.show_decl && var_sp && var_sp->GetDeclaration ().GetFile()) in DoExecute()
488 var_sp->GetDeclaration ().DumpStopContext (&s, false); in DoExecute()
[all …]
DCommandObjectWatchpoint.cpp1013 VariableSP var_sp; in DoExecute() local
1032 var_sp, in DoExecute()
1088 if (var_sp && var_sp->GetDeclaration().GetFile()) in DoExecute()
1092 var_sp->GetDeclaration().DumpStopContext(&ss, true); in DoExecute()
DCommandObjectTarget.cpp651 DumpValueObject (Stream &s, VariableSP &var_sp, ValueObjectSP &valobj_sp, const char *root_name) in DumpValueObject() argument
655 switch (var_sp->GetScope()) in DumpValueObject()
685 if (var_sp->DumpDeclaration(&s, show_fullpaths, show_module)) in DumpValueObject()
755 VariableSP var_sp (variable_list.GetVariableAtIndex(i)); in DumpGlobalVariableList() local
756 if (var_sp) in DumpGlobalVariableList()
758 …eObjectSP valobj_sp (ValueObjectVariable::Create (exe_ctx.GetBestExecutionContextScope(), var_sp)); in DumpGlobalVariableList()
761 DumpValueObject (s, var_sp, valobj_sp, var_sp->GetName().GetCString()); in DumpGlobalVariableList()
821 VariableSP var_sp (variable_list.GetVariableAtIndex(global_idx)); in DoExecute() local
822 if (var_sp) in DoExecute()
826 … valobj_sp = ValueObjectVariable::Create (m_exe_ctx.GetBestExecutionContextScope(), var_sp); in DoExecute()
[all …]
/external/lldb/source/Expression/
DClangPersistentVariables.cpp30 ClangExpressionVariableSP var_sp (CreateVariable(valobj_sp)); in CreatePersistentVariable() local
31 return var_sp; in CreatePersistentVariable()
41 ClangExpressionVariableSP var_sp (GetVariable(name)); in CreatePersistentVariable() local
43 if (!var_sp) in CreatePersistentVariable()
44 var_sp = CreateVariable(exe_scope, name, user_type, byte_order, addr_byte_size); in CreatePersistentVariable()
46 return var_sp; in CreatePersistentVariable()
DClangExpressionDeclMap.cpp129 ClangExpressionVariableSP var_sp(m_found_entities.GetVariableAtIndex(entity_index)); in DidParse() local
130 if (var_sp) in DidParse()
131 var_sp->DisableParserVars(GetParserID()); in DidParse()
207 …ClangExpressionVariableSP var_sp = m_found_entities.CreateVariable(exe_ctx.GetBestExecutionContext… in AddPersistentVariable() local
213 if (!var_sp) in AddPersistentVariable()
216 var_sp->EnableParserVars(GetParserID()); in AddPersistentVariable()
218 ClangExpressionVariable::ParserVars *parser_vars = var_sp->GetParserVars(GetParserID()); in AddPersistentVariable()
223 var_sp->EnableJITVars(GetParserID()); in AddPersistentVariable()
225 ClangExpressionVariable::JITVars *jit_vars = var_sp->GetJITVars(GetParserID()); in AddPersistentVariable()
255 …ClangExpressionVariableSP var_sp = m_parser_vars->m_persistent_vars->CreatePersistentVariable (exe… in AddPersistentVariable() local
[all …]
DClangUserExpression.cpp574 lldb::VariableSP var_sp; in GetObjectPointer() local
584 var_sp, in GetObjectPointer()
/external/lldb/include/lldb/Symbol/
DVariableList.h30 AddVariable (const lldb::VariableSP &var_sp);
33 AddVariableIfUnique (const lldb::VariableSP &var_sp);
54 FindVariableIndex (const lldb::VariableSP &var_sp);
/external/lldb/source/Core/
DValueObjectVariable.cpp39 ValueObjectVariable::Create (ExecutionContextScope *exe_scope, const lldb::VariableSP &var_sp) in Create() argument
41 return (new ValueObjectVariable (exe_scope, var_sp))->GetSP(); in Create()
44 …tVariable::ValueObjectVariable (ExecutionContextScope *exe_scope, const lldb::VariableSP &var_sp) : in ValueObjectVariable() argument
46 m_variable_sp(var_sp) in ValueObjectVariable()
50 m_name = var_sp->GetName(); in ValueObjectVariable()
DDebugger.cpp2274 … VariableSP var_sp (args.GetVariableAtIndex (arg_idx)); in FormatPromptRecurse() local
2275 … ValueObjectSP var_value_sp (ValueObjectVariable::Create (exe_scope, var_sp)); in FormatPromptRecurse()
/external/lldb/include/lldb/Core/
DValueObjectVariable.h29 Create (ExecutionContextScope *exe_scope, const lldb::VariableSP &var_sp);
81 ValueObjectVariable (ExecutionContextScope *exe_scope, const lldb::VariableSP &var_sp);
/external/lldb/source/Target/
DStackFrame.cpp549 VariableSP &var_sp, in GetValueForVariableExpressionPath() argument
594 var_sp = variable_list->FindVariable(name_const_string); in GetValueForVariableExpressionPath()
598 if (var_sp) in GetValueForVariableExpressionPath()
614 var_sp = variable_list->FindVariable(method_object_name); in GetValueForVariableExpressionPath()
615 if (var_sp) in GetValueForVariableExpressionPath()
625 if (var_sp) in GetValueForVariableExpressionPath()
627 valobj_sp = GetValueObjectForFrameVariable (var_sp, use_dynamic); in GetValueForVariableExpressionPath()
/external/lldb/source/API/
DSBFrame.cpp692 VariableSP var_sp; in GetValueForVariablePath() local
697 var_sp, in GetValueForVariablePath()
736 VariableSP var_sp; in FindVariable() local
775 var_sp = variable_list.FindVariable (ConstString(name)); in FindVariable()
779 if (var_sp) in FindVariable()
781 value_sp = frame->GetValueObjectForFrameVariable(var_sp, eNoDynamicValues); in FindVariable()
/external/lldb/include/lldb/Target/
DStackFrame.h114 lldb::VariableSP &var_sp,
/external/lldb/source/Plugins/SymbolFile/DWARF/
DSymbolFileDWARF.cpp7194 … VariableSP var_sp (ParseVariableDIE(sc, dwarf_cu, die, LLDB_INVALID_ADDRESS)); in ParseVariablesForContext() local
7195 if (var_sp) in ParseVariablesForContext()
7197 variables->AddVariableIfUnique (var_sp); in ParseVariablesForContext()
7229 VariableSP var_sp (m_die_to_variable_sp[die]); in ParseVariableDIE() local
7230 if (var_sp) in ParseVariableDIE()
7231 return var_sp; // Already been parsed! in ParseVariableDIE()
7469 return var_sp; in ParseVariableDIE()
7503 var_sp.reset (new Variable (MakeUserID(die->GetOffset()), in ParseVariableDIE()
7514 var_sp->SetLocationIsConstantValueData (location_is_const_value_data); in ParseVariableDIE()
7521 return var_sp; in ParseVariableDIE()
[all …]