Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(4420)

Issue 10036044: code review 10036044: runtime: add lr, ctxt, ret to Gobuf (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 10 months ago by rsc
Modified:
10 years, 10 months ago
Reviewers:
minux1
CC:
dvyukov, minux1, golang-dev
Visibility:
Public.

Description

runtime: add lr, ctxt, ret to Gobuf Add gostartcall and gostartcallfn. The old gogocall = gostartcall + gogo. The old gogocallfn = gostartcallfn + gogo.

Patch Set 1 #

Patch Set 2 : diff -r bfdbd835628c https://code.google.com/p/go/ #

Patch Set 3 : diff -r bfdbd835628c https://code.google.com/p/go/ #

Total comments: 9

Patch Set 4 : diff -r 7eca82ec46af https://code.google.com/p/go/ #

Total comments: 5

Patch Set 5 : diff -r 7eca82ec46af https://code.google.com/p/go/ #

Patch Set 6 : diff -r fe447e02dc0b https://code.google.com/p/go #

Patch Set 7 : diff -r fe447e02dc0b https://code.google.com/p/go #

Patch Set 8 : diff -r c855ffd64015 https://code.google.com/p/go/ #

Patch Set 9 : diff -r c855ffd64015 https://code.google.com/p/go #

Patch Set 10 : diff -r 7544727c9c28 https://code.google.com/p/go/ #

Patch Set 11 : diff -r c855ffd64015 https://code.google.com/p/go #

Patch Set 12 : diff -r 7544727c9c28 https://code.google.com/p/go/ #

Patch Set 13 : diff -r 7544727c9c28 https://code.google.com/p/go/ #

Patch Set 14 : diff -r 7544727c9c28 https://code.google.com/p/go #

Patch Set 15 : diff -r 7544727c9c28 https://code.google.com/p/go/ #

Patch Set 16 : diff -r 7544727c9c28 https://code.google.com/p/go/ #

Patch Set 17 : diff -r 7544727c9c28 https://code.google.com/p/go/ #

Total comments: 4

Patch Set 18 : diff -r 7544727c9c28 https://code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+188 lines, -187 lines) Patch
M misc/cgo/test/callback.go View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/runtime/asm_386.s View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 4 chunks +23 lines, -44 lines 0 comments Download
M src/pkg/runtime/asm_amd64.s View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 4 chunks +19 lines, -44 lines 0 comments Download
M src/pkg/runtime/asm_arm.s View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +22 lines, -45 lines 0 comments Download
M src/pkg/runtime/mgc0.c View 1 2 3 4 5 6 7 4 chunks +11 lines, -3 lines 0 comments Download
M src/pkg/runtime/panic.c View 1 7 1 chunk +2 lines, -1 line 0 comments Download
M src/pkg/runtime/proc.c View 1 2 3 4 5 6 7 8 9 10 11 12 13 11 chunks +34 lines, -17 lines 0 comments Download
M src/pkg/runtime/runtime.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 4 chunks +8 lines, -5 lines 0 comments Download
M src/pkg/runtime/stack.h View 1 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/runtime/stack.c View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 3 chunks +18 lines, -6 lines 0 comments Download
A src/pkg/runtime/sys_arm.c View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +17 lines, -0 lines 0 comments Download
A src/pkg/runtime/sys_x86.c View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +21 lines, -0 lines 0 comments Download
M src/pkg/runtime/traceback_arm.c View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +9 lines, -11 lines 0 comments Download
M src/pkg/runtime/traceback_x86.c View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +2 lines, -9 lines 0 comments Download

Messages

Total messages: 18
dvyukov
https://codereview.appspot.com/10036044/diff/5001/src/pkg/runtime/stack.c File src/pkg/runtime/stack.c (right): https://codereview.appspot.com/10036044/diff/5001/src/pkg/runtime/stack.c#newcode281 src/pkg/runtime/stack.c:281: runtime·gostartcall(&label, m->morepc, nil); the context argument here must be ...
10 years, 10 months ago (2013-06-06 09:36:50 UTC) #1
dvyukov
https://codereview.appspot.com/10036044/diff/5001/src/pkg/runtime/asm_386.s File src/pkg/runtime/asm_386.s (right): https://codereview.appspot.com/10036044/diff/5001/src/pkg/runtime/asm_386.s#newcode385 src/pkg/runtime/asm_386.s:385: TEXT runtime·atomicstorep(SB), 7, $0 I am getting a weird ...
10 years, 10 months ago (2013-06-06 09:57:02 UTC) #2
rsc
https://codereview.appspot.com/10036044/diff/5001/src/pkg/runtime/mgc0.c File src/pkg/runtime/mgc0.c (right): https://codereview.appspot.com/10036044/diff/5001/src/pkg/runtime/mgc0.c#newcode1405 src/pkg/runtime/mgc0.c:1405: if(pc == (byte*)f->entry) { On 2013/06/06 09:57:02, dvyukov wrote: ...
10 years, 10 months ago (2013-06-10 19:03:46 UTC) #3
dvyukov
On 2013/06/10 19:03:46, rsc wrote: > https://codereview.appspot.com/10036044/diff/5001/src/pkg/runtime/mgc0.c > File src/pkg/runtime/mgc0.c (right): > > https://codereview.appspot.com/10036044/diff/5001/src/pkg/runtime/mgc0.c#newcode1405 > ...
10 years, 10 months ago (2013-06-10 19:21:41 UTC) #4
rsc
PTAL On 386, all.bash compiles and passes (thanks to CL 10167043). On amd64, all.bash almost ...
10 years, 10 months ago (2013-06-10 20:16:06 UTC) #5
minux1
Hi Russ, after fixing these superficial errors on ARM, i got this from go_bootstrap: releasep: ...
10 years, 10 months ago (2013-06-10 21:09:46 UTC) #6
dvyukov
On 2013/06/10 20:16:06, rsc wrote: > PTAL > > On 386, all.bash compiles and passes ...
10 years, 10 months ago (2013-06-10 21:16:54 UTC) #7
dvyukov
On Tue, Jun 11, 2013 at 1:09 AM, <minux.ma@gmail.com> wrote: > Hi Russ, > after ...
10 years, 10 months ago (2013-06-10 21:19:26 UTC) #8
rsc
https://codereview.appspot.com/10036044/diff/16001/src/pkg/runtime/asm_arm.s File src/pkg/runtime/asm_arm.s (right): https://codereview.appspot.com/10036044/diff/16001/src/pkg/runtime/asm_arm.s#newcode104 src/pkg/runtime/asm_arm.s:104: MOVW $0, gobuf_lr(R0) On 2013/06/10 21:09:46, minux wrote: > ...
10 years, 10 months ago (2013-06-11 01:41:36 UTC) #9
rsc
PTAL amd64 and 386 are happy. arm is happy with the stack switches but seems ...
10 years, 10 months ago (2013-06-11 04:14:24 UTC) #10
minux1
On Tue, Jun 11, 2013 at 9:41 AM, <rsc@golang.org> wrote: > https://codereview.appspot.**com/10036044/diff/16001/src/** > pkg/runtime/asm_arm.s#**newcode104<https://codereview.appspot.com/10036044/diff/16001/src/pkg/runtime/asm_arm.s#newcode104> > ...
10 years, 10 months ago (2013-06-11 18:16:15 UTC) #11
minux1
On Tue, Jun 11, 2013 at 12:14 PM, Russ Cox <rsc@golang.org> wrote: > amd64 and ...
10 years, 10 months ago (2013-06-11 18:37:16 UTC) #12
rsc
I'm pretty sure that the new code and the stack frame walker are not getting ...
10 years, 10 months ago (2013-06-11 18:52:41 UTC) #13
rsc
PTAL all.bash passes on arm, amd64, and 386, so I think this is ready to ...
10 years, 10 months ago (2013-06-12 18:00:05 UTC) #14
minux1
LGTM. https://codereview.appspot.com/10036044/diff/69001/src/pkg/runtime/runtime.h File src/pkg/runtime/runtime.h (right): https://codereview.appspot.com/10036044/diff/69001/src/pkg/runtime/runtime.h#newcode212 src/pkg/runtime/runtime.h:212: // The offsets of these fields are known ...
10 years, 10 months ago (2013-06-12 19:10:47 UTC) #15
rsc
Thanks for the review. https://codereview.appspot.com/10036044/diff/69001/src/pkg/runtime/runtime.h File src/pkg/runtime/runtime.h (right): https://codereview.appspot.com/10036044/diff/69001/src/pkg/runtime/runtime.h#newcode212 src/pkg/runtime/runtime.h:212: // The offsets of these ...
10 years, 10 months ago (2013-06-12 19:15:07 UTC) #16
rsc
Hello dvyukov@google.com, minux.ma@gmail.com (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go/
10 years, 10 months ago (2013-06-12 19:22:22 UTC) #17
rsc
10 years, 10 months ago (2013-06-12 19:22:29 UTC) #18
*** Submitted as https://code.google.com/p/go/source/detail?r=916cb45c0d5f ***

runtime: add lr, ctxt, ret to Gobuf

Add gostartcall and gostartcallfn.
The old gogocall = gostartcall + gogo.
The old gogocallfn = gostartcallfn + gogo.

R=dvyukov, minux.ma
CC=golang-dev
https://codereview.appspot.com/10036044
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b