github.com/karrick/go@v0.0.0-20170817181416-d5b0ec858b37/src/cmd/vet/all/whitelist/amd64.txt (about) 1 // amd64-specific vet whitelist. See readme.txt for details. 2 3 4 // False positives. 5 6 7 // reflect trampolines intentionally omit arg size. Same for morestack. 8 reflect/asm_amd64.s: [amd64] makeFuncStub: use of 8(SP) points beyond argument frame 9 reflect/asm_amd64.s: [amd64] methodValueCall: use of 8(SP) points beyond argument frame 10 runtime/asm_amd64.s: [amd64] morestack: use of 8(SP) points beyond argument frame 11 runtime/asm_amd64.s: [amd64] morestack: use of 16(SP) points beyond argument frame 12 runtime/asm_amd64.s: [amd64] morestack: use of 8(SP) points beyond argument frame 13 14 // Nothing much to do about cross-package assembly. Unfortunate. 15 runtime/asm_amd64.s: [amd64] cannot check cross-package assembly function: indexShortStr is in package strings 16 runtime/asm_amd64.s: [GOARCH] cannot check cross-package assembly function: Compare is in package bytes 17 runtime/asm_amd64.s: [amd64] cannot check cross-package assembly function: indexShortStr is in package bytes 18 runtime/asm_amd64.s: [amd64] cannot check cross-package assembly function: countByte is in package strings 19 runtime/asm_amd64.s: [amd64] cannot check cross-package assembly function: countByte is in package bytes 20 21 // Intentionally missing declarations. These are special assembly routines. 22 // Some are jumped into from other routines, with values in specific registers. 23 // duff* have direct calls from the compiler. 24 // Others use the platform ABI. 25 // There is no sensible corresponding Go prototype. 26 runtime/asm_amd64.s: [amd64] aeshashbody: function aeshashbody missing Go declaration 27 runtime/asm_amd64.s: [amd64] memeqbody: function memeqbody missing Go declaration 28 runtime/asm_amd64.s: [amd64] cmpbody: function cmpbody missing Go declaration 29 runtime/asm_amd64.s: [amd64] indexbytebody: function indexbytebody missing Go declaration 30 runtime/asm_amd64.s: [amd64] addmoduledata: function addmoduledata missing Go declaration 31 runtime/duff_amd64.s: [amd64] duffzero: function duffzero missing Go declaration 32 runtime/duff_amd64.s: [amd64] duffcopy: function duffcopy missing Go declaration 33 runtime/asm_amd64.s: [amd64] stackcheck: function stackcheck missing Go declaration 34 runtime/asm_amd64.s: [amd64] indexShortStr: function indexShortStr missing Go declaration 35 runtime/asm_amd64.s: [amd64] countByte: function countByte missing Go declaration