[lldb][test] Fix lldb-test compile error

https://github.com/llvm/llvm-project/pull/82819 made the lookup here
ambiguous.
This commit is contained in:
David Spickett 2024-07-10 10:34:27 +00:00
parent a7b65836c4
commit 08ce14732d

View File

@ -509,8 +509,8 @@ Error opts::symbols::findFunctions(lldb_private::Module &Module) {
ContextOr->IsValid() ? *ContextOr : CompilerDeclContext();
List.Clear();
Module::LookupInfo lookup_info(ConstString(Name), getFunctionNameFlags(),
eLanguageTypeUnknown);
lldb_private::Module::LookupInfo lookup_info(
ConstString(Name), getFunctionNameFlags(), eLanguageTypeUnknown);
Symfile.FindFunctions(lookup_info, ContextPtr, true, List);
}
outs() << formatv("Found {0} functions:\n", List.GetSize());