[Lldb-commits] [lldb] r151677 - /lldb/trunk/source/Plugins/Platform/MacOSX/PlatformRemoteiOS.cpp
Han Ming Ong
hanming at apple.com
Tue Feb 28 16:08:13 PST 2012
Author: hanming
Date: Tue Feb 28 18:08:13 2012
New Revision: 151677
URL: http://llvm.org/viewvc/llvm-project?rev=151677&view=rev
Log:
Fixed a crasher for remote device debugging.
Modified:
lldb/trunk/source/Plugins/Platform/MacOSX/PlatformRemoteiOS.cpp
Modified: lldb/trunk/source/Plugins/Platform/MacOSX/PlatformRemoteiOS.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Platform/MacOSX/PlatformRemoteiOS.cpp?rev=151677&r1=151676&r2=151677&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Platform/MacOSX/PlatformRemoteiOS.cpp (original)
+++ lldb/trunk/source/Plugins/Platform/MacOSX/PlatformRemoteiOS.cpp Tue Feb 28 18:08:13 2012
@@ -149,7 +149,7 @@
NULL,
NULL);
- if (exe_module_sp->GetObjectFile())
+ if (exe_module_sp && exe_module_sp->GetObjectFile())
return error;
exe_module_sp.reset();
}
More information about the lldb-commits
mailing list