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[SELFRXSECT-2]
    14  	_ = x[SMACHOPLT-3]
    15  	_ = x[STYPE-4]
    16  	_ = x[SSTRING-5]
    17  	_ = x[SGOSTRING-6]
    18  	_ = x[SGOFUNC-7]
    19  	_ = x[SGCBITS-8]
    20  	_ = x[SRODATA-9]
    21  	_ = x[SFUNCTAB-10]
    22  	_ = x[SELFROSECT-11]
    23  	_ = x[STYPERELRO-12]
    24  	_ = x[SSTRINGRELRO-13]
    25  	_ = x[SGOSTRINGRELRO-14]
    26  	_ = x[SGOFUNCRELRO-15]
    27  	_ = x[SGCBITSRELRO-16]
    28  	_ = x[SRODATARELRO-17]
    29  	_ = x[SFUNCTABRELRO-18]
    30  	_ = x[SELFRELROSECT-19]
    31  	_ = x[STYPELINK-20]
    32  	_ = x[SITABLINK-21]
    33  	_ = x[SSYMTAB-22]
    34  	_ = x[SPCLNTAB-23]
    35  	_ = x[SFirstWritable-24]
    36  	_ = x[SBUILDINFO-25]
    37  	_ = x[SELFSECT-26]
    38  	_ = x[SMACHO-27]
    39  	_ = x[SMACHOGOT-28]
    40  	_ = x[SWINDOWS-29]
    41  	_ = x[SELFGOT-30]
    42  	_ = x[SNOPTRDATA-31]
    43  	_ = x[SINITARR-32]
    44  	_ = x[SDATA-33]
    45  	_ = x[SXCOFFTOC-34]
    46  	_ = x[SBSS-35]
    47  	_ = x[SNOPTRBSS-36]
    48  	_ = x[SLIBFUZZER_8BIT_COUNTER-37]
    49  	_ = x[SCOVERAGE_COUNTER-38]
    50  	_ = x[SCOVERAGE_AUXVAR-39]
    51  	_ = x[STLSBSS-40]
    52  	_ = x[SXREF-41]
    53  	_ = x[SMACHOSYMSTR-42]
    54  	_ = x[SMACHOSYMTAB-43]
    55  	_ = x[SMACHOINDIRECTPLT-44]
    56  	_ = x[SMACHOINDIRECTGOT-45]
    57  	_ = x[SFILEPATH-46]
    58  	_ = x[SDYNIMPORT-47]
    59  	_ = x[SHOSTOBJ-48]
    60  	_ = x[SUNDEFEXT-49]
    61  	_ = x[SDWARFSECT-50]
    62  	_ = x[SDWARFCUINFO-51]
    63  	_ = x[SDWARFCONST-52]
    64  	_ = x[SDWARFFCN-53]
    65  	_ = x[SDWARFABSFCN-54]
    66  	_ = x[SDWARFTYPE-55]
    67  	_ = x[SDWARFVAR-56]
    68  	_ = x[SDWARFRANGE-57]
    69  	_ = x[SDWARFLOC-58]
    70  	_ = x[SDWARFLINES-59]
    71  	_ = x[SSEHUNWINDINFO-60]
    72  	_ = x[SSEHSECT-61]
    73  }
    74  
    75  const _SymKind_name = "SxxxSTEXTSELFRXSECTSMACHOPLTSTYPESSTRINGSGOSTRINGSGOFUNCSGCBITSSRODATASFUNCTABSELFROSECTSTYPERELROSSTRINGRELROSGOSTRINGRELROSGOFUNCRELROSGCBITSRELROSRODATARELROSFUNCTABRELROSELFRELROSECTSTYPELINKSITABLINKSSYMTABSPCLNTABSFirstWritableSBUILDINFOSELFSECTSMACHOSMACHOGOTSWINDOWSSELFGOTSNOPTRDATASINITARRSDATASXCOFFTOCSBSSSNOPTRBSSSLIBFUZZER_8BIT_COUNTERSCOVERAGE_COUNTERSCOVERAGE_AUXVARSTLSBSSSXREFSMACHOSYMSTRSMACHOSYMTABSMACHOINDIRECTPLTSMACHOINDIRECTGOTSFILEPATHSDYNIMPORTSHOSTOBJSUNDEFEXTSDWARFSECTSDWARFCUINFOSDWARFCONSTSDWARFFCNSDWARFABSFCNSDWARFTYPESDWARFVARSDWARFRANGESDWARFLOCSDWARFLINESSSEHUNWINDINFOSSEHSECT"
    76  
    77  var _SymKind_index = [...]uint16{0, 4, 9, 19, 28, 33, 40, 49, 56, 63, 70, 78, 88, 98, 110, 124, 136, 148, 160, 173, 186, 195, 204, 211, 219, 233, 243, 251, 257, 266, 274, 281, 291, 299, 304, 313, 317, 326, 349, 366, 382, 389, 394, 406, 418, 435, 452, 461, 471, 479, 488, 498, 510, 521, 530, 542, 552, 561, 572, 581, 592, 606, 614}
    78  
    79  func (i SymKind) String() string {
    80  	if i >= SymKind(len(_SymKind_index)-1) {
    81  		return "SymKind(" + strconv.FormatInt(int64(i), 10) + ")"
    82  	}
    83  	return _SymKind_name[_SymKind_index[i]:_SymKind_index[i+1]]
    84  }
    85  

View as plain text