<rdar://problem/8196933>
Use the metadata in the dSYM bundle Info.plist to remap source paths when they keys are available. llvm-svn: 152836
This commit is contained in:
@@ -372,6 +372,21 @@ ModuleList::FindTypes (const SymbolContext& sc, const ConstString &name, bool ap
|
||||
return total_matches;
|
||||
}
|
||||
|
||||
bool
|
||||
ModuleList::FindSourceFile (const FileSpec &orig_spec, FileSpec &new_spec) const
|
||||
{
|
||||
Mutex::Locker locker(m_modules_mutex);
|
||||
collection::const_iterator pos, end = m_modules.end();
|
||||
for (pos = m_modules.begin(); pos != end; ++pos)
|
||||
{
|
||||
if ((*pos)->FindSourceFile (orig_spec, new_spec))
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
ModuleSP
|
||||
ModuleList::FindFirstModule (const ModuleSpec &module_spec)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user