[Lldb-commits] [PATCH] D112069: [lldb][AArch64] Add UnwindPlan for Linux sigreturn
David Spickett via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Fri Oct 22 05:39:34 PDT 2021
DavidSpickett added inline comments.
================
Comment at: lldb/source/Symbol/AArch64UnwindInfo.cpp:58
+ unwind_plan_sp->SetSourcedFromCompiler(eLazyBoolYes);
+ unwind_plan_sp->SetUnwindPlanValidAtAllInstructions(eLazyBoolNo);
+ unwind_plan_sp->SetUnwindPlanForSignalTrap(eLazyBoolYes);
----------------
labath wrote:
> DavidSpickett wrote:
> > If this means "at all instructions within that function" this could be yes, but no one seems to read this field anyway.
> The way I read it is "all locations within the range of this unwind plan" as given by UnwindPlan::GetAddressRange. compiler-generated unwind plans might cover the entire function, but only be valid (correct) at call sites.
So this would be valid at all instructions because at any point in `__kernel_rt_sigreturn` the stack pointer is the same.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D112069/new/
https://reviews.llvm.org/D112069
More information about the lldb-commits
mailing list