/external/llvm-project/lldb/source/Symbol/ |
D | VariableList.cpp | 25 void VariableList::AddVariable(const VariableSP &var_sp) { in AddVariable() argument 26 m_variables.push_back(var_sp); in AddVariable() 29 bool VariableList::AddVariableIfUnique(const lldb::VariableSP &var_sp) { in AddVariableIfUnique() argument 30 if (FindVariableIndex(var_sp) == UINT32_MAX) { in AddVariableIfUnique() 31 m_variables.push_back(var_sp); in AddVariableIfUnique() 48 VariableSP var_sp; in GetVariableAtIndex() local 50 var_sp = m_variables[idx]; in GetVariableAtIndex() 51 return var_sp; in GetVariableAtIndex() 55 VariableSP var_sp; in RemoveVariableAtIndex() local 57 var_sp = m_variables[idx]; in RemoveVariableAtIndex() [all …]
|
D | Variable.cpp | 403 VariableSP var_sp(variable_list.GetVariableAtIndex(i)); in GetValuesForVariableExpressionPath() local 405 if (!var_sp) { in GetValuesForVariableExpressionPath() 410 ValueObjectVariable::Create(scope, var_sp)); in GetValuesForVariableExpressionPath() 425 var_sp->GetName().GetCString()); in GetValuesForVariableExpressionPath() 603 for (const VariableSP &var_sp : *variable_list) in PrivateAutoComplete() 604 request.AddCompletion(var_sp->GetName().AsCString()); in PrivateAutoComplete() 701 for (VariableSP var_sp : *variable_list) { in PrivateAutoComplete() 703 if (!var_sp) in PrivateAutoComplete() 706 llvm::StringRef variable_name = var_sp->GetName().GetStringRef(); in PrivateAutoComplete() 709 Type *variable_type = var_sp->GetType(); in PrivateAutoComplete()
|
D | Block.cpp | 409 for (const VariableSP &var_sp : *block_var_list) { in AppendBlockVariables() 410 if (filter(var_sp.get())) { in AppendBlockVariables() 412 variable_list->AddVariable(var_sp); in AppendBlockVariables()
|
/external/llvm-project/lldb/include/lldb/Expression/ |
D | ExpressionVariable.h | 126 lldb::ExpressionVariableSP var_sp; in GetVariableAtIndex() local 128 var_sp = m_variables[index]; in GetVariableAtIndex() 129 return var_sp; in GetVariableAtIndex() 132 size_t AddVariable(const lldb::ExpressionVariableSP &var_sp) { in AddVariable() argument 133 m_variables.push_back(var_sp); in AddVariable() 139 lldb::ExpressionVariableSP var_sp(var); in AddNewlyConstructedVariable() 140 m_variables.push_back(var_sp); in AddNewlyConstructedVariable() 144 bool ContainsVariable(const lldb::ExpressionVariableSP &var_sp) { in ContainsVariable() argument 147 if (m_variables[index].get() == var_sp.get()) in ContainsVariable() 162 lldb::ExpressionVariableSP var_sp; in GetVariable() local [all …]
|
/external/llvm-project/lldb/source/Commands/ |
D | CommandObjectFrame.cpp | 461 llvm::StringRef GetScopeString(VariableSP var_sp) { in GetScopeString() argument 462 if (!var_sp) in GetScopeString() 465 switch (var_sp->GetScope()) { in GetScopeString() 497 VariableSP var_sp; in DoExecute() local 542 var_sp = regex_var_list.GetVariableAtIndex(regex_idx); in DoExecute() 543 if (var_sp) { in DoExecute() 545 var_sp, m_varobj_options.use_dynamic); in DoExecute() 549 scope_string = GetScopeString(var_sp).str(); in DoExecute() 555 var_sp->GetDeclaration().GetFile()) { in DoExecute() 558 if (var_sp->DumpDeclaration(&s, show_fullpaths, in DoExecute() [all …]
|
D | CommandObjectWatchpoint.cpp | 913 VariableSP var_sp; in DoExecute() local 932 var_sp, error); in DoExecute() 983 if (var_sp && var_sp->GetDeclaration().GetFile()) { in DoExecute() 986 var_sp->GetDeclaration().DumpStopContext(&ss, true); in DoExecute()
|
D | CommandObjectTarget.cpp | 748 void DumpValueObject(Stream &s, VariableSP &var_sp, ValueObjectSP &valobj_sp, in DumpValueObject() argument 756 switch (var_sp->GetScope()) { in DumpValueObject() 789 if (var_sp->DumpDeclaration(&s, show_fullpaths, show_module)) in DumpValueObject() 832 for (VariableSP var_sp : variable_list) { in DumpGlobalVariableList() local 833 if (!var_sp) in DumpGlobalVariableList() 836 exe_ctx.GetBestExecutionContextScope(), var_sp)); in DumpGlobalVariableList() 839 DumpValueObject(s, var_sp, valobj_sp, var_sp->GetName().GetCString()); in DumpGlobalVariableList() 882 VariableSP var_sp(variable_list.GetVariableAtIndex(global_idx)); in DoExecute() local 883 if (var_sp) { in DoExecute() 888 m_exe_ctx.GetBestExecutionContextScope(), var_sp); in DoExecute() [all …]
|
/external/llvm-project/lldb/include/lldb/Symbol/ |
D | VariableList.h | 27 void AddVariable(const lldb::VariableSP &var_sp); 29 bool AddVariableIfUnique(const lldb::VariableSP &var_sp); 48 uint32_t FindVariableIndex(const lldb::VariableSP &var_sp);
|
/external/llvm-project/lldb/source/Core/ |
D | ValueObjectVariable.cpp | 52 const lldb::VariableSP &var_sp) { in Create() argument 54 return (new ValueObjectVariable(exe_scope, *manager_sp, var_sp))->GetSP(); in Create() 59 const lldb::VariableSP &var_sp) in ValueObjectVariable() argument 60 : ValueObject(exe_scope, manager), m_variable_sp(var_sp) { in ValueObjectVariable() 63 m_name = var_sp->GetName(); in ValueObjectVariable()
|
D | Address.cpp | 715 for (const VariableSP &var_sp : variable_list) { in Dump() local 716 if (var_sp && var_sp->LocationIsValidForAddress(*this)) { in Dump() 719 var_sp->GetID(), var_sp->GetName().GetCString()); in Dump() 720 Type *type = var_sp->GetType(); in Dump() 726 var_sp->DumpLocationForAddress(s, *this); in Dump() 728 var_sp->GetDeclaration().DumpStopContext(s, false); in Dump()
|
D | FormatEntity.cpp | 1688 VariableSP var_sp(args.GetVariableAtIndex(arg_idx)); in Format() local 1690 ValueObjectVariable::Create(exe_scope, var_sp)); in Format()
|
/external/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
D | ClangExpressionVariable.h | 85 lldb::ExpressionVariableSP var_sp; in FindVariableInList() local 87 var_sp = list.GetVariableAtIndex(index); in FindVariableInList() 90 llvm::dyn_cast<ClangExpressionVariable>(var_sp.get())) { in FindVariableInList()
|
D | ClangExpressionSourceCode.cpp | 270 lldb::VariableSP var_sp = var_list_sp->GetVariableAtIndex(i); in AddLocalVariableDecls() local 272 ConstString var_name = var_sp->GetName(); in AddLocalVariableDecls()
|
D | ClangExpressionDeclMap.cpp | 139 ExpressionVariableSP var_sp( in DidParse() local 141 if (var_sp) in DidParse() 142 llvm::cast<ClangExpressionVariable>(var_sp.get()) in DidParse() 387 ExpressionVariableSP var_sp(var->shared_from_this()); in AddValueToStruct() local 389 var_sp, nullptr, err); in AddValueToStruct()
|
/external/llvm-project/lldb/include/lldb/Core/ |
D | ValueObjectVariable.h | 38 const lldb::VariableSP &var_sp); 83 const lldb::VariableSP &var_sp);
|
/external/llvm-project/lldb/source/Target/ |
D | StackFrame.cpp | 490 VariableSP &var_sp, Status &error) { in GetValueForVariableExpressionPath() argument 538 var_sp = variable_list->FindVariable(name_const_string, false); in GetValueForVariableExpressionPath() 542 if (var_sp) { in GetValueForVariableExpressionPath() 546 if (!var_sp && (options & eExpressionPathOptionsAllowDirectIVarAccess)) { in GetValueForVariableExpressionPath() 556 var_sp = variable_list->FindVariable(method_object_name); in GetValueForVariableExpressionPath() 557 if (var_sp) { in GetValueForVariableExpressionPath() 568 if (!var_sp && (options & eExpressionPathOptionsInspectAnonymousUnions)) { in GetValueForVariableExpressionPath() 592 if (var_sp && !valobj_sp) { in GetValueForVariableExpressionPath() 593 valobj_sp = GetValueObjectForFrameVariable(var_sp, use_dynamic); in GetValueForVariableExpressionPath() 1520 for (VariableSP var_sp : variables) { in DoGuessValueAt() local [all …]
|
/external/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/ |
D | SymbolFileDWARF.cpp | 1781 VariableSP var_sp = globals_sp->GetVariableAtIndex(g); in GetGlobalAranges() local 1782 if (var_sp && !var_sp->GetLocationIsConstantValueData()) { in GetGlobalAranges() 1783 const DWARFExpression &location = var_sp->LocationExpression(); in GetGlobalAranges() 1793 if (var_sp->GetType()) in GetGlobalAranges() 1795 var_sp->GetType()->GetByteSize(nullptr).getValueOr(0); in GetGlobalAranges() 1797 file_addr, byte_size, var_sp.get())); in GetGlobalAranges() 2143 VariableSP var_sp = variables.GetVariableAtIndex(pruned_idx); in FindGlobalVariables() local 2145 var_sp->GetName().GetStringRef().contains(name.GetStringRef())) in FindGlobalVariables() 3075 VariableSP var_sp( in ParseVariablesForContext() local 3077 if (var_sp) { in ParseVariablesForContext() [all …]
|
/external/llvm-project/lldb/source/Expression/ |
D | UserExpression.cpp | 116 lldb::VariableSP var_sp; in GetObjectPointer() local 125 var_sp, err); in GetObjectPointer()
|
/external/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/ |
D | SymbolFileNativePDB.cpp | 794 VariableSP var_sp = std::make_shared<Variable>( in CreateGlobalVariable() local 799 return var_sp; in CreateGlobalVariable() 825 VariableSP var_sp = std::make_shared<Variable>( in CreateConstantSymbol() local 829 return var_sp; in CreateConstantSymbol() 1334 VariableSP var_sp = std::make_shared<Variable>( in CreateLocalVariable() local 1342 m_local_variables[toOpaqueUid(var_id)] = var_sp; in CreateLocalVariable() 1343 return var_sp; in CreateLocalVariable()
|
/external/llvm-project/lldb/source/Plugins/SymbolFile/PDB/ |
D | SymbolFilePDB.cpp | 914 VariableSP var_sp; in ParseVariableForPDBData() local 1019 var_sp = std::make_shared<Variable>( in ParseVariableForPDBData() 1024 m_variables.insert(std::make_pair(var_uid, var_sp)); in ParseVariableForPDBData() 1025 return var_sp; in ParseVariableForPDBData() 1077 if (auto var_sp = ParseVariableForPDBData(sc, *pdb_data)) { in ParseVariables() local 1078 local_variable_list_sp->AddVariableIfUnique(var_sp); in ParseVariables() 1080 variable_list->AddVariableIfUnique(var_sp); in ParseVariables()
|
/external/llvm-project/lldb/include/lldb/Target/ |
D | StackFrame.h | 288 uint32_t options, lldb::VariableSP &var_sp, Status &error);
|
/external/llvm-project/lldb/source/API/ |
D | SBModule.cpp | 421 for (const VariableSP &var_sp : variable_list) { in FindGlobalVariables() local 424 valobj_sp = ValueObjectVariable::Create(target_sp.get(), var_sp); in FindGlobalVariables()
|
D | SBFrame.cpp | 486 VariableSP var_sp; in GetValueForVariablePath() local 492 var_sp, error)); in GetValueForVariablePath() 523 VariableSP var_sp; in FindVariable() local
|
D | SBTarget.cpp | 1958 for (const VariableSP &var_sp : variable_list) { in FindGlobalVariables() local 1960 ValueObjectVariable::Create(exe_scope, var_sp)); in FindGlobalVariables() 2004 for (const VariableSP &var_sp : variable_list) { in FindGlobalVariables() local 2006 ValueObjectVariable::Create(exe_scope, var_sp)); in FindGlobalVariables()
|
/external/llvm-project/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/ |
D | RenderScriptRuntime.cpp | 2253 for (const VariableSP &var_sp : var_list) { in FindStructTypeName() local 2254 if (!var_sp) in FindStructTypeName() 2257 ValueObjectSP valobj_sp = ValueObjectVariable::Create(frame_ptr, var_sp); in FindStructTypeName() 3560 VariableSP var_sp; in GetFrameVarAsUnsigned() local 3567 var_sp, err)); in GetFrameVarAsUnsigned()
|