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

Issue 140740043: code review 140740043: runtime: include constants and defs_*_*.h types in gene... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 6 months ago by rsc
Modified:
10 years, 6 months ago
Reviewers:
r, gobot, iant, crawshaw
CC:
golang-codereviews, r, iant, aram2, dvyukov, khr
Visibility:
Public.

Description

runtime: include constants and defs_*_*.h types in generated Go defs I had to rename Kevent and Sigaction to avoid the functions of the same (lowercase) name.

Patch Set 1 #

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

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

Total comments: 2

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+91 lines, -77 lines) Patch
M src/cmd/cc/godefs.c View 1 1 chunk +2 lines, -2 lines 0 comments Download
M src/cmd/dist/buildruntime.c View 1 3 chunks +18 lines, -3 lines 0 comments Download
M src/pkg/runtime/defs.c View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/pkg/runtime/defs_darwin_386.h View 1 4 chunks +4 lines, -4 lines 0 comments Download
M src/pkg/runtime/defs_darwin_amd64.h View 1 4 chunks +4 lines, -4 lines 0 comments Download
M src/pkg/runtime/defs_dragonfly_386.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M src/pkg/runtime/defs_dragonfly_amd64.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M src/pkg/runtime/defs_freebsd_386.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M src/pkg/runtime/defs_freebsd_amd64.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M src/pkg/runtime/defs_freebsd_arm.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M src/pkg/runtime/defs_linux_386.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M src/pkg/runtime/defs_linux_amd64.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M src/pkg/runtime/defs_linux_arm.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M src/pkg/runtime/defs_netbsd_386.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M src/pkg/runtime/defs_netbsd_amd64.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M src/pkg/runtime/defs_netbsd_arm.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M src/pkg/runtime/defs_openbsd_386.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M src/pkg/runtime/defs_openbsd_amd64.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M src/pkg/runtime/defs_solaris_amd64.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M src/pkg/runtime/malloc.go View 1 1 chunk +7 lines, -9 lines 0 comments Download
M src/pkg/runtime/netpoll_kqueue.c View 1 3 chunks +3 lines, -3 lines 0 comments Download
M src/pkg/runtime/os_darwin.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M src/pkg/runtime/os_darwin.c View 1 2 chunks +2 lines, -2 lines 0 comments Download
M src/pkg/runtime/os_dragonfly.c View 1 2 chunks +3 lines, -3 lines 0 comments Download
M src/pkg/runtime/os_freebsd.c View 1 2 chunks +3 lines, -3 lines 0 comments Download
M src/pkg/runtime/os_linux.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M src/pkg/runtime/os_linux.c View 1 2 chunks +2 lines, -2 lines 0 comments Download
M src/pkg/runtime/os_netbsd.c View 1 2 chunks +3 lines, -3 lines 0 comments Download
M src/pkg/runtime/os_openbsd.c View 1 2 chunks +3 lines, -3 lines 0 comments Download
M src/pkg/runtime/os_solaris.h View 1 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/runtime/os_solaris.c View 1 3 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 16
rsc
Hello golang-codereviews@googlegroups.com (cc: dvyukov, iant, khr, r), I'd like you to review this change to ...
10 years, 6 months ago (2014-08-29 19:20:50 UTC) #1
r
this is going to put lots more symbols into godoc.
10 years, 6 months ago (2014-08-29 19:24:09 UTC) #2
r
i think
10 years, 6 months ago (2014-08-29 19:24:26 UTC) #3
r
let me rephrase these items will be turned into Go, right? and then they will ...
10 years, 6 months ago (2014-08-29 19:25:35 UTC) #4
iant
LGTM
10 years, 6 months ago (2014-08-29 19:33:26 UTC) #5
aram2
On Fri, Aug 29, 2014 at 9:25 PM, Rob Pike <r@golang.org> wrote: > these items ...
10 years, 6 months ago (2014-08-29 19:33:42 UTC) #6
iant
On 2014/08/29 19:25:35, r wrote: > let me rephrase > > these items will be ...
10 years, 6 months ago (2014-08-29 19:33:58 UTC) #7
r
defs2_linux.go:140: type Sigaction C.struct_kernel_sigaction no leading underscore
10 years, 6 months ago (2014-08-29 19:38:25 UTC) #8
iant
On 2014/08/29 19:38:25, r wrote: > defs2_linux.go:140: type Sigaction C.struct_kernel_sigaction > > no leading underscore ...
10 years, 6 months ago (2014-08-29 19:43:29 UTC) #9
iant
On 2014/08/29 19:43:29, iant wrote: > On 2014/08/29 19:38:25, r wrote: > > defs2_linux.go:140: type ...
10 years, 6 months ago (2014-08-29 19:45:09 UTC) #10
rsc
The process is a bit subtle, but no, there are no new symbols being added ...
10 years, 6 months ago (2014-08-29 19:47:16 UTC) #11
r
LGTM other than malloc.go https://codereview.appspot.com/140740043/diff/40001/src/pkg/runtime/malloc.go File src/pkg/runtime/malloc.go (right): https://codereview.appspot.com/140740043/diff/40001/src/pkg/runtime/malloc.go#newcode29 src/pkg/runtime/malloc.go:29: maxGCMask = 64 is this ...
10 years, 6 months ago (2014-08-29 19:53:40 UTC) #12
rsc
https://codereview.appspot.com/140740043/diff/40001/src/pkg/runtime/malloc.go File src/pkg/runtime/malloc.go (right): https://codereview.appspot.com/140740043/diff/40001/src/pkg/runtime/malloc.go#newcode29 src/pkg/runtime/malloc.go:29: maxGCMask = 64 On 2014/08/29 19:53:40, r wrote: > ...
10 years, 6 months ago (2014-08-29 19:57:53 UTC) #13
rsc
*** Submitted as https://code.google.com/p/go/source/detail?r=91378329bf67 *** runtime: include constants and defs_*_*.h types in generated Go defs ...
10 years, 6 months ago (2014-08-29 20:00:33 UTC) #14
gobot
This CL appears to have broken the android-arm-crawshaw builder. See http://build.golang.org/log/27448d314fbc31db3e1ad88ee604453b343f369c
10 years, 6 months ago (2014-08-29 20:01:35 UTC) #15
crawshaw
10 years, 6 months ago (2014-08-29 20:06:33 UTC) #16
Real:

/tmp/gobuilder/android-arm-crawshaw-91378329bf67/go/src/pkg/runtime/zruntime_defs_linux_amd64.go:972:
sigaltstack redeclared in this block
previous declaration at
/tmp/gobuilder/android-arm-crawshaw-91378329bf67/go/src/pkg/runtime/os_linux.go:12


On Fri, Aug 29, 2014 at 4:01 PM,  <gobot@golang.org> wrote:
> This CL appears to have broken the android-arm-crawshaw builder.
> See http://build.golang.org/log/27448d314fbc31db3e1ad88ee604453b343f369c
>
>
> https://codereview.appspot.com/140740043/
>
> --
> You received this message because you are subscribed to the Google Groups
> "golang-codereviews" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to golang-codereviews+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
Sign in to reply to this message.

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