mirror of
https://github.com/intel/llvm.git
synced 2026-01-16 21:55:39 +08:00
Harden against the process pointer being null - this seems like it shouldn't happen, except it did - by a user stopping the debugger while the variables view was refreshing
Fixes rdar://19599357 llvm-svn: 227350
This commit is contained in:
@@ -251,6 +251,8 @@ FormatManager::GetPossibleMatches (ValueObject& valobj,
|
||||
do
|
||||
{
|
||||
lldb::ProcessSP process_sp = valobj.GetProcessSP();
|
||||
if (!process_sp)
|
||||
break;
|
||||
ObjCLanguageRuntime* runtime = process_sp->GetObjCLanguageRuntime();
|
||||
if (runtime == nullptr)
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user