summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/Utility/UnwindLLDB.cpp
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2012-10-12 17:34:26 +0000
committerJim Ingham <jingham@apple.com>2012-10-12 17:34:26 +0000
commit28eb57114d05dd100d9b4a56e0a00be85cd09e3b (patch)
tree61467023c9112981c8ff375d429b244c7b95c475 /lldb/source/Plugins/Process/Utility/UnwindLLDB.cpp
parente87f41f43e5d5dafa5794a1f78c849a774ea989a (diff)
downloadbcm5719-llvm-28eb57114d05dd100d9b4a56e0a00be85cd09e3b.tar.gz
bcm5719-llvm-28eb57114d05dd100d9b4a56e0a00be85cd09e3b.zip
Bunch of cleanups for warnings found by the llvm static analyzer.
llvm-svn: 165808
Diffstat (limited to 'lldb/source/Plugins/Process/Utility/UnwindLLDB.cpp')
-rw-r--r--lldb/source/Plugins/Process/Utility/UnwindLLDB.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/Utility/UnwindLLDB.cpp b/lldb/source/Plugins/Process/Utility/UnwindLLDB.cpp
index b993c95325c..5581496ab6b 100644
--- a/lldb/source/Plugins/Process/Utility/UnwindLLDB.cpp
+++ b/lldb/source/Plugins/Process/Utility/UnwindLLDB.cpp
@@ -175,7 +175,7 @@ UnwindLLDB::AddOneMoreFrame (ABI *abi)
{
if (m_frames.back()->cfa == cursor_sp->cfa)
goto unwind_done; // Infinite loop where the current cursor is the same as the previous one...
- else if (abi->StackUsesFrames())
+ else if (abi && abi->StackUsesFrames())
{
// We might have a CFA that is not using the frame pointer and
// we want to validate that the frame pointer is valid.
OpenPOWER on IntegriCloud