summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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