github.com/bir3/gocompiler@v0.9.2202/src/debug/dwarf/attr_string.go (about)

     1  // Code generated by "stringer -type Attr -trimprefix=Attr"; DO NOT EDIT.
     2  
     3  package dwarf
     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[AttrSibling-1]
    12  	_ = x[AttrLocation-2]
    13  	_ = x[AttrName-3]
    14  	_ = x[AttrOrdering-9]
    15  	_ = x[AttrByteSize-11]
    16  	_ = x[AttrBitOffset-12]
    17  	_ = x[AttrBitSize-13]
    18  	_ = x[AttrStmtList-16]
    19  	_ = x[AttrLowpc-17]
    20  	_ = x[AttrHighpc-18]
    21  	_ = x[AttrLanguage-19]
    22  	_ = x[AttrDiscr-21]
    23  	_ = x[AttrDiscrValue-22]
    24  	_ = x[AttrVisibility-23]
    25  	_ = x[AttrImport-24]
    26  	_ = x[AttrStringLength-25]
    27  	_ = x[AttrCommonRef-26]
    28  	_ = x[AttrCompDir-27]
    29  	_ = x[AttrConstValue-28]
    30  	_ = x[AttrContainingType-29]
    31  	_ = x[AttrDefaultValue-30]
    32  	_ = x[AttrInline-32]
    33  	_ = x[AttrIsOptional-33]
    34  	_ = x[AttrLowerBound-34]
    35  	_ = x[AttrProducer-37]
    36  	_ = x[AttrPrototyped-39]
    37  	_ = x[AttrReturnAddr-42]
    38  	_ = x[AttrStartScope-44]
    39  	_ = x[AttrStrideSize-46]
    40  	_ = x[AttrUpperBound-47]
    41  	_ = x[AttrAbstractOrigin-49]
    42  	_ = x[AttrAccessibility-50]
    43  	_ = x[AttrAddrClass-51]
    44  	_ = x[AttrArtificial-52]
    45  	_ = x[AttrBaseTypes-53]
    46  	_ = x[AttrCalling-54]
    47  	_ = x[AttrCount-55]
    48  	_ = x[AttrDataMemberLoc-56]
    49  	_ = x[AttrDeclColumn-57]
    50  	_ = x[AttrDeclFile-58]
    51  	_ = x[AttrDeclLine-59]
    52  	_ = x[AttrDeclaration-60]
    53  	_ = x[AttrDiscrList-61]
    54  	_ = x[AttrEncoding-62]
    55  	_ = x[AttrExternal-63]
    56  	_ = x[AttrFrameBase-64]
    57  	_ = x[AttrFriend-65]
    58  	_ = x[AttrIdentifierCase-66]
    59  	_ = x[AttrMacroInfo-67]
    60  	_ = x[AttrNamelistItem-68]
    61  	_ = x[AttrPriority-69]
    62  	_ = x[AttrSegment-70]
    63  	_ = x[AttrSpecification-71]
    64  	_ = x[AttrStaticLink-72]
    65  	_ = x[AttrType-73]
    66  	_ = x[AttrUseLocation-74]
    67  	_ = x[AttrVarParam-75]
    68  	_ = x[AttrVirtuality-76]
    69  	_ = x[AttrVtableElemLoc-77]
    70  	_ = x[AttrAllocated-78]
    71  	_ = x[AttrAssociated-79]
    72  	_ = x[AttrDataLocation-80]
    73  	_ = x[AttrStride-81]
    74  	_ = x[AttrEntrypc-82]
    75  	_ = x[AttrUseUTF8-83]
    76  	_ = x[AttrExtension-84]
    77  	_ = x[AttrRanges-85]
    78  	_ = x[AttrTrampoline-86]
    79  	_ = x[AttrCallColumn-87]
    80  	_ = x[AttrCallFile-88]
    81  	_ = x[AttrCallLine-89]
    82  	_ = x[AttrDescription-90]
    83  	_ = x[AttrBinaryScale-91]
    84  	_ = x[AttrDecimalScale-92]
    85  	_ = x[AttrSmall-93]
    86  	_ = x[AttrDecimalSign-94]
    87  	_ = x[AttrDigitCount-95]
    88  	_ = x[AttrPictureString-96]
    89  	_ = x[AttrMutable-97]
    90  	_ = x[AttrThreadsScaled-98]
    91  	_ = x[AttrExplicit-99]
    92  	_ = x[AttrObjectPointer-100]
    93  	_ = x[AttrEndianity-101]
    94  	_ = x[AttrElemental-102]
    95  	_ = x[AttrPure-103]
    96  	_ = x[AttrRecursive-104]
    97  	_ = x[AttrSignature-105]
    98  	_ = x[AttrMainSubprogram-106]
    99  	_ = x[AttrDataBitOffset-107]
   100  	_ = x[AttrConstExpr-108]
   101  	_ = x[AttrEnumClass-109]
   102  	_ = x[AttrLinkageName-110]
   103  	_ = x[AttrStringLengthBitSize-111]
   104  	_ = x[AttrStringLengthByteSize-112]
   105  	_ = x[AttrRank-113]
   106  	_ = x[AttrStrOffsetsBase-114]
   107  	_ = x[AttrAddrBase-115]
   108  	_ = x[AttrRnglistsBase-116]
   109  	_ = x[AttrDwoName-118]
   110  	_ = x[AttrReference-119]
   111  	_ = x[AttrRvalueReference-120]
   112  	_ = x[AttrMacros-121]
   113  	_ = x[AttrCallAllCalls-122]
   114  	_ = x[AttrCallAllSourceCalls-123]
   115  	_ = x[AttrCallAllTailCalls-124]
   116  	_ = x[AttrCallReturnPC-125]
   117  	_ = x[AttrCallValue-126]
   118  	_ = x[AttrCallOrigin-127]
   119  	_ = x[AttrCallParameter-128]
   120  	_ = x[AttrCallPC-129]
   121  	_ = x[AttrCallTailCall-130]
   122  	_ = x[AttrCallTarget-131]
   123  	_ = x[AttrCallTargetClobbered-132]
   124  	_ = x[AttrCallDataLocation-133]
   125  	_ = x[AttrCallDataValue-134]
   126  	_ = x[AttrNoreturn-135]
   127  	_ = x[AttrAlignment-136]
   128  	_ = x[AttrExportSymbols-137]
   129  	_ = x[AttrDeleted-138]
   130  	_ = x[AttrDefaulted-139]
   131  	_ = x[AttrLoclistsBase-140]
   132  }
   133  
   134  const _Attr_name = "SiblingLocationNameOrderingByteSizeBitOffsetBitSizeStmtListLowpcHighpcLanguageDiscrDiscrValueVisibilityImportStringLengthCommonRefCompDirConstValueContainingTypeDefaultValueInlineIsOptionalLowerBoundProducerPrototypedReturnAddrStartScopeStrideSizeUpperBoundAbstractOriginAccessibilityAddrClassArtificialBaseTypesCallingCountDataMemberLocDeclColumnDeclFileDeclLineDeclarationDiscrListEncodingExternalFrameBaseFriendIdentifierCaseMacroInfoNamelistItemPrioritySegmentSpecificationStaticLinkTypeUseLocationVarParamVirtualityVtableElemLocAllocatedAssociatedDataLocationStrideEntrypcUseUTF8ExtensionRangesTrampolineCallColumnCallFileCallLineDescriptionBinaryScaleDecimalScaleSmallDecimalSignDigitCountPictureStringMutableThreadsScaledExplicitObjectPointerEndianityElementalPureRecursiveSignatureMainSubprogramDataBitOffsetConstExprEnumClassLinkageNameStringLengthBitSizeStringLengthByteSizeRankStrOffsetsBaseAddrBaseRnglistsBaseDwoNameReferenceRvalueReferenceMacrosCallAllCallsCallAllSourceCallsCallAllTailCallsCallReturnPCCallValueCallOriginCallParameterCallPCCallTailCallCallTargetCallTargetClobberedCallDataLocationCallDataValueNoreturnAlignmentExportSymbolsDeletedDefaultedLoclistsBase"
   135  
   136  var _Attr_map = map[Attr]string{
   137  	1:   _Attr_name[0:7],
   138  	2:   _Attr_name[7:15],
   139  	3:   _Attr_name[15:19],
   140  	9:   _Attr_name[19:27],
   141  	11:  _Attr_name[27:35],
   142  	12:  _Attr_name[35:44],
   143  	13:  _Attr_name[44:51],
   144  	16:  _Attr_name[51:59],
   145  	17:  _Attr_name[59:64],
   146  	18:  _Attr_name[64:70],
   147  	19:  _Attr_name[70:78],
   148  	21:  _Attr_name[78:83],
   149  	22:  _Attr_name[83:93],
   150  	23:  _Attr_name[93:103],
   151  	24:  _Attr_name[103:109],
   152  	25:  _Attr_name[109:121],
   153  	26:  _Attr_name[121:130],
   154  	27:  _Attr_name[130:137],
   155  	28:  _Attr_name[137:147],
   156  	29:  _Attr_name[147:161],
   157  	30:  _Attr_name[161:173],
   158  	32:  _Attr_name[173:179],
   159  	33:  _Attr_name[179:189],
   160  	34:  _Attr_name[189:199],
   161  	37:  _Attr_name[199:207],
   162  	39:  _Attr_name[207:217],
   163  	42:  _Attr_name[217:227],
   164  	44:  _Attr_name[227:237],
   165  	46:  _Attr_name[237:247],
   166  	47:  _Attr_name[247:257],
   167  	49:  _Attr_name[257:271],
   168  	50:  _Attr_name[271:284],
   169  	51:  _Attr_name[284:293],
   170  	52:  _Attr_name[293:303],
   171  	53:  _Attr_name[303:312],
   172  	54:  _Attr_name[312:319],
   173  	55:  _Attr_name[319:324],
   174  	56:  _Attr_name[324:337],
   175  	57:  _Attr_name[337:347],
   176  	58:  _Attr_name[347:355],
   177  	59:  _Attr_name[355:363],
   178  	60:  _Attr_name[363:374],
   179  	61:  _Attr_name[374:383],
   180  	62:  _Attr_name[383:391],
   181  	63:  _Attr_name[391:399],
   182  	64:  _Attr_name[399:408],
   183  	65:  _Attr_name[408:414],
   184  	66:  _Attr_name[414:428],
   185  	67:  _Attr_name[428:437],
   186  	68:  _Attr_name[437:449],
   187  	69:  _Attr_name[449:457],
   188  	70:  _Attr_name[457:464],
   189  	71:  _Attr_name[464:477],
   190  	72:  _Attr_name[477:487],
   191  	73:  _Attr_name[487:491],
   192  	74:  _Attr_name[491:502],
   193  	75:  _Attr_name[502:510],
   194  	76:  _Attr_name[510:520],
   195  	77:  _Attr_name[520:533],
   196  	78:  _Attr_name[533:542],
   197  	79:  _Attr_name[542:552],
   198  	80:  _Attr_name[552:564],
   199  	81:  _Attr_name[564:570],
   200  	82:  _Attr_name[570:577],
   201  	83:  _Attr_name[577:584],
   202  	84:  _Attr_name[584:593],
   203  	85:  _Attr_name[593:599],
   204  	86:  _Attr_name[599:609],
   205  	87:  _Attr_name[609:619],
   206  	88:  _Attr_name[619:627],
   207  	89:  _Attr_name[627:635],
   208  	90:  _Attr_name[635:646],
   209  	91:  _Attr_name[646:657],
   210  	92:  _Attr_name[657:669],
   211  	93:  _Attr_name[669:674],
   212  	94:  _Attr_name[674:685],
   213  	95:  _Attr_name[685:695],
   214  	96:  _Attr_name[695:708],
   215  	97:  _Attr_name[708:715],
   216  	98:  _Attr_name[715:728],
   217  	99:  _Attr_name[728:736],
   218  	100: _Attr_name[736:749],
   219  	101: _Attr_name[749:758],
   220  	102: _Attr_name[758:767],
   221  	103: _Attr_name[767:771],
   222  	104: _Attr_name[771:780],
   223  	105: _Attr_name[780:789],
   224  	106: _Attr_name[789:803],
   225  	107: _Attr_name[803:816],
   226  	108: _Attr_name[816:825],
   227  	109: _Attr_name[825:834],
   228  	110: _Attr_name[834:845],
   229  	111: _Attr_name[845:864],
   230  	112: _Attr_name[864:884],
   231  	113: _Attr_name[884:888],
   232  	114: _Attr_name[888:902],
   233  	115: _Attr_name[902:910],
   234  	116: _Attr_name[910:922],
   235  	118: _Attr_name[922:929],
   236  	119: _Attr_name[929:938],
   237  	120: _Attr_name[938:953],
   238  	121: _Attr_name[953:959],
   239  	122: _Attr_name[959:971],
   240  	123: _Attr_name[971:989],
   241  	124: _Attr_name[989:1005],
   242  	125: _Attr_name[1005:1017],
   243  	126: _Attr_name[1017:1026],
   244  	127: _Attr_name[1026:1036],
   245  	128: _Attr_name[1036:1049],
   246  	129: _Attr_name[1049:1055],
   247  	130: _Attr_name[1055:1067],
   248  	131: _Attr_name[1067:1077],
   249  	132: _Attr_name[1077:1096],
   250  	133: _Attr_name[1096:1112],
   251  	134: _Attr_name[1112:1125],
   252  	135: _Attr_name[1125:1133],
   253  	136: _Attr_name[1133:1142],
   254  	137: _Attr_name[1142:1155],
   255  	138: _Attr_name[1155:1162],
   256  	139: _Attr_name[1162:1171],
   257  	140: _Attr_name[1171:1183],
   258  }
   259  
   260  func (i Attr) String() string {
   261  	if str, ok := _Attr_map[i]; ok {
   262  		return str
   263  	}
   264  	return "Attr(" + strconv.FormatInt(int64(i), 10) + ")"
   265  }