Join GitHub today
One of the things changing in Go 1.1 is the size of int, necessitating updates of all the assembly functions that have unsized ints as arguments or results. code.google.com/p/rsc/cmd/asmlint is the tool I wrote to read Go forward declaration and scan assembly listings for incorrect offsets or type mismatches. This is what I used to update the Go tree when we made the change. Now that cmd/vet knows about build.Packages, it should be straightforward to drop this code into a new vet module and have it emit errors. The asmlint command also has a "fix everything" mode, but we could drop or disable that for integration with vet. I think it suffices to report the errors. https://code.google.com/p/rsc/source/browse/cmd/asmlint/main.go
This issue was closed.