forked from OSchip/llvm-project
parent
7be93589c4
commit
9a0f124f26
|
@ -148,7 +148,7 @@ TypeSP DWARFASTParserClang::ParseTypeFromDWO(const DWARFDIE &die, Log *log) {
|
|||
die.GetDeclContext(decl_context);
|
||||
TypeMap dwo_types;
|
||||
|
||||
if (!dwo_module_sp->GetSymbolFile()->FindTypes({decl_context}, true,
|
||||
if (!dwo_module_sp->GetSymbolFile()->FindTypes(decl_context, true,
|
||||
dwo_types)) {
|
||||
if (!IsClangModuleFwdDecl(die))
|
||||
return TypeSP();
|
||||
|
@ -159,7 +159,7 @@ TypeSP DWARFASTParserClang::ParseTypeFromDWO(const DWARFDIE &die, Log *log) {
|
|||
for (const auto &name_module : sym_file.getExternalTypeModules()) {
|
||||
if (!name_module.second)
|
||||
continue;
|
||||
if (name_module.second->GetSymbolFile()->FindTypes({decl_context}, true,
|
||||
if (name_module.second->GetSymbolFile()->FindTypes(decl_context, true,
|
||||
dwo_types))
|
||||
break;
|
||||
}
|
||||
|
|
|
@ -513,7 +513,7 @@ Error opts::symbols::findTypes(lldb_private::Module &Module) {
|
|||
Symfile.FindTypes(ConstString(Name), ContextPtr, true, UINT32_MAX,
|
||||
SearchedFiles, Map);
|
||||
else
|
||||
Symfile.FindTypes({parseCompilerContext()}, true, Map);
|
||||
Symfile.FindTypes(parseCompilerContext(), true, Map);
|
||||
|
||||
outs() << formatv("Found {0} types:\n", Map.GetSize());
|
||||
StreamString Stream;
|
||||
|
|
Loading…
Reference in New Issue