[Lldb-commits] [lldb] r217251 - Add error report when Module::GetObjectFile() fails to find a plugin to open an object file.
Todd Fiala
todd.fiala at gmail.com
Fri Sep 5 07:48:50 PDT 2014
Author: tfiala
Date: Fri Sep 5 09:48:49 2014
New Revision: 217251
URL: http://llvm.org/viewvc/llvm-project?rev=217251&view=rev
Log:
Add error report when Module::GetObjectFile() fails to find a plugin to open an object file.
Change by Stephane Sezer.
Modified:
lldb/trunk/source/Core/Module.cpp
Modified: lldb/trunk/source/Core/Module.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Core/Module.cpp?rev=217251&r1=217250&r2=217251&view=diff
==============================================================================
--- lldb/trunk/source/Core/Module.cpp (original)
+++ lldb/trunk/source/Core/Module.cpp Fri Sep 5 09:48:49 2014
@@ -1309,6 +1309,10 @@ Module::GetObjectFile()
// unknown.
m_objfile_sp->GetArchitecture (m_arch);
}
+ else
+ {
+ ReportError ("failed to load objfile for %s", GetFileSpec().GetPath().c_str());
+ }
}
}
return m_objfile_sp.get();
More information about the lldb-commits
mailing list