Thank you very much.
在 2019年7月31日星期三 UTC+8下午9:49:04,Ian Lance Taylor写道:
>
> On Wed, Jul 31, 2019 at 4:49 AM jin wang > wrote:
> >
> > so mstart just put on stack for call traceback , but actually will not
> return at mstart?
>
> Yes. As you can see, the systemstack function changes the stack
On Wed, Jul 31, 2019 at 4:49 AM jin wang wrote:
>
> so mstart just put on stack for call traceback , but actually will not return
> at mstart?
Yes. As you can see, the systemstack function changes the stack
pointer back to its original value before it returns to its caller.
It does not return o
so mstart just put on stack for call traceback , but actually will not
return at mstart?
在 2019年7月31日星期三 UTC+8下午12:08:51,Ian Lance Taylor写道:
>
> On Tue, Jul 30, 2019 at 8:58 PM >
> wrote:
> >
> > I read go runtime code,but I'm poor in assembly language,
> > i can't understand the following co
在 2019年7月31日星期三 UTC+8下午12:08:51,Ian Lance Taylor写道:
>
> On Tue, Jul 30, 2019 at 8:58 PM >
> wrote:
> >
> > I read go runtime code,but I'm poor in assembly language,
> > i can't understand the following code
> > // switch to g0
> > MOVQDX, g(CX)
> > MOVQ(g_sc
On Tue, Jul 30, 2019 at 8:58 PM wrote:
>
> I read go runtime code,but I'm poor in assembly language,
> i can't understand the following code
> // switch to g0
> MOVQDX, g(CX)
> MOVQ(g_sched+gobuf_sp)(DX), BX
> // make it look like mstart called systemstack o
I read go runtime code,but I'm poor in assembly language,
i can't understand the following code
// switch to g0
MOVQDX, g(CX)
MOVQ(g_sched+gobuf_sp)(DX), BX
// make it look like mstart called systemstack on g0, to stop
traceback
SUBQ$8, BX