github.com/llir/llvm@v0.3.6/ir/enum/dwarftag_string.go (about)

     1  // Code generated by "stringer -linecomment -type DwarfTag"; DO NOT EDIT.
     2  
     3  package enum
     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[DwarfTagNull-0]
    12  	_ = x[DwarfTagArrayType-1]
    13  	_ = x[DwarfTagClassType-2]
    14  	_ = x[DwarfTagEntryPoint-3]
    15  	_ = x[DwarfTagEnumerationType-4]
    16  	_ = x[DwarfTagFormalParameter-5]
    17  	_ = x[DwarfTagImportedDeclaration-8]
    18  	_ = x[DwarfTagLabel-10]
    19  	_ = x[DwarfTagLexicalBlock-11]
    20  	_ = x[DwarfTagMember-13]
    21  	_ = x[DwarfTagPointerType-15]
    22  	_ = x[DwarfTagReferenceType-16]
    23  	_ = x[DwarfTagCompileUnit-17]
    24  	_ = x[DwarfTagStringType-18]
    25  	_ = x[DwarfTagStructureType-19]
    26  	_ = x[DwarfTagSubroutineType-21]
    27  	_ = x[DwarfTagTypedef-22]
    28  	_ = x[DwarfTagUnionType-23]
    29  	_ = x[DwarfTagUnspecifiedParameters-24]
    30  	_ = x[DwarfTagVariant-25]
    31  	_ = x[DwarfTagCommonBlock-26]
    32  	_ = x[DwarfTagCommonInclusion-27]
    33  	_ = x[DwarfTagInheritance-28]
    34  	_ = x[DwarfTagInlinedSubroutine-29]
    35  	_ = x[DwarfTagModule-30]
    36  	_ = x[DwarfTagPtrToMemberType-31]
    37  	_ = x[DwarfTagSetType-32]
    38  	_ = x[DwarfTagSubrangeType-33]
    39  	_ = x[DwarfTagWithStmt-34]
    40  	_ = x[DwarfTagAccessDeclaration-35]
    41  	_ = x[DwarfTagBaseType-36]
    42  	_ = x[DwarfTagCatchBlock-37]
    43  	_ = x[DwarfTagConstType-38]
    44  	_ = x[DwarfTagConstant-39]
    45  	_ = x[DwarfTagEnumerator-40]
    46  	_ = x[DwarfTagFileType-41]
    47  	_ = x[DwarfTagFriend-42]
    48  	_ = x[DwarfTagNamelist-43]
    49  	_ = x[DwarfTagNamelistItem-44]
    50  	_ = x[DwarfTagPackedType-45]
    51  	_ = x[DwarfTagSubprogram-46]
    52  	_ = x[DwarfTagTemplateTypeParameter-47]
    53  	_ = x[DwarfTagTemplateValueParameter-48]
    54  	_ = x[DwarfTagThrownType-49]
    55  	_ = x[DwarfTagTryBlock-50]
    56  	_ = x[DwarfTagVariantPart-51]
    57  	_ = x[DwarfTagVariable-52]
    58  	_ = x[DwarfTagVolatileType-53]
    59  	_ = x[DwarfTagDwarfProcedure-54]
    60  	_ = x[DwarfTagRestrictType-55]
    61  	_ = x[DwarfTagInterfaceType-56]
    62  	_ = x[DwarfTagNamespace-57]
    63  	_ = x[DwarfTagImportedModule-58]
    64  	_ = x[DwarfTagUnspecifiedType-59]
    65  	_ = x[DwarfTagPartialUnit-60]
    66  	_ = x[DwarfTagImportedUnit-61]
    67  	_ = x[DwarfTagCondition-63]
    68  	_ = x[DwarfTagSharedType-64]
    69  	_ = x[DwarfTagTypeUnit-65]
    70  	_ = x[DwarfTagRvalueReferenceType-66]
    71  	_ = x[DwarfTagTemplateAlias-67]
    72  	_ = x[DwarfTagCoarrayType-68]
    73  	_ = x[DwarfTagGenericSubrange-69]
    74  	_ = x[DwarfTagDynamicType-70]
    75  	_ = x[DwarfTagAtomicType-71]
    76  	_ = x[DwarfTagCallSite-72]
    77  	_ = x[DwarfTagCallSiteParameter-73]
    78  	_ = x[DwarfTagSkeletonUnit-74]
    79  	_ = x[DwarfTagImmutableType-75]
    80  	_ = x[DwarfTagMIPSLoop-16513]
    81  	_ = x[DwarfTagFormatLabel-16641]
    82  	_ = x[DwarfTagFunctionTemplate-16642]
    83  	_ = x[DwarfTagClassTemplate-16643]
    84  	_ = x[DwarfTagGNUTemplateTemplateParam-16646]
    85  	_ = x[DwarfTagGNUTemplateParameterPack-16647]
    86  	_ = x[DwarfTagGNUFormalParameterPack-16648]
    87  	_ = x[DwarfTagGNUCallSite-16649]
    88  	_ = x[DwarfTagGNUCallSiteParameter-16650]
    89  	_ = x[DwarfTagAPPLEProperty-16896]
    90  	_ = x[DwarfTagBORLANDProperty-45056]
    91  	_ = x[DwarfTagBORLANDDelphiString-45057]
    92  	_ = x[DwarfTagBORLANDDelphiDynamicArray-45058]
    93  	_ = x[DwarfTagBORLANDDelphiSet-45059]
    94  	_ = x[DwarfTagBORLANDDelphiVariant-45060]
    95  }
    96  
    97  const _DwarfTag_name = "DW_TAG_nullDW_TAG_array_typeDW_TAG_class_typeDW_TAG_entry_pointDW_TAG_enumeration_typeDW_TAG_formal_parameterDW_TAG_imported_declarationDW_TAG_labelDW_TAG_lexical_blockDW_TAG_memberDW_TAG_pointer_typeDW_TAG_reference_typeDW_TAG_compile_unitDW_TAG_string_typeDW_TAG_structure_typeDW_TAG_subroutine_typeDW_TAG_typedefDW_TAG_union_typeDW_TAG_unspecified_parametersDW_TAG_variantDW_TAG_common_blockDW_TAG_common_inclusionDW_TAG_inheritanceDW_TAG_inlined_subroutineDW_TAG_moduleDW_TAG_ptr_to_member_typeDW_TAG_set_typeDW_TAG_subrange_typeDW_TAG_with_stmtDW_TAG_access_declarationDW_TAG_base_typeDW_TAG_catch_blockDW_TAG_const_typeDW_TAG_constantDW_TAG_enumeratorDW_TAG_file_typeDW_TAG_friendDW_TAG_namelistDW_TAG_namelist_itemDW_TAG_packed_typeDW_TAG_subprogramDW_TAG_template_type_parameterDW_TAG_template_value_parameterDW_TAG_thrown_typeDW_TAG_try_blockDW_TAG_variant_partDW_TAG_variableDW_TAG_volatile_typeDW_TAG_dwarf_procedureDW_TAG_restrict_typeDW_TAG_interface_typeDW_TAG_namespaceDW_TAG_imported_moduleDW_TAG_unspecified_typeDW_TAG_partial_unitDW_TAG_imported_unitDW_TAG_conditionDW_TAG_shared_typeDW_TAG_type_unitDW_TAG_rvalue_reference_typeDW_TAG_template_aliasDW_TAG_coarray_typeDW_TAG_generic_subrangeDW_TAG_dynamic_typeDW_TAG_atomic_typeDW_TAG_call_siteDW_TAG_call_site_parameterDW_TAG_skeleton_unitDW_TAG_immutable_typeDW_TAG_MIPS_loopDW_TAG_format_labelDW_TAG_function_templateDW_TAG_class_templateDW_TAG_GNU_template_template_paramDW_TAG_GNU_template_parameter_packDW_TAG_GNU_formal_parameter_packDW_TAG_GNU_call_siteDW_TAG_GNU_call_site_parameterDW_TAG_APPLE_propertyDW_TAG_BORLAND_propertyDW_TAG_BORLAND_Delphi_stringDW_TAG_BORLAND_Delphi_dynamic_arrayDW_TAG_BORLAND_Delphi_setDW_TAG_BORLAND_Delphi_variant"
    98  
    99  var _DwarfTag_map = map[DwarfTag]string{
   100  	0:     _DwarfTag_name[0:11],
   101  	1:     _DwarfTag_name[11:28],
   102  	2:     _DwarfTag_name[28:45],
   103  	3:     _DwarfTag_name[45:63],
   104  	4:     _DwarfTag_name[63:86],
   105  	5:     _DwarfTag_name[86:109],
   106  	8:     _DwarfTag_name[109:136],
   107  	10:    _DwarfTag_name[136:148],
   108  	11:    _DwarfTag_name[148:168],
   109  	13:    _DwarfTag_name[168:181],
   110  	15:    _DwarfTag_name[181:200],
   111  	16:    _DwarfTag_name[200:221],
   112  	17:    _DwarfTag_name[221:240],
   113  	18:    _DwarfTag_name[240:258],
   114  	19:    _DwarfTag_name[258:279],
   115  	21:    _DwarfTag_name[279:301],
   116  	22:    _DwarfTag_name[301:315],
   117  	23:    _DwarfTag_name[315:332],
   118  	24:    _DwarfTag_name[332:361],
   119  	25:    _DwarfTag_name[361:375],
   120  	26:    _DwarfTag_name[375:394],
   121  	27:    _DwarfTag_name[394:417],
   122  	28:    _DwarfTag_name[417:435],
   123  	29:    _DwarfTag_name[435:460],
   124  	30:    _DwarfTag_name[460:473],
   125  	31:    _DwarfTag_name[473:498],
   126  	32:    _DwarfTag_name[498:513],
   127  	33:    _DwarfTag_name[513:533],
   128  	34:    _DwarfTag_name[533:549],
   129  	35:    _DwarfTag_name[549:574],
   130  	36:    _DwarfTag_name[574:590],
   131  	37:    _DwarfTag_name[590:608],
   132  	38:    _DwarfTag_name[608:625],
   133  	39:    _DwarfTag_name[625:640],
   134  	40:    _DwarfTag_name[640:657],
   135  	41:    _DwarfTag_name[657:673],
   136  	42:    _DwarfTag_name[673:686],
   137  	43:    _DwarfTag_name[686:701],
   138  	44:    _DwarfTag_name[701:721],
   139  	45:    _DwarfTag_name[721:739],
   140  	46:    _DwarfTag_name[739:756],
   141  	47:    _DwarfTag_name[756:786],
   142  	48:    _DwarfTag_name[786:817],
   143  	49:    _DwarfTag_name[817:835],
   144  	50:    _DwarfTag_name[835:851],
   145  	51:    _DwarfTag_name[851:870],
   146  	52:    _DwarfTag_name[870:885],
   147  	53:    _DwarfTag_name[885:905],
   148  	54:    _DwarfTag_name[905:927],
   149  	55:    _DwarfTag_name[927:947],
   150  	56:    _DwarfTag_name[947:968],
   151  	57:    _DwarfTag_name[968:984],
   152  	58:    _DwarfTag_name[984:1006],
   153  	59:    _DwarfTag_name[1006:1029],
   154  	60:    _DwarfTag_name[1029:1048],
   155  	61:    _DwarfTag_name[1048:1068],
   156  	63:    _DwarfTag_name[1068:1084],
   157  	64:    _DwarfTag_name[1084:1102],
   158  	65:    _DwarfTag_name[1102:1118],
   159  	66:    _DwarfTag_name[1118:1146],
   160  	67:    _DwarfTag_name[1146:1167],
   161  	68:    _DwarfTag_name[1167:1186],
   162  	69:    _DwarfTag_name[1186:1209],
   163  	70:    _DwarfTag_name[1209:1228],
   164  	71:    _DwarfTag_name[1228:1246],
   165  	72:    _DwarfTag_name[1246:1262],
   166  	73:    _DwarfTag_name[1262:1288],
   167  	74:    _DwarfTag_name[1288:1308],
   168  	75:    _DwarfTag_name[1308:1329],
   169  	16513: _DwarfTag_name[1329:1345],
   170  	16641: _DwarfTag_name[1345:1364],
   171  	16642: _DwarfTag_name[1364:1388],
   172  	16643: _DwarfTag_name[1388:1409],
   173  	16646: _DwarfTag_name[1409:1443],
   174  	16647: _DwarfTag_name[1443:1477],
   175  	16648: _DwarfTag_name[1477:1509],
   176  	16649: _DwarfTag_name[1509:1529],
   177  	16650: _DwarfTag_name[1529:1559],
   178  	16896: _DwarfTag_name[1559:1580],
   179  	45056: _DwarfTag_name[1580:1603],
   180  	45057: _DwarfTag_name[1603:1631],
   181  	45058: _DwarfTag_name[1631:1666],
   182  	45059: _DwarfTag_name[1666:1691],
   183  	45060: _DwarfTag_name[1691:1720],
   184  }
   185  
   186  func (i DwarfTag) String() string {
   187  	if str, ok := _DwarfTag_map[i]; ok {
   188  		return str
   189  	}
   190  	return "DwarfTag(" + strconv.FormatInt(int64(i), 10) + ")"
   191  }