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

Issue 78740043: go.tools/go/gccgoimporter, go.tools/go/types: keep trac... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 2 months ago by pcc
Modified:
9 years, 11 months ago
Reviewers:
gri
CC:
gri, golang-codereviews, iant
Visibility:
Public.

Description

go.tools/go/gccgoimporter: keep track of package and import priority Clients such as compilers need this information in order to correctly link against imported packages. This also adds support for the condensed import data format where the priority information is stored as a suffix of the condensed import data, as well as support for archive files.

Patch Set 1 #

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

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

Total comments: 14

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

Total comments: 7

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+328 lines, -197 lines) Patch
M cmd/godex/gccgo.go View 1 2 3 2 chunks +16 lines, -101 lines 0 comments Download
M cmd/godex/print.go View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M go/gccgoimporter/gccgoinstallation.go View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M go/gccgoimporter/gccgoinstallation_test.go View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M go/gccgoimporter/importer.go View 1 2 3 4 5 chunks +103 lines, -11 lines 0 comments Download
M go/gccgoimporter/importer_test.go View 1 2 3 3 chunks +86 lines, -19 lines 0 comments Download
M go/gccgoimporter/parser.go View 1 2 3 10 chunks +82 lines, -36 lines 0 comments Download
A go/gccgoimporter/testdata/imports.go View 1 1 chunk +5 lines, -0 lines 0 comments Download
A go/gccgoimporter/testdata/imports.gox View 1 1 chunk +7 lines, -0 lines 0 comments Download
M go/importer/import.go View 1 2 3 4 8 chunks +19 lines, -25 lines 0 comments Download
M go/importer/import_test.go View 1 2 3 4 1 chunk +5 lines, -1 line 0 comments Download

Messages

Total messages: 12
pcc
10 years, 2 months ago (2014-03-21 09:06:40 UTC) #1
gri
I like to discuss this change before we go any further (sometimes next week?). For ...
10 years, 2 months ago (2014-03-21 23:19:59 UTC) #2
pcc
I've updated this CL with the changes we discussed. I hope it isn't too premature ...
10 years, 1 month ago (2014-04-11 06:57:24 UTC) #3
gri
Apologies for the delay. Some initial comments; more to come. https://codereview.appspot.com/78740043/diff/40001/go/gccgoimporter/importer.go File go/gccgoimporter/importer.go (right): https://codereview.appspot.com/78740043/diff/40001/go/gccgoimporter/importer.go#newcode25 ...
10 years, 1 month ago (2014-04-14 23:22:46 UTC) #4
pcc
https://codereview.appspot.com/78740043/diff/40001/go/gccgoimporter/importer.go File go/gccgoimporter/importer.go (right): https://codereview.appspot.com/78740043/diff/40001/go/gccgoimporter/importer.go#newcode25 go/gccgoimporter/importer.go:25: Function string // name of init function On 2014/04/14 ...
10 years, 1 month ago (2014-04-15 01:16:00 UTC) #5
gri
https://codereview.appspot.com/78740043/diff/60001/cmd/godex/gccgo.go File cmd/godex/gccgo.go (left): https://codereview.appspot.com/78740043/diff/60001/cmd/godex/gccgo.go#oldcode31 cmd/godex/gccgo.go:31: // importer for gccgo using condensed export format (experimental) ...
10 years, 1 month ago (2014-04-15 17:46:15 UTC) #6
pcc
https://codereview.appspot.com/78740043/diff/60001/cmd/godex/gccgo.go File cmd/godex/gccgo.go (left): https://codereview.appspot.com/78740043/diff/60001/cmd/godex/gccgo.go#oldcode31 cmd/godex/gccgo.go:31: // importer for gccgo using condensed export format (experimental) ...
10 years, 1 month ago (2014-04-15 17:57:32 UTC) #7
gri
https://codereview.appspot.com/78740043/diff/60001/cmd/godex/gccgo.go File cmd/godex/gccgo.go (left): https://codereview.appspot.com/78740043/diff/60001/cmd/godex/gccgo.go#oldcode31 cmd/godex/gccgo.go:31: // importer for gccgo using condensed export format (experimental) ...
10 years, 1 month ago (2014-04-15 18:17:20 UTC) #8
pcc
https://codereview.appspot.com/78740043/diff/60001/go/importer/import.go File go/importer/import.go (right): https://codereview.appspot.com/78740043/diff/60001/go/importer/import.go#newcode25 go/importer/import.go:25: func ImportData(imports map[string]*types.Package, data []byte) (*types.Package, error) { On ...
10 years, 1 month ago (2014-04-15 19:17:25 UTC) #9
pcc
On 2014/04/15 19:17:25, pcc wrote: > https://codereview.appspot.com/78740043/diff/60001/go/importer/import.go > File go/importer/import.go (right): > > https://codereview.appspot.com/78740043/diff/60001/go/importer/import.go#newcode25 > ...
9 years, 11 months ago (2014-05-28 18:30:47 UTC) #10
gri
LGTM (for submission after the 1.3 release)
9 years, 11 months ago (2014-05-28 20:22:14 UTC) #11
gri
9 years, 11 months ago (2014-06-17 17:56:49 UTC) #12
*** Submitted as
https://code.google.com/p/go/source/detail?r=c6b7985fb5c3&repo=tools ***

go.tools/go/gccgoimporter: keep track of package and import priority

Clients such as compilers need this information in order
to correctly link against imported packages.

This also adds support for the condensed import data format
where the priority information is stored as a suffix of the
condensed import data, as well as support for archive files.

LGTM=gri
R=gri
CC=golang-codereviews, iant
https://codereview.appspot.com/78740043

Committer: Robert Griesemer <gri@golang.org>
Sign in to reply to this message.

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