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

Issue 4047047: code review 4047047: runtime: automaticaly generated Go declarations for C v... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 1 month ago by lvd
Modified:
14 years, 1 month ago
Reviewers:
mattn, rsc
CC:
golang-dev
Visibility:
Public.

Description

runtime: generate Go defs for C types.

Patch Set 1 #

Patch Set 2 : code review 4047047: runtime: automaticaly generated Go declarations for C v... #

Total comments: 3

Patch Set 3 : code review 4047047: runtime: automaticaly generated Go declarations for C v... #

Patch Set 4 : code review 4047047: runtime: automaticaly generated Go declarations for C v... #

Patch Set 5 : code review 4047047: runtime: automaticaly generated Go declarations for C v... #

Patch Set 6 : code review 4047047: runtime: automaticaly generated Go declarations for C v... #

Total comments: 10

Patch Set 7 : code review 4047047: runtime: automaticaly generated Go declarations for C v... #

Patch Set 8 : code review 4047047: runtime: generate Go defs for C types. #

Patch Set 9 : code review 4047047: runtime: generate Go defs for C types. #

Patch Set 10 : code review 4047047: runtime: generate Go defs for C types. #

Patch Set 11 : code review 4047047: runtime: generate Go defs for C types. #

Patch Set 12 : code review 4047047: runtime: generate Go defs for C types. #

Patch Set 13 : code review 4047047: runtime: generate Go defs for C types. #

Patch Set 14 : code review 4047047: runtime: generate Go defs for C types. #

Patch Set 15 : code review 4047047: runtime: generate Go defs for C types. #

Patch Set 16 : code review 4047047: runtime: generate Go defs for C types. #

Total comments: 11

Patch Set 17 : code review 4047047: runtime: generate Go defs for C types. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+183 lines, -671 lines) Patch
M src/cmd/cc/godefs.c View 1 2 3 4 5 6 10 chunks +50 lines, -51 lines 0 comments Download
M src/cmd/ld/dwarf.c View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 10 chunks +44 lines, -37 lines 0 comments Download
M src/pkg/runtime/Makefile View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 3 chunks +5 lines, -6 lines 0 comments Download
R src/pkg/runtime/chan_defs.go View 1 chunk +0 lines, -56 lines 0 comments Download
R src/pkg/runtime/darwin/runtime_defs.go View 1 chunk +0 lines, -23 lines 0 comments Download
M src/pkg/runtime/extern.go View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +13 lines, -0 lines 0 comments Download
R src/pkg/runtime/freebsd/runtime_defs.go View 1 chunk +0 lines, -14 lines 0 comments Download
M src/pkg/runtime/hashmap.h View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M src/pkg/runtime/hashmap.c View 1 2 3 4 5 6 7 8 13 chunks +14 lines, -14 lines 0 comments Download
R src/pkg/runtime/hashmap_defs.go View 1 chunk +0 lines, -51 lines 0 comments Download
R src/pkg/runtime/iface_defs.go View 1 chunk +0 lines, -18 lines 0 comments Download
R src/pkg/runtime/linux/runtime_defs.go View 1 chunk +0 lines, -14 lines 0 comments Download
R src/pkg/runtime/malloc_defs.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +0 lines, -129 lines 0 comments Download
A src/pkg/runtime/mkgodefs.sh View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +39 lines, -0 lines 0 comments Download
R src/pkg/runtime/plan9/runtime_defs.go View 1 chunk +0 lines, -23 lines 0 comments Download
M src/pkg/runtime/runtime.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/runtime/runtime-gdb.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +4 lines, -4 lines 0 comments Download
R src/pkg/runtime/runtime_defs.go View 1 chunk +0 lines, -200 lines 0 comments Download
M src/pkg/runtime/type.h View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -0 lines 0 comments Download
M src/pkg/runtime/type.go View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +6 lines, -6 lines 0 comments Download
R src/pkg/runtime/windows/runtime_defs.go View 1 chunk +0 lines, -22 lines 0 comments Download

Messages

Total messages: 20
rsc
Looks like this CL removes the old ones but needs to add some rule to ...
14 years, 1 month ago (2011-01-24 19:45:03 UTC) #1
lvd
Hello rsc (cc: golang-dev@googlegroups.com), I'd like you to review this change.
14 years, 1 month ago (2011-01-26 16:55:21 UTC) #2
rsc
please shorten CL description to runtime: generate Go defs for C types
14 years, 1 month ago (2011-01-26 16:56:47 UTC) #3
rsc
looks pretty good. i'd like to understand the reason that so many types have to ...
14 years, 1 month ago (2011-01-26 17:11:26 UTC) #4
mattn
I got fail on windows. quietgcc -o mkversion -I "c:/temp/go/include" mkversion.c "c:/temp/go/lib/lib9.a" ./mkversion >version.go 8g ...
14 years, 1 month ago (2011-01-27 02:30:24 UTC) #5
lvd
i have a fix for that pending. On Thu, Jan 27, 2011 at 03:33, mattn ...
14 years, 1 month ago (2011-01-27 07:23:53 UTC) #6
lvd
uploaded a fresh shapshot. I will undo the s/Type/Gotype/, which turned out to be unnecessary ...
14 years, 1 month ago (2011-01-27 07:39:07 UTC) #7
lvd
all comments addressed i think and all tests pass. will test that gdb-ing still all ...
14 years, 1 month ago (2011-01-27 08:29:06 UTC) #8
lvd
maybe it didn't re-make runtime_defs.go? does it still have members and structs called 'panic'? On ...
14 years, 1 month ago (2011-01-27 09:47:00 UTC) #9
lvd
does your type g still have a member of type '*defer'? On Thu, Jan 27, ...
14 years, 1 month ago (2011-01-27 10:26:42 UTC) #10
mattn
below is a generaetd file. https://gist.github.com/798338 On 2011/01/27 10:26:42, lvd wrote: > does your type ...
14 years, 1 month ago (2011-01-27 10:35:13 UTC) #11
lvd
there is some weridness starting on line 434, structures with missing 'type foo struct {' ...
14 years, 1 month ago (2011-01-27 10:52:33 UTC) #12
lvd
i uploaded a snapshot with a mkgodefs.sh that should be able to withstand an onslaught ...
14 years, 1 month ago (2011-01-28 08:57:06 UTC) #13
lvd
On Fri, Jan 28, 2011 at 11:54, mattn <mattn.jp@gmail.com> wrote: > error above gone. :) ...
14 years, 1 month ago (2011-01-28 10:59:08 UTC) #14
lvd
On Fri, Jan 28, 2011 at 12:11, mattn <mattn.jp@gmail.com> wrote: > > > On Friday, ...
14 years, 1 month ago (2011-01-28 11:26:18 UTC) #15
lvd
On Fri, Jan 28, 2011 at 12:37, mattn <mattn.jp@gmail.com> wrote: > Here is output: > ...
14 years, 1 month ago (2011-01-28 11:45:39 UTC) #16
lvd
That must be some stale version of some library you have lying around. On Fri, ...
14 years, 1 month ago (2011-01-28 12:22:39 UTC) #17
rsc
LGTM after tweaks below assuming it all still builds. :-) http://codereview.appspot.com/4047047/diff/59001/src/cmd/ld/dwarf.c File src/cmd/ld/dwarf.c (right): http://codereview.appspot.com/4047047/diff/59001/src/cmd/ld/dwarf.c#newcode988 ...
14 years, 1 month ago (2011-01-28 16:59:37 UTC) #18
lvd
*** Submitted as http://code.google.com/p/go/source/detail?r=be38327d61bc *** runtime: generate Go defs for C types. R=rsc, mattn CC=golang-dev ...
14 years, 1 month ago (2011-01-31 11:27:36 UTC) #19
lvd
14 years, 1 month ago (2011-01-31 11:27:44 UTC) #20
all done, tested and submitted.
Sign in to reply to this message.

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