eh_frame_unwind: correctly commit cfa_out - it is still unclear if we need this channel, since all we do right now is commit cfa to the sp. so presumably callers could just look at the parent's sp? but my understanding of this is not strong enough to know if that is 100% reliable, since my understanding is that the cfa is an abstract thing specifically because it may *not* be the sp. but not sure, need to look more into it later.

This commit is contained in:
Ryan Fleury committed 2026-09-23 11:53:59 -06:00
1 parent 99f35bb342
commit cc82127537
1 file changed
+4
+4
View File
@@ -687,6 +687,10 @@ eh_uwnd_step(Arch arch, MemoryMap *memory_map, UWND_ModuleInfo *module_info, U64
//- rjf: commit new register values, if we succeeded
if(!done)
{
if(cfa_out)
{
cfa_out[0] = cfa;
}
result.status = UWND_StepStatus_Good;
}
}