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

Issue 78780043: go.tools/go/ssa: add a flag for selecting gccgo-style s... (Closed)

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

Description

go.tools/go/ssa: add a flag for selecting bare init functions Bare init functions omit calls to dependent init functions and the use of an init guard. They are useful in cases where the client uses a different calling convention for init functions, or cases where it is easier for a client to analyze bare init functions.

Patch Set 1 #

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

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

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

Total comments: 4

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+116 lines, -25 lines) Patch
M cmd/ssadump/main.go View 1 2 3 4 2 chunks +3 lines, -0 lines 0 comments Download
M go/ssa/builder.go View 1 2 3 4 2 chunks +25 lines, -19 lines 0 comments Download
M go/ssa/builder_test.go View 1 2 3 4 2 chunks +79 lines, -0 lines 0 comments Download
M go/ssa/create.go View 1 2 3 2 chunks +9 lines, -6 lines 0 comments Download

Messages

Total messages: 19
pcc
10 years, 8 months ago (2014-03-21 09:12:19 UTC) #1
adonovan
What problem does this solve? There's no portable ABI for Go object code files.
10 years, 8 months ago (2014-03-21 14:40:22 UTC) #2
pcc
On 2014/03/21 14:40:22, adonovan wrote: > What problem does this solve? There's no portable ABI ...
10 years, 8 months ago (2014-03-21 17:36:13 UTC) #3
adonovan
On 21 March 2014 13:36, <pcc@google.com> wrote: > On 2014/03/21 14:40:22, adonovan wrote: > >> ...
10 years, 8 months ago (2014-03-21 19:31:35 UTC) #4
pcc
On Fri, Mar 21, 2014 at 12:31 PM, Alan Donovan <adonovan@google.com> wrote: > On 21 ...
10 years, 8 months ago (2014-03-21 20:38:31 UTC) #5
adonovan
On 21 March 2014 16:38, Peter Collingbourne <pcc@google.com> wrote: > > I wouldn't expect that ...
10 years, 8 months ago (2014-03-21 21:46:32 UTC) #6
pcc
On Fri, Mar 21, 2014 at 2:46 PM, Alan Donovan <adonovan@google.com> wrote: > On 21 ...
10 years, 8 months ago (2014-03-21 22:06:28 UTC) #7
adonovan
On 21 March 2014 18:06, Peter Collingbourne <pcc@google.com> wrote: > That would work for llgo, ...
10 years, 8 months ago (2014-03-22 04:54:28 UTC) #8
pcc
On Fri, Mar 21, 2014 at 9:54 PM, Alan Donovan <adonovan@google.com> wrote: > On 21 ...
10 years, 8 months ago (2014-03-22 05:50:03 UTC) #9
adonovan
On 22 March 2014 01:50, Peter Collingbourne <pcc@google.com> wrote: > > Making the guard variable ...
10 years, 8 months ago (2014-03-24 14:32:23 UTC) #10
pcc
On 2014/03/24 14:32:23, adonovan wrote: > On 22 March 2014 01:50, Peter Collingbourne <mailto:pcc@google.com> wrote: ...
10 years, 7 months ago (2014-04-28 01:22:35 UTC) #11
adonovan
On 27 April 2014 21:22, <pcc@google.com> wrote: > One other nice thing that I've found ...
10 years, 7 months ago (2014-04-30 19:53:21 UTC) #12
pcc
On Wed, Apr 30, 2014 at 12:53 PM, Alan Donovan <adonovan@google.com> wrote: > > On ...
10 years, 7 months ago (2014-04-30 20:27:13 UTC) #13
adonovan
On 30 April 2014 16:27, Peter Collingbourne <pcc@google.com> wrote: > > What do you mean ...
10 years, 7 months ago (2014-04-30 21:47:01 UTC) #14
pcc
On Wed, Apr 30, 2014 at 2:47 PM, Alan Donovan <adonovan@google.com> wrote: > On 30 ...
10 years, 7 months ago (2014-04-30 22:05:23 UTC) #15
pcc
On 2014/03/24 14:32:23, adonovan wrote: > On 22 March 2014 01:50, Peter Collingbourne <mailto:pcc@google.com> wrote: ...
10 years, 6 months ago (2014-05-28 23:04:51 UTC) #16
adonovan
LGTM https://codereview.appspot.com/78780043/diff/50001/cmd/ssadump/main.go File cmd/ssadump/main.go (right): https://codereview.appspot.com/78780043/diff/50001/cmd/ssadump/main.go#newcode24 cmd/ssadump/main.go:24: B build [B]are init functions: no init guards ...
10 years, 5 months ago (2014-06-16 16:49:56 UTC) #17
pcc
https://codereview.appspot.com/78780043/diff/50001/cmd/ssadump/main.go File cmd/ssadump/main.go (right): https://codereview.appspot.com/78780043/diff/50001/cmd/ssadump/main.go#newcode24 cmd/ssadump/main.go:24: B build [B]are init functions: no init guards or ...
10 years, 5 months ago (2014-06-17 01:26:08 UTC) #18
adonovan
10 years, 5 months ago (2014-06-17 01:34:54 UTC) #19
*** Submitted as
https://code.google.com/p/go/source/detail?r=961345c68af4&repo=tools ***

go.tools/go/ssa: add a flag for selecting bare init functions

Bare init functions omit calls to dependent init functions and the
use of an init guard. They are useful in cases where the client uses
a different calling convention for init functions, or cases where
it is easier for a client to analyze bare init functions.

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

Committer: Alan Donovan <adonovan@google.com>
Sign in to reply to this message.

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