summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2014-06-13 22:04:15 +0000
committerJason Molenda <jmolenda@apple.com>2014-06-13 22:04:15 +0000
commitb51d5cd84f1002f6cd66ca27ee3651156a0b2f45 (patch)
tree98dd6b045652241ced4f5c6ad7427e6767824e1d
parentfc56a0123b32c98f69e2957efa827747513c08f3 (diff)
downloadbcm5719-llvm-b51d5cd84f1002f6cd66ca27ee3651156a0b2f45.tar.gz
bcm5719-llvm-b51d5cd84f1002f6cd66ca27ee3651156a0b2f45.zip
Add a check that we found an ABI plugin before calling a method on it.
llvm-svn: 210942
-rw-r--r--lldb/source/Plugins/Process/Utility/RegisterContextLLDB.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/Utility/RegisterContextLLDB.cpp b/lldb/source/Plugins/Process/Utility/RegisterContextLLDB.cpp
index fd0136d00b4..4f72caf3172 100644
--- a/lldb/source/Plugins/Process/Utility/RegisterContextLLDB.cpp
+++ b/lldb/source/Plugins/Process/Utility/RegisterContextLLDB.cpp
@@ -594,7 +594,7 @@ RegisterContextLLDB::InitializeNonZerothFrame()
repeating_frames = true;
}
}
- if (repeating_frames && abi->FunctionCallsChangeCFA())
+ if (repeating_frames && abi && abi->FunctionCallsChangeCFA())
{
UnwindLogMsg ("same CFA address as next frame, assuming the unwind is looping - stopping");
m_frame_type = eNotAValidFrame;
OpenPOWER on IntegriCloud