github.com/likebike/go--@v0.0.0-20190911215757-0bd925d16e96/go/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  runtime/asm_amd64.s: [amd64] morestack: use of 8(SP) points beyond argument frame
     9  runtime/asm_amd64.s: [amd64] morestack: use of 16(SP) points beyond argument frame
    10  runtime/asm_amd64.s: [amd64] morestack: use of 8(SP) points beyond argument frame
    11  
    12  // Nothing much to do about cross-package assembly. Unfortunate.
    13  runtime/asm_amd64.s: [amd64] cannot check cross-package assembly function: indexShortStr is in package strings
    14  runtime/asm_amd64.s: [GOARCH] cannot check cross-package assembly function: Compare is in package bytes
    15  runtime/asm_amd64.s: [amd64] cannot check cross-package assembly function: indexShortStr is in package bytes
    16  runtime/asm_amd64.s: [amd64] cannot check cross-package assembly function: countByte is in package strings
    17  runtime/asm_amd64.s: [amd64] cannot check cross-package assembly function: countByte is in package bytes
    18  
    19  // Intentionally missing declarations. These are special assembly routines.
    20  // Some are jumped into from other routines, with values in specific registers.
    21  // duff* have direct calls from the compiler.
    22  // Others use the platform ABI.
    23  // There is no sensible corresponding Go prototype.
    24  runtime/asm_amd64.s: [amd64] aeshashbody: function aeshashbody missing Go declaration
    25  runtime/asm_amd64.s: [amd64] memeqbody: function memeqbody missing Go declaration
    26  runtime/asm_amd64.s: [amd64] cmpbody: function cmpbody missing Go declaration
    27  runtime/asm_amd64.s: [amd64] indexbytebody: function indexbytebody missing Go declaration
    28  runtime/asm_amd64.s: [amd64] addmoduledata: function addmoduledata missing Go declaration
    29  runtime/duff_amd64.s: [amd64] duffzero: function duffzero missing Go declaration
    30  runtime/duff_amd64.s: [amd64] duffcopy: function duffcopy missing Go declaration
    31  runtime/asm_amd64.s: [amd64] stackcheck: function stackcheck missing Go declaration
    32  runtime/asm_amd64.s: [amd64] indexShortStr: function indexShortStr missing Go declaration
    33  runtime/asm_amd64.s: [amd64] countByte: function countByte missing Go declaration
    34  runtime/asm_amd64.s: [amd64] gcWriteBarrier: function gcWriteBarrier missing Go declaration