summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2011-05-25 17:56:20 +0000
committerGreg Clayton <gclayton@apple.com>2011-05-25 17:56:20 +0000
commit1cbc52cd64c830bb659f0b722ed6a2022736c06f (patch)
treefbab2c29a99dde59a7c6fba3c087fcfa1837e64e
parent92a26d4e18ba6e84fb13c875e5d3c7a870a205cf (diff)
downloadbcm5719-llvm-1cbc52cd64c830bb659f0b722ed6a2022736c06f.tar.gz
bcm5719-llvm-1cbc52cd64c830bb659f0b722ed6a2022736c06f.zip
Added some comments.
llvm-svn: 132066
-rw-r--r--lldb/source/Plugins/Process/Utility/UnwindLLDB.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Process/Utility/UnwindLLDB.cpp b/lldb/source/Plugins/Process/Utility/UnwindLLDB.cpp
index 565983df494..39b4522daaa 100644
--- a/lldb/source/Plugins/Process/Utility/UnwindLLDB.cpp
+++ b/lldb/source/Plugins/Process/Utility/UnwindLLDB.cpp
@@ -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;
}
OpenPOWER on IntegriCloud