Re-submit "[lldb] Filter DIEs based on qualified name where possible"

This reverts commit 967df65a36.

This fixes test/Shell/SymbolFile/NativePDB/find-functions.cpp. When
looking up functions with the PDB plugins, if we are looking for a
full function name, we should use `GetName` to populate the `name`
field instead of `GetLookupName` since `GetName` has the more
complete information.
This commit is contained in:
Alex Langford
2022-08-04 11:53:28 -07:00
parent 7d6017fd31
commit 1d2a62afaf
31 changed files with 243 additions and 149 deletions

View File

@@ -425,9 +425,8 @@ void ModuleList::FindFunctions(ConstString name,
std::lock_guard<std::recursive_mutex> guard(m_modules_mutex);
for (const ModuleSP &module_sp : m_modules) {
module_sp->FindFunctions(lookup_info.GetLookupName(),
CompilerDeclContext(),
lookup_info.GetNameTypeMask(), options, sc_list);
module_sp->FindFunctions(lookup_info, CompilerDeclContext(), options,
sc_list);
}
const size_t new_size = sc_list.GetSize();