Source file src/cmd/internal/objabi/symkind_string.go

     1  // Code generated by "stringer -type=SymKind"; DO NOT EDIT.
     2  
     3  package objabi
     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[STEXTFIPS-2]
    14  	_ = x[SRODATA-3]
    15  	_ = x[SRODATAFIPS-4]
    16  	_ = x[SNOPTRDATA-5]
    17  	_ = x[SNOPTRDATAFIPS-6]
    18  	_ = x[SDATA-7]
    19  	_ = x[SDATAFIPS-8]
    20  	_ = x[SBSS-9]
    21  	_ = x[SNOPTRBSS-10]
    22  	_ = x[STLSBSS-11]
    23  	_ = x[SDWARFCUINFO-12]
    24  	_ = x[SDWARFCONST-13]
    25  	_ = x[SDWARFFCN-14]
    26  	_ = x[SDWARFABSFCN-15]
    27  	_ = x[SDWARFTYPE-16]
    28  	_ = x[SDWARFVAR-17]
    29  	_ = x[SDWARFRANGE-18]
    30  	_ = x[SDWARFLOC-19]
    31  	_ = x[SDWARFLINES-20]
    32  	_ = x[SLIBFUZZER_8BIT_COUNTER-21]
    33  	_ = x[SCOVERAGE_COUNTER-22]
    34  	_ = x[SCOVERAGE_AUXVAR-23]
    35  	_ = x[SSEHUNWINDINFO-24]
    36  }
    37  
    38  const _SymKind_name = "SxxxSTEXTSTEXTFIPSSRODATASRODATAFIPSSNOPTRDATASNOPTRDATAFIPSSDATASDATAFIPSSBSSSNOPTRBSSSTLSBSSSDWARFCUINFOSDWARFCONSTSDWARFFCNSDWARFABSFCNSDWARFTYPESDWARFVARSDWARFRANGESDWARFLOCSDWARFLINESSLIBFUZZER_8BIT_COUNTERSCOVERAGE_COUNTERSCOVERAGE_AUXVARSSEHUNWINDINFO"
    39  
    40  var _SymKind_index = [...]uint16{0, 4, 9, 18, 25, 36, 46, 60, 65, 74, 78, 87, 94, 106, 117, 126, 138, 148, 157, 168, 177, 188, 211, 228, 244, 258}
    41  
    42  func (i SymKind) String() string {
    43  	if i >= SymKind(len(_SymKind_index)-1) {
    44  		return "SymKind(" + strconv.FormatInt(int64(i), 10) + ")"
    45  	}
    46  	return _SymKind_name[_SymKind_index[i]:_SymKind_index[i+1]]
    47  }
    48  

View as plain text