Source file src/cmd/link/internal/sym/symkind_string.go

     1  // Code generated by "stringer -type=SymKind"; DO NOT EDIT.
     2  
     3  package sym
     4  
     5  import "strconv"
     6  
     7  func _() {
     8  	// An "invalid array index" compiler error signifies that the constant values have changed.
     9  	// Re-run the stringer command to generate them again.
    10  	var x [1]struct{}
    11  	_ = x[Sxxx-0]
    12  	_ = x[STEXT-1]
    13  	_ = x[STEXTFIPSSTART-2]
    14  	_ = x[STEXTFIPS-3]
    15  	_ = x[STEXTFIPSEND-4]
    16  	_ = x[STEXTEND-5]
    17  	_ = x[SELFRXSECT-6]
    18  	_ = x[SMACHOPLT-7]
    19  	_ = x[STYPE-8]
    20  	_ = x[SSTRING-9]
    21  	_ = x[SGOSTRING-10]
    22  	_ = x[SGOFUNC-11]
    23  	_ = x[SGCBITS-12]
    24  	_ = x[SRODATA-13]
    25  	_ = x[SRODATAFIPSSTART-14]
    26  	_ = x[SRODATAFIPS-15]
    27  	_ = x[SRODATAFIPSEND-16]
    28  	_ = x[SRODATAEND-17]
    29  	_ = x[SFUNCTAB-18]
    30  	_ = x[SELFROSECT-19]
    31  	_ = x[STYPERELRO-20]
    32  	_ = x[SSTRINGRELRO-21]
    33  	_ = x[SGOSTRINGRELRO-22]
    34  	_ = x[SGOFUNCRELRO-23]
    35  	_ = x[SGCBITSRELRO-24]
    36  	_ = x[SRODATARELRO-25]
    37  	_ = x[SFUNCTABRELRO-26]
    38  	_ = x[SELFRELROSECT-27]
    39  	_ = x[STYPELINK-28]
    40  	_ = x[SITABLINK-29]
    41  	_ = x[SSYMTAB-30]
    42  	_ = x[SPCLNTAB-31]
    43  	_ = x[SFirstWritable-32]
    44  	_ = x[SBUILDINFO-33]
    45  	_ = x[SFIPSINFO-34]
    46  	_ = x[SELFSECT-35]
    47  	_ = x[SMACHO-36]
    48  	_ = x[SMACHOGOT-37]
    49  	_ = x[SWINDOWS-38]
    50  	_ = x[SELFGOT-39]
    51  	_ = x[SNOPTRDATA-40]
    52  	_ = x[SNOPTRDATAFIPSSTART-41]
    53  	_ = x[SNOPTRDATAFIPS-42]
    54  	_ = x[SNOPTRDATAFIPSEND-43]
    55  	_ = x[SNOPTRDATAEND-44]
    56  	_ = x[SINITARR-45]
    57  	_ = x[SDATA-46]
    58  	_ = x[SDATAFIPSSTART-47]
    59  	_ = x[SDATAFIPS-48]
    60  	_ = x[SDATAFIPSEND-49]
    61  	_ = x[SDATAEND-50]
    62  	_ = x[SXCOFFTOC-51]
    63  	_ = x[SBSS-52]
    64  	_ = x[SNOPTRBSS-53]
    65  	_ = x[SLIBFUZZER_8BIT_COUNTER-54]
    66  	_ = x[SCOVERAGE_COUNTER-55]
    67  	_ = x[SCOVERAGE_AUXVAR-56]
    68  	_ = x[STLSBSS-57]
    69  	_ = x[SXREF-58]
    70  	_ = x[SMACHOSYMSTR-59]
    71  	_ = x[SMACHOSYMTAB-60]
    72  	_ = x[SMACHOINDIRECTPLT-61]
    73  	_ = x[SMACHOINDIRECTGOT-62]
    74  	_ = x[SFILEPATH-63]
    75  	_ = x[SDYNIMPORT-64]
    76  	_ = x[SHOSTOBJ-65]
    77  	_ = x[SUNDEFEXT-66]
    78  	_ = x[SDWARFSECT-67]
    79  	_ = x[SDWARFCUINFO-68]
    80  	_ = x[SDWARFCONST-69]
    81  	_ = x[SDWARFFCN-70]
    82  	_ = x[SDWARFABSFCN-71]
    83  	_ = x[SDWARFTYPE-72]
    84  	_ = x[SDWARFVAR-73]
    85  	_ = x[SDWARFRANGE-74]
    86  	_ = x[SDWARFLOC-75]
    87  	_ = x[SDWARFLINES-76]
    88  	_ = x[SSEHUNWINDINFO-77]
    89  	_ = x[SSEHSECT-78]
    90  }
    91  
    92  const _SymKind_name = "SxxxSTEXTSTEXTFIPSSTARTSTEXTFIPSSTEXTFIPSENDSTEXTENDSELFRXSECTSMACHOPLTSTYPESSTRINGSGOSTRINGSGOFUNCSGCBITSSRODATASRODATAFIPSSTARTSRODATAFIPSSRODATAFIPSENDSRODATAENDSFUNCTABSELFROSECTSTYPERELROSSTRINGRELROSGOSTRINGRELROSGOFUNCRELROSGCBITSRELROSRODATARELROSFUNCTABRELROSELFRELROSECTSTYPELINKSITABLINKSSYMTABSPCLNTABSFirstWritableSBUILDINFOSFIPSINFOSELFSECTSMACHOSMACHOGOTSWINDOWSSELFGOTSNOPTRDATASNOPTRDATAFIPSSTARTSNOPTRDATAFIPSSNOPTRDATAFIPSENDSNOPTRDATAENDSINITARRSDATASDATAFIPSSTARTSDATAFIPSSDATAFIPSENDSDATAENDSXCOFFTOCSBSSSNOPTRBSSSLIBFUZZER_8BIT_COUNTERSCOVERAGE_COUNTERSCOVERAGE_AUXVARSTLSBSSSXREFSMACHOSYMSTRSMACHOSYMTABSMACHOINDIRECTPLTSMACHOINDIRECTGOTSFILEPATHSDYNIMPORTSHOSTOBJSUNDEFEXTSDWARFSECTSDWARFCUINFOSDWARFCONSTSDWARFFCNSDWARFABSFCNSDWARFTYPESDWARFVARSDWARFRANGESDWARFLOCSDWARFLINESSSEHUNWINDINFOSSEHSECT"
    93  
    94  var _SymKind_index = [...]uint16{0, 4, 9, 23, 32, 44, 52, 62, 71, 76, 83, 92, 99, 106, 113, 129, 140, 154, 164, 172, 182, 192, 204, 218, 230, 242, 254, 267, 280, 289, 298, 305, 313, 327, 337, 346, 354, 360, 369, 377, 384, 394, 413, 427, 444, 457, 465, 470, 484, 493, 505, 513, 522, 526, 535, 558, 575, 591, 598, 603, 615, 627, 644, 661, 670, 680, 688, 697, 707, 719, 730, 739, 751, 761, 770, 781, 790, 801, 815, 823}
    95  
    96  func (i SymKind) String() string {
    97  	if i >= SymKind(len(_SymKind_index)-1) {
    98  		return "SymKind(" + strconv.FormatInt(int64(i), 10) + ")"
    99  	}
   100  	return _SymKind_name[_SymKind_index[i]:_SymKind_index[i+1]]
   101  }
   102  

View as plain text