"source list -n" should use eFunctionNameTypeAuto not eFunctionNameTypeBase for the name lookup.

llvm-svn: 144199
This commit is contained in:
Jim Ingham 2011-11-09 19:02:04 +00:00
parent 0c7c931dbf
commit aea81795a6
1 changed files with 2 additions and 2 deletions

View File

@ -311,13 +311,13 @@ public:
{
matching_modules.Clear();
target->GetImages().FindModules (&module_spec, NULL, NULL, NULL, matching_modules);
num_matches += matching_modules.FindFunctions (name, eFunctionNameTypeBase, include_symbols, append, sc_list);
num_matches += matching_modules.FindFunctions (name, eFunctionNameTypeAuto, include_symbols, append, sc_list);
}
}
}
else
{
num_matches = target->GetImages().FindFunctions (name, eFunctionNameTypeBase, include_symbols, append, sc_list);
num_matches = target->GetImages().FindFunctions (name, eFunctionNameTypeAuto, include_symbols, append, sc_list);
}
SymbolContext sc;