forked from OSchip/llvm-project
"source list -n" should use eFunctionNameTypeAuto not eFunctionNameTypeBase for the name lookup.
llvm-svn: 144199
This commit is contained in:
parent
0c7c931dbf
commit
aea81795a6
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue