Cleaned up the UUID mismatch just printing itself whenever it wants to by allowing an optional feedback stream to be passed along when getting the symbol vendor.

llvm-svn: 170174
This commit is contained in:
Greg Clayton
2012-12-14 02:15:00 +00:00
parent fff17252a1
commit 136dff8725
9 changed files with 34 additions and 29 deletions

View File

@@ -768,7 +768,7 @@ Module::FindTypes (const SymbolContext& sc,
//}
SymbolVendor*
Module::GetSymbolVendor (bool can_create)
Module::GetSymbolVendor (bool can_create, lldb_private::Stream *feedback_strm)
{
Mutex::Locker locker (m_mutex);
if (m_did_load_symbol_vendor == false && can_create)
@@ -777,7 +777,7 @@ Module::GetSymbolVendor (bool can_create)
if (obj_file != NULL)
{
Timer scoped_timer(__PRETTY_FUNCTION__, __PRETTY_FUNCTION__);
m_symfile_ap.reset(SymbolVendor::FindPlugin(shared_from_this()));
m_symfile_ap.reset(SymbolVendor::FindPlugin(shared_from_this(), feedback_strm));
m_did_load_symbol_vendor = true;
}
}