[Lldb-commits] [lldb] r190823 - Fixed a crasher where the remote platform was NULL and was being used.
Greg Clayton
gclayton at apple.com
Mon Sep 16 16:54:50 PDT 2013
Author: gclayton
Date: Mon Sep 16 18:54:50 2013
New Revision: 190823
URL: http://llvm.org/viewvc/llvm-project?rev=190823&view=rev
Log:
Fixed a crasher where the remote platform was NULL and was being used.
Modified:
lldb/trunk/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
Modified: lldb/trunk/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp?rev=190823&r1=190822&r2=190823&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp (original)
+++ lldb/trunk/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp Mon Sep 16 18:54:50 2013
@@ -348,6 +348,7 @@ PlatformDarwin::GetSharedModuleWithLocal
if (module_cache_spec.Exists())
{
// get the local and remote MD5 and compare
+ if (m_remote_platform_sp)
{
// when going over the *slow* GDB remote transfer mechanism we first check
// the hashes of the files - and only do the actual transfer if they differ
More information about the lldb-commits
mailing list