github.com/hikaru7719/go@v0.0.0-20181025140707-c8b2ac68906a/src/cmd/vet/all/whitelist/amd64.txt (about) 1 // amd64-specific vet whitelist. See readme.txt for details. 2 3 // False positives. 4 5 // Nothing much to do about cross-package assembly. Unfortunate. 6 internal/bytealg/compare_amd64.s: [amd64] cannot check cross-package assembly function: Compare is in package bytes 7 internal/bytealg/compare_amd64.s: [amd64] cannot check cross-package assembly function: cmpstring is in package runtime 8 9 // reflect trampolines intentionally omit arg size. Same for morestack. 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 // Intentionally missing declarations. These are special assembly routines. 15 // Some are jumped into from other routines, with values in specific registers. 16 // duff* have direct calls from the compiler. 17 // Others use the platform ABI. 18 // There is no sensible corresponding Go prototype. 19 runtime/asm_amd64.s: [amd64] aeshashbody: function aeshashbody missing Go declaration 20 runtime/asm_amd64.s: [amd64] addmoduledata: function addmoduledata missing Go declaration 21 runtime/duff_amd64.s: [amd64] duffzero: function duffzero missing Go declaration 22 runtime/duff_amd64.s: [amd64] duffcopy: function duffcopy missing Go declaration