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

Issue 7531045: code review 7531045: cmd/vet: add assembly checker (Closed)

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

Description

cmd/vet: add assembly checker Fixes issue 5036.

Patch Set 1 #

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

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

Total comments: 8

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

Total comments: 8

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+1273 lines, -17 lines) Patch
M src/cmd/go/pkg.go View 1 2 chunks +7 lines, -0 lines 0 comments Download
M src/cmd/go/vet.go View 1 1 chunk +1 line, -1 line 0 comments Download
M src/cmd/vet/Makefile View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
A src/cmd/vet/asmdecl.go View 1 2 3 4 1 chunk +532 lines, -0 lines 0 comments Download
M src/cmd/vet/buildtag.go View 1 1 chunk +1 line, -1 line 0 comments Download
M src/cmd/vet/main.go View 1 2 3 4 8 chunks +35 lines, -12 lines 0 comments Download
A src/cmd/vet/test_asm.go View 1 1 chunk +24 lines, -0 lines 0 comments Download
A src/cmd/vet/test_asm1.s View 1 1 chunk +249 lines, -0 lines 0 comments Download
A src/cmd/vet/test_asm2.s View 1 1 chunk +253 lines, -0 lines 0 comments Download
A src/cmd/vet/test_asm3.s View 1 1 chunk +168 lines, -0 lines 0 comments Download
M test/errchk View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 7
rsc
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go/
12 years ago (2013-03-22 16:46:28 UTC) #1
r
i don't see the code to associated a.b with a·b in the assembler. https://codereview.appspot.com/7531045/diff/5001/src/cmd/vet/asmdecl.go File ...
12 years ago (2013-03-22 17:00:21 UTC) #2
rsc
PTAL https://codereview.appspot.com/7531045/diff/5001/src/cmd/vet/asmdecl.go File src/cmd/vet/asmdecl.go (right): https://codereview.appspot.com/7531045/diff/5001/src/cmd/vet/asmdecl.go#newcode21 src/cmd/vet/asmdecl.go:21: // These special kinds are not valid sizes. ...
12 years ago (2013-03-22 17:26:38 UTC) #3
rsc
https://codereview.appspot.com/7531045/diff/5001/src/cmd/vet/test_asm.go File src/cmd/vet/test_asm.go (right): https://codereview.appspot.com/7531045/diff/5001/src/cmd/vet/test_asm.go#newcode24 src/cmd/vet/test_asm.go:24: func returnnamed(x byte) (r1 int, r2 int16, r3 string, ...
12 years ago (2013-03-22 17:27:25 UTC) #4
r
LGTM although i suspect this will evolve some. https://codereview.appspot.com/7531045/diff/11001/src/cmd/vet/asmdecl.go File src/cmd/vet/asmdecl.go (right): https://codereview.appspot.com/7531045/diff/11001/src/cmd/vet/asmdecl.go#newcode79 src/cmd/vet/asmdecl.go:79: func ...
12 years ago (2013-03-22 18:37:59 UTC) #5
rsc
https://codereview.appspot.com/7531045/diff/11001/src/cmd/vet/asmdecl.go File src/cmd/vet/asmdecl.go (right): https://codereview.appspot.com/7531045/diff/11001/src/cmd/vet/asmdecl.go#newcode79 src/cmd/vet/asmdecl.go:79: func hasSuffix(pkg *Package, suffix string) bool { On 2013/03/22 ...
12 years ago (2013-03-22 19:07:07 UTC) #6
rsc
12 years ago (2013-03-22 19:14:47 UTC) #7
*** Submitted as https://code.google.com/p/go/source/detail?r=e0a30ff5c961 ***

cmd/vet: add assembly checker

Fixes issue 5036.

R=golang-dev, r
CC=golang-dev
https://codereview.appspot.com/7531045
Sign in to reply to this message.

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