...
Run Format

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

Documentation: cmd/internal/objabi

     1  // Code generated by "stringer -type=SymKind"; DO NOT EDIT.
     2  
     3  package objabi
     4  
     5  import "strconv"
     6  
     7  const _SymKind_name = "SxxxSTEXTSRODATASNOPTRDATASDATASBSSSNOPTRBSSSTLSBSSSDWARFINFOSDWARFRANGESDWARFLOCSDWARFMISC"
     8  
     9  var _SymKind_index = [...]uint8{0, 4, 9, 16, 26, 31, 35, 44, 51, 61, 72, 81, 91}
    10  
    11  func (i SymKind) String() string {
    12  	if i >= SymKind(len(_SymKind_index)-1) {
    13  		return "SymKind(" + strconv.FormatInt(int64(i), 10) + ")"
    14  	}
    15  	return _SymKind_name[_SymKind_index[i]:_SymKind_index[i+1]]
    16  }
    17  

View as plain text