Adapt lldb to a40db5502b
The bots just told me about a place in LLDB I missed in
a40db5502b
when changing
`HeaderSearch::LoadedModuleMaps`, but I think this will fix it.
This commit is contained in:
parent
b61f288a58
commit
d636b881bb
|
@ -278,10 +278,10 @@ bool ClangModulesDeclVendorImpl::AddModule(const SourceModule &module,
|
|||
HS.getFileMgr().getDirectory(module.search_path.GetStringRef());
|
||||
if (!dir)
|
||||
return error();
|
||||
auto *file = HS.lookupModuleMapFile(*dir, is_framework);
|
||||
auto file = HS.lookupModuleMapFile(*dir, is_framework);
|
||||
if (!file)
|
||||
return error();
|
||||
if (!HS.loadModuleMapFile(file, is_system))
|
||||
if (!HS.loadModuleMapFile(*file, is_system))
|
||||
return error();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue