diff options
Diffstat (limited to 'lldb/source/Target/StopInfo.cpp')
| -rw-r--r-- | lldb/source/Target/StopInfo.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lldb/source/Target/StopInfo.cpp b/lldb/source/Target/StopInfo.cpp index 2479368011b..81b9d866f71 100644 --- a/lldb/source/Target/StopInfo.cpp +++ b/lldb/source/Target/StopInfo.cpp @@ -324,7 +324,10 @@ protected: if (!thread_sp->IsValid()) { // This shouldn't ever happen, but just in case, don't do more harm. - log->Printf ("PerformAction got called with an invalid thread."); + if (log) + { + log->Printf ("PerformAction got called with an invalid thread."); + } m_should_stop = true; m_should_stop_is_valid = true; return; |

