github.com/megatontech/mynoteforgo@v0.0.0-20200507084910-5d0c6ea6e890/源码/cmd/vet/all/whitelist/amd64.txt (about) 1 // amd64-specific vet whitelist. See readme.txt for details. 2 3 // False positives. 4 5 // reflect trampolines intentionally omit arg size. Same for morestack. 6 runtime/asm_amd64.s: [amd64] morestack: use of 8(SP) points beyond argument frame 7 runtime/asm_amd64.s: [amd64] morestack: use of 16(SP) points beyond argument frame 8 runtime/asm_amd64.s: [amd64] morestack: use of 8(SP) points beyond argument frame 9 10 // Intentionally missing declarations. These are special assembly routines. 11 // Some are jumped into from other routines, with values in specific registers. 12 // duff* have direct calls from the compiler. 13 // Others use the platform ABI. 14 // There is no sensible corresponding Go prototype. 15 runtime/asm_amd64.s: [amd64] aeshashbody: function aeshashbody missing Go declaration 16 runtime/asm_amd64.s: [amd64] addmoduledata: function addmoduledata missing Go declaration 17 runtime/duff_amd64.s: [amd64] duffzero: function duffzero missing Go declaration 18 runtime/duff_amd64.s: [amd64] duffcopy: function duffcopy missing Go declaration