diff options
author | Stephane Sezer <sas@cd80.net> | 2015-03-23 18:15:07 +0000 |
---|---|---|
committer | Stephane Sezer <sas@cd80.net> | 2015-03-23 18:15:07 +0000 |
commit | 019b031c5c3c6a0f3fb0b76a44087f762a77bd07 (patch) | |
tree | ca238787111e25a97d89f590bbcf4ec0fd92caff /lldb/source/Commands/CommandObjectThread.cpp | |
parent | bd4da7a0ef84f544301474a9312453816bc7c39a (diff) | |
download | llvm-019b031c5c3c6a0f3fb0b76a44087f762a77bd07.zip llvm-019b031c5c3c6a0f3fb0b76a44087f762a77bd07.tar.gz llvm-019b031c5c3c6a0f3fb0b76a44087f762a77bd07.tar.bz2 |
Add a missing null pointer check in CommandObjectThread.cpp.
Reviewers: clayborg
Subscribers: lldb-commits
Differential Revision: http://reviews.llvm.org/D8554
llvm-svn: 232979
Diffstat (limited to 'lldb/source/Commands/CommandObjectThread.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectThread.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectThread.cpp b/lldb/source/Commands/CommandObjectThread.cpp index 9c36334..c55ff5c 100644 --- a/lldb/source/Commands/CommandObjectThread.cpp +++ b/lldb/source/Commands/CommandObjectThread.cpp @@ -581,7 +581,7 @@ protected: { StackFrame *frame = thread->GetStackFrameAtIndex(0).get(); - if (frame->HasDebugInformation ()) + if (frame && frame->HasDebugInformation ()) { new_plan_sp = thread->QueueThreadPlanForStepInRange (abort_other_plans, frame->GetSymbolContext(eSymbolContextEverything).line_entry.range, |