diff --git a/lldb/source/Plugins/Platform/MacOSX/PlatformiOSSimulator.cpp b/lldb/source/Plugins/Platform/MacOSX/PlatformiOSSimulator.cpp index 07ef32fdc9a4..900322596037 100644 --- a/lldb/source/Plugins/Platform/MacOSX/PlatformiOSSimulator.cpp +++ b/lldb/source/Plugins/Platform/MacOSX/PlatformiOSSimulator.cpp @@ -207,7 +207,7 @@ PlatformiOSSimulator::ResolveExecutable (const FileSpec &exe_file, NULL, NULL); - if (exe_module_sp->GetObjectFile()) + if (exe_module_sp && exe_module_sp->GetObjectFile()) return error; exe_module_sp.reset(); } @@ -411,14 +411,6 @@ PlatformiOSSimulator::FindProcesses (const ProcessInstanceInfoMatch &match_info, return 0; } -bool -PlatformiOSSimulator::GetProcessInfo (lldb::pid_t pid, ProcessInstanceInfo &process_info) -{ - // TODO: if connected, send a packet to get the remote process info - process_info.Clear(); - return false; -} - bool PlatformiOSSimulator::GetSupportedArchitectureAtIndex (uint32_t idx, ArchSpec &arch) {