1
0
mirror of https://github.com/golang/go synced 2024-11-24 04:40:24 -07:00

cmd/vet/all: enable AIX checks

Fixes #27985

Change-Id: I2f3d06ced9da9fc56f30f1285a8d393e689c29ac
Reviewed-on: https://go-review.googlesource.com/c/go/+/169019
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
Clément Chigot 2019-03-26 14:55:48 +01:00 committed by Ian Lance Taylor
parent ee2836048c
commit 57bd577454
2 changed files with 8 additions and 6 deletions

View File

@ -209,12 +209,6 @@ func (p platform) vet() {
return
}
if p.os == "aix" && p.arch == "ppc64" {
// TODO(aix): enable as soon as the aix/ppc64 port has fully landed
fmt.Println("skipping aix/ppc64")
return
}
var buf bytes.Buffer
fmt.Fprintf(&buf, "go run main.go -p %s\n", p)

View File

@ -0,0 +1,8 @@
// aix/ppc64-specific vet whitelist. See readme.txt for details.
runtime/asm_ppc64x.s: [ppc64] sigreturn: function sigreturn missing Go declaration
runtime/sys_aix_ppc64.s: [ppc64] callCfunction: function callCfunction missing Go declaration
runtime/sys_aix_ppc64.s: [ppc64] _asmsyscall6: function _asmsyscall6 missing Go declaration
runtime/sys_aix_ppc64.s: [ppc64] _sigtramp: function _sigtramp missing Go declaration
runtime/sys_aix_ppc64.s: [ppc64] _sigtramp: use of 16(R1) points beyond argument frame
runtime/sys_aix_ppc64.s: [ppc64] _tstart: function _tstart missing Go declaration