Re: [go-nuts] Calling a Go function from asm ("fatal error: missing stackmap")

2016-09-20 Thread Caleb Spare
Thanks very much for your reply, Ian. I had hoped this would not be the answer, though :) I think I can arrange to avoid calling from asm to Go at a minor cost. That sounds like the best solution here. Creating the stack map manually might be interesting exercise for learning about this corner of

Re: [go-nuts] Calling a Go function from asm ("fatal error: missing stackmap")

2016-09-19 Thread Ian Lance Taylor
On Mon, Sep 19, 2016 at 3:56 PM, Caleb Spare wrote: > I'm trying to call a Go function from asm and I'm having trouble figuring > out the details. > > (In the past I've always endeavored to avoid this situation and make all my > asm functions be leaf functions, but in my current use case it would

[go-nuts] Calling a Go function from asm ("fatal error: missing stackmap")

2016-09-19 Thread Caleb Spare
I'm trying to call a Go function from asm and I'm having trouble figuring out the details. (In the past I've always endeavored to avoid this situation and make all my asm functions be leaf functions, but in my current use case it would be most helpful to be able to call a Go helper.) See the demo