Added some comments.

llvm-svn: 132066
This commit is contained in:
Greg Clayton 2011-05-25 17:56:20 +00:00
parent 92a26d4e18
commit 1cbc52cd64
1 changed files with 2 additions and 0 deletions

View File

@ -164,6 +164,8 @@ UnwindLLDB::AddOneMoreFrame (ABI *abi)
return false; // Infinite loop where the current cursor is the same as the previous one...
else if (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.
if (reg_ctx_sp->GetFP() == 0)
return false;
}