jasonmolenda wrote:

> > I have an unwind failure where the eh_frame for a
> > trap handler states that the caller's return address is in eh_frame 
> > register 33
> 
> So to be clear what this PR is doing, it's removing the incorrect mapping of 
> cpsr to 33. It does not fix the particular problem you have. Correct? 
> Sensible to start with this.
> 
> I was bothered about the EH frame side but 33 there would have never been 
> cpsr either. So unless anything I've said is incorrect, this LGTM.

Right, this PR stops lldb from treating eh_frame reg 33 as cpsr.  Now when it 
tries to run an eh_frame referring to reg 33, it will error out, not knowing 
what register that is, or how to retrieve it.  We don't fall back to an 
alternate unwind plan at this point; that's another issue.

https://github.com/llvm/llvm-project/pull/183860
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to