gtsocial-umbx

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

symkind_string.go (1197B)


      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[SRODATA-2]
     14 	_ = x[SNOPTRDATA-3]
     15 	_ = x[SDATA-4]
     16 	_ = x[SBSS-5]
     17 	_ = x[SNOPTRBSS-6]
     18 	_ = x[STLSBSS-7]
     19 	_ = x[SDWARFCUINFO-8]
     20 	_ = x[SDWARFCONST-9]
     21 	_ = x[SDWARFFCN-10]
     22 	_ = x[SDWARFABSFCN-11]
     23 	_ = x[SDWARFTYPE-12]
     24 	_ = x[SDWARFVAR-13]
     25 	_ = x[SDWARFRANGE-14]
     26 	_ = x[SDWARFLOC-15]
     27 	_ = x[SDWARFLINES-16]
     28 	_ = x[SABIALIAS-17]
     29 	_ = x[SLIBFUZZER_EXTRA_COUNTER-18]
     30 }
     31 
     32 const _SymKind_name = "SxxxSTEXTSRODATASNOPTRDATASDATASBSSSNOPTRBSSSTLSBSSSDWARFCUINFOSDWARFCONSTSDWARFFCNSDWARFABSFCNSDWARFTYPESDWARFVARSDWARFRANGESDWARFLOCSDWARFLINESSABIALIASSLIBFUZZER_EXTRA_COUNTER"
     33 
     34 var _SymKind_index = [...]uint8{0, 4, 9, 16, 26, 31, 35, 44, 51, 63, 74, 83, 95, 105, 114, 125, 134, 145, 154, 178}
     35 
     36 func (i SymKind) String() string {
     37 	if i >= SymKind(len(_SymKind_index)-1) {
     38 		return "SymKind(" + strconv.FormatInt(int64(i), 10) + ")"
     39 	}
     40 	return _SymKind_name[_SymKind_index[i]:_SymKind_index[i+1]]
     41 }