Changeset View
Changeset View
Standalone View
Standalone View
source/Expression/IRExecutionUnit.cpp
Show First 20 Lines • Show All 652 Lines • ▼ Show 20 Lines | FindBestAlternateMangledName(ConstString demangled, | ||||
std::string scope_qualified_name = cpp_name.GetScopeQualifiedName(); | std::string scope_qualified_name = cpp_name.GetScopeQualifiedName(); | ||||
if (!scope_qualified_name.size()) | if (!scope_qualified_name.size()) | ||||
return ConstString(); | return ConstString(); | ||||
if (!sym_ctx.module_sp) | if (!sym_ctx.module_sp) | ||||
return ConstString(); | return ConstString(); | ||||
SymbolVendor *sym_vendor = sym_ctx.module_sp->GetSymbolVendor(); | lldb_private::SymbolFile *sym_file = sym_ctx.module_sp->GetSymbolFile(); | ||||
if (!sym_vendor) | |||||
return ConstString(); | |||||
lldb_private::SymbolFile *sym_file = sym_vendor->GetSymbolFile(); | |||||
if (!sym_file) | if (!sym_file) | ||||
return ConstString(); | return ConstString(); | ||||
std::vector<ConstString> alternates; | std::vector<ConstString> alternates; | ||||
sym_file->GetMangledNamesForFunction(scope_qualified_name, alternates); | sym_file->GetMangledNamesForFunction(scope_qualified_name, alternates); | ||||
std::vector<ConstString> param_and_qual_matches; | std::vector<ConstString> param_and_qual_matches; | ||||
std::vector<ConstString> param_matches; | std::vector<ConstString> param_matches; | ||||
▲ Show 20 Lines • Show All 599 Lines • Show Last 20 Lines |