mirror of
https://github.com/intel/llvm.git
synced 2026-02-01 17:07:36 +08:00
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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user