Add a check that we found an ABI plugin before calling a method on it.

llvm-svn: 210942
This commit is contained in:
Jason Molenda 2014-06-13 22:04:15 +00:00
parent fc56a0123b
commit b51d5cd84f
1 changed files with 1 additions and 1 deletions

View File

@ -594,7 +594,7 @@ RegisterContextLLDB::InitializeNonZerothFrame()
repeating_frames = true; 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"); UnwindLogMsg ("same CFA address as next frame, assuming the unwind is looping - stopping");
m_frame_type = eNotAValidFrame; m_frame_type = eNotAValidFrame;