Hi!

On Mon, May 25, 2020 at 06:20:49PM +0100, Jozef Lawrynowicz wrote:
> On Tue, Mar 31, 2020 at 04:49:53PM -0500, Segher Boessenkool wrote:
> > You need reg_notes for more than just the stack updates: importantly,
> > also for the restores of any saved register.
> 
> Thanks for the advice, indeed the reason I was having problems was
> because not all stack operations were properly annotated with reg notes.
> 
> The reason I was seeing the ICE was because of unspec insns which were marked
> as frame related but didn't have accompanything reg notes, of course it
> is now clear that stack modifications in an unspec need to be explicitly
> described.

One thing that helps debugging this is  readelf -wframe  (but there are
other methods).  A bit late for help to you ;-)

> (Apologies for the late response, but I figure I may as well document
> the conclusion came to with this.)

No, thanks, it is good to hear it helped!


Segher

Reply via email to