projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3dcc93
)
Harden against the process pointer being null - this seems like it shouldn't happen...
author
Enrico Granata
<egranata@apple.com>
Wed, 28 Jan 2015 19:23:51 +0000
(19:23 +0000)
committer
Enrico Granata
<egranata@apple.com>
Wed, 28 Jan 2015 19:23:51 +0000
(19:23 +0000)
Fixes rdar://
19599357
llvm-svn: 227350
lldb/source/DataFormatters/FormatManager.cpp
patch
|
blob
|
history
diff --git
a/lldb/source/DataFormatters/FormatManager.cpp
b/lldb/source/DataFormatters/FormatManager.cpp
index
01799ce
..
ae52b33
100644
(file)
--- a/
lldb/source/DataFormatters/FormatManager.cpp
+++ b/
lldb/source/DataFormatters/FormatManager.cpp
@@
-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;