github.com/slayercat/go@v0.0.0-20170428012452-c51559813f61/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: supportAVX2 is in package strings
    19  runtime/asm_amd64.s: [amd64] cannot check cross-package assembly function: supportAVX2 is in package bytes
    20  runtime/asm_amd64.s: [amd64] cannot check cross-package assembly function: supportPOPCNT is in package strings
    21  runtime/asm_amd64.s: [amd64] cannot check cross-package assembly function: supportPOPCNT is in package bytes
    22  runtime/asm_amd64.s: [amd64] cannot check cross-package assembly function: countByte is in package strings
    23  runtime/asm_amd64.s: [amd64] cannot check cross-package assembly function: countByte is in package bytes
    24  
    25  // Intentionally missing declarations. These are special assembly routines.
    26  // Some are jumped into from other routines, with values in specific registers.
    27  // duff* have direct calls from the compiler.
    28  // Others use the platform ABI.
    29  // There is no sensible corresponding Go prototype.
    30  runtime/asm_amd64.s: [amd64] aeshashbody: function aeshashbody missing Go declaration
    31  runtime/asm_amd64.s: [amd64] memeqbody: function memeqbody missing Go declaration
    32  runtime/asm_amd64.s: [amd64] cmpbody: function cmpbody missing Go declaration
    33  runtime/asm_amd64.s: [amd64] indexbytebody: function indexbytebody missing Go declaration
    34  runtime/asm_amd64.s: [amd64] addmoduledata: function addmoduledata missing Go declaration
    35  runtime/duff_amd64.s: [amd64] duffzero: function duffzero missing Go declaration
    36  runtime/duff_amd64.s: [amd64] duffcopy: function duffcopy missing Go declaration
    37  runtime/asm_amd64.s: [amd64] stackcheck: function stackcheck missing Go declaration
    38  runtime/asm_amd64.s: [amd64] indexShortStr: function indexShortStr missing Go declaration
    39  runtime/asm_amd64.s: [amd64] countByte: function countByte missing Go declaration