github.com/gmemcc/yaegi@v0.12.1-0.20221128122509-aa99124c5d16/stdlib/go1_16_debug_dwarf.go (about) 1 // Code generated by 'yaegi extract debug/dwarf'. DO NOT EDIT. 2 3 // +build go1.16,!go1.17 4 5 package stdlib 6 7 import ( 8 "debug/dwarf" 9 "reflect" 10 ) 11 12 func init() { 13 Symbols["debug/dwarf/dwarf"] = map[string]reflect.Value{ 14 // function, constant and variable definitions 15 "AttrAbstractOrigin": reflect.ValueOf(dwarf.AttrAbstractOrigin), 16 "AttrAccessibility": reflect.ValueOf(dwarf.AttrAccessibility), 17 "AttrAddrBase": reflect.ValueOf(dwarf.AttrAddrBase), 18 "AttrAddrClass": reflect.ValueOf(dwarf.AttrAddrClass), 19 "AttrAlignment": reflect.ValueOf(dwarf.AttrAlignment), 20 "AttrAllocated": reflect.ValueOf(dwarf.AttrAllocated), 21 "AttrArtificial": reflect.ValueOf(dwarf.AttrArtificial), 22 "AttrAssociated": reflect.ValueOf(dwarf.AttrAssociated), 23 "AttrBaseTypes": reflect.ValueOf(dwarf.AttrBaseTypes), 24 "AttrBinaryScale": reflect.ValueOf(dwarf.AttrBinaryScale), 25 "AttrBitOffset": reflect.ValueOf(dwarf.AttrBitOffset), 26 "AttrBitSize": reflect.ValueOf(dwarf.AttrBitSize), 27 "AttrByteSize": reflect.ValueOf(dwarf.AttrByteSize), 28 "AttrCallAllCalls": reflect.ValueOf(dwarf.AttrCallAllCalls), 29 "AttrCallAllSourceCalls": reflect.ValueOf(dwarf.AttrCallAllSourceCalls), 30 "AttrCallAllTailCalls": reflect.ValueOf(dwarf.AttrCallAllTailCalls), 31 "AttrCallColumn": reflect.ValueOf(dwarf.AttrCallColumn), 32 "AttrCallDataLocation": reflect.ValueOf(dwarf.AttrCallDataLocation), 33 "AttrCallDataValue": reflect.ValueOf(dwarf.AttrCallDataValue), 34 "AttrCallFile": reflect.ValueOf(dwarf.AttrCallFile), 35 "AttrCallLine": reflect.ValueOf(dwarf.AttrCallLine), 36 "AttrCallOrigin": reflect.ValueOf(dwarf.AttrCallOrigin), 37 "AttrCallPC": reflect.ValueOf(dwarf.AttrCallPC), 38 "AttrCallParameter": reflect.ValueOf(dwarf.AttrCallParameter), 39 "AttrCallReturnPC": reflect.ValueOf(dwarf.AttrCallReturnPC), 40 "AttrCallTailCall": reflect.ValueOf(dwarf.AttrCallTailCall), 41 "AttrCallTarget": reflect.ValueOf(dwarf.AttrCallTarget), 42 "AttrCallTargetClobbered": reflect.ValueOf(dwarf.AttrCallTargetClobbered), 43 "AttrCallValue": reflect.ValueOf(dwarf.AttrCallValue), 44 "AttrCalling": reflect.ValueOf(dwarf.AttrCalling), 45 "AttrCommonRef": reflect.ValueOf(dwarf.AttrCommonRef), 46 "AttrCompDir": reflect.ValueOf(dwarf.AttrCompDir), 47 "AttrConstExpr": reflect.ValueOf(dwarf.AttrConstExpr), 48 "AttrConstValue": reflect.ValueOf(dwarf.AttrConstValue), 49 "AttrContainingType": reflect.ValueOf(dwarf.AttrContainingType), 50 "AttrCount": reflect.ValueOf(dwarf.AttrCount), 51 "AttrDataBitOffset": reflect.ValueOf(dwarf.AttrDataBitOffset), 52 "AttrDataLocation": reflect.ValueOf(dwarf.AttrDataLocation), 53 "AttrDataMemberLoc": reflect.ValueOf(dwarf.AttrDataMemberLoc), 54 "AttrDecimalScale": reflect.ValueOf(dwarf.AttrDecimalScale), 55 "AttrDecimalSign": reflect.ValueOf(dwarf.AttrDecimalSign), 56 "AttrDeclColumn": reflect.ValueOf(dwarf.AttrDeclColumn), 57 "AttrDeclFile": reflect.ValueOf(dwarf.AttrDeclFile), 58 "AttrDeclLine": reflect.ValueOf(dwarf.AttrDeclLine), 59 "AttrDeclaration": reflect.ValueOf(dwarf.AttrDeclaration), 60 "AttrDefaultValue": reflect.ValueOf(dwarf.AttrDefaultValue), 61 "AttrDefaulted": reflect.ValueOf(dwarf.AttrDefaulted), 62 "AttrDeleted": reflect.ValueOf(dwarf.AttrDeleted), 63 "AttrDescription": reflect.ValueOf(dwarf.AttrDescription), 64 "AttrDigitCount": reflect.ValueOf(dwarf.AttrDigitCount), 65 "AttrDiscr": reflect.ValueOf(dwarf.AttrDiscr), 66 "AttrDiscrList": reflect.ValueOf(dwarf.AttrDiscrList), 67 "AttrDiscrValue": reflect.ValueOf(dwarf.AttrDiscrValue), 68 "AttrDwoName": reflect.ValueOf(dwarf.AttrDwoName), 69 "AttrElemental": reflect.ValueOf(dwarf.AttrElemental), 70 "AttrEncoding": reflect.ValueOf(dwarf.AttrEncoding), 71 "AttrEndianity": reflect.ValueOf(dwarf.AttrEndianity), 72 "AttrEntrypc": reflect.ValueOf(dwarf.AttrEntrypc), 73 "AttrEnumClass": reflect.ValueOf(dwarf.AttrEnumClass), 74 "AttrExplicit": reflect.ValueOf(dwarf.AttrExplicit), 75 "AttrExportSymbols": reflect.ValueOf(dwarf.AttrExportSymbols), 76 "AttrExtension": reflect.ValueOf(dwarf.AttrExtension), 77 "AttrExternal": reflect.ValueOf(dwarf.AttrExternal), 78 "AttrFrameBase": reflect.ValueOf(dwarf.AttrFrameBase), 79 "AttrFriend": reflect.ValueOf(dwarf.AttrFriend), 80 "AttrHighpc": reflect.ValueOf(dwarf.AttrHighpc), 81 "AttrIdentifierCase": reflect.ValueOf(dwarf.AttrIdentifierCase), 82 "AttrImport": reflect.ValueOf(dwarf.AttrImport), 83 "AttrInline": reflect.ValueOf(dwarf.AttrInline), 84 "AttrIsOptional": reflect.ValueOf(dwarf.AttrIsOptional), 85 "AttrLanguage": reflect.ValueOf(dwarf.AttrLanguage), 86 "AttrLinkageName": reflect.ValueOf(dwarf.AttrLinkageName), 87 "AttrLocation": reflect.ValueOf(dwarf.AttrLocation), 88 "AttrLoclistsBase": reflect.ValueOf(dwarf.AttrLoclistsBase), 89 "AttrLowerBound": reflect.ValueOf(dwarf.AttrLowerBound), 90 "AttrLowpc": reflect.ValueOf(dwarf.AttrLowpc), 91 "AttrMacroInfo": reflect.ValueOf(dwarf.AttrMacroInfo), 92 "AttrMacros": reflect.ValueOf(dwarf.AttrMacros), 93 "AttrMainSubprogram": reflect.ValueOf(dwarf.AttrMainSubprogram), 94 "AttrMutable": reflect.ValueOf(dwarf.AttrMutable), 95 "AttrName": reflect.ValueOf(dwarf.AttrName), 96 "AttrNamelistItem": reflect.ValueOf(dwarf.AttrNamelistItem), 97 "AttrNoreturn": reflect.ValueOf(dwarf.AttrNoreturn), 98 "AttrObjectPointer": reflect.ValueOf(dwarf.AttrObjectPointer), 99 "AttrOrdering": reflect.ValueOf(dwarf.AttrOrdering), 100 "AttrPictureString": reflect.ValueOf(dwarf.AttrPictureString), 101 "AttrPriority": reflect.ValueOf(dwarf.AttrPriority), 102 "AttrProducer": reflect.ValueOf(dwarf.AttrProducer), 103 "AttrPrototyped": reflect.ValueOf(dwarf.AttrPrototyped), 104 "AttrPure": reflect.ValueOf(dwarf.AttrPure), 105 "AttrRanges": reflect.ValueOf(dwarf.AttrRanges), 106 "AttrRank": reflect.ValueOf(dwarf.AttrRank), 107 "AttrRecursive": reflect.ValueOf(dwarf.AttrRecursive), 108 "AttrReference": reflect.ValueOf(dwarf.AttrReference), 109 "AttrReturnAddr": reflect.ValueOf(dwarf.AttrReturnAddr), 110 "AttrRnglistsBase": reflect.ValueOf(dwarf.AttrRnglistsBase), 111 "AttrRvalueReference": reflect.ValueOf(dwarf.AttrRvalueReference), 112 "AttrSegment": reflect.ValueOf(dwarf.AttrSegment), 113 "AttrSibling": reflect.ValueOf(dwarf.AttrSibling), 114 "AttrSignature": reflect.ValueOf(dwarf.AttrSignature), 115 "AttrSmall": reflect.ValueOf(dwarf.AttrSmall), 116 "AttrSpecification": reflect.ValueOf(dwarf.AttrSpecification), 117 "AttrStartScope": reflect.ValueOf(dwarf.AttrStartScope), 118 "AttrStaticLink": reflect.ValueOf(dwarf.AttrStaticLink), 119 "AttrStmtList": reflect.ValueOf(dwarf.AttrStmtList), 120 "AttrStrOffsetsBase": reflect.ValueOf(dwarf.AttrStrOffsetsBase), 121 "AttrStride": reflect.ValueOf(dwarf.AttrStride), 122 "AttrStrideSize": reflect.ValueOf(dwarf.AttrStrideSize), 123 "AttrStringLength": reflect.ValueOf(dwarf.AttrStringLength), 124 "AttrStringLengthBitSize": reflect.ValueOf(dwarf.AttrStringLengthBitSize), 125 "AttrStringLengthByteSize": reflect.ValueOf(dwarf.AttrStringLengthByteSize), 126 "AttrThreadsScaled": reflect.ValueOf(dwarf.AttrThreadsScaled), 127 "AttrTrampoline": reflect.ValueOf(dwarf.AttrTrampoline), 128 "AttrType": reflect.ValueOf(dwarf.AttrType), 129 "AttrUpperBound": reflect.ValueOf(dwarf.AttrUpperBound), 130 "AttrUseLocation": reflect.ValueOf(dwarf.AttrUseLocation), 131 "AttrUseUTF8": reflect.ValueOf(dwarf.AttrUseUTF8), 132 "AttrVarParam": reflect.ValueOf(dwarf.AttrVarParam), 133 "AttrVirtuality": reflect.ValueOf(dwarf.AttrVirtuality), 134 "AttrVisibility": reflect.ValueOf(dwarf.AttrVisibility), 135 "AttrVtableElemLoc": reflect.ValueOf(dwarf.AttrVtableElemLoc), 136 "ClassAddrPtr": reflect.ValueOf(dwarf.ClassAddrPtr), 137 "ClassAddress": reflect.ValueOf(dwarf.ClassAddress), 138 "ClassBlock": reflect.ValueOf(dwarf.ClassBlock), 139 "ClassConstant": reflect.ValueOf(dwarf.ClassConstant), 140 "ClassExprLoc": reflect.ValueOf(dwarf.ClassExprLoc), 141 "ClassFlag": reflect.ValueOf(dwarf.ClassFlag), 142 "ClassLinePtr": reflect.ValueOf(dwarf.ClassLinePtr), 143 "ClassLocList": reflect.ValueOf(dwarf.ClassLocList), 144 "ClassLocListPtr": reflect.ValueOf(dwarf.ClassLocListPtr), 145 "ClassMacPtr": reflect.ValueOf(dwarf.ClassMacPtr), 146 "ClassRangeListPtr": reflect.ValueOf(dwarf.ClassRangeListPtr), 147 "ClassReference": reflect.ValueOf(dwarf.ClassReference), 148 "ClassReferenceAlt": reflect.ValueOf(dwarf.ClassReferenceAlt), 149 "ClassReferenceSig": reflect.ValueOf(dwarf.ClassReferenceSig), 150 "ClassRngList": reflect.ValueOf(dwarf.ClassRngList), 151 "ClassRngListsPtr": reflect.ValueOf(dwarf.ClassRngListsPtr), 152 "ClassStrOffsetsPtr": reflect.ValueOf(dwarf.ClassStrOffsetsPtr), 153 "ClassString": reflect.ValueOf(dwarf.ClassString), 154 "ClassStringAlt": reflect.ValueOf(dwarf.ClassStringAlt), 155 "ClassUnknown": reflect.ValueOf(dwarf.ClassUnknown), 156 "ErrUnknownPC": reflect.ValueOf(&dwarf.ErrUnknownPC).Elem(), 157 "New": reflect.ValueOf(dwarf.New), 158 "TagAccessDeclaration": reflect.ValueOf(dwarf.TagAccessDeclaration), 159 "TagArrayType": reflect.ValueOf(dwarf.TagArrayType), 160 "TagAtomicType": reflect.ValueOf(dwarf.TagAtomicType), 161 "TagBaseType": reflect.ValueOf(dwarf.TagBaseType), 162 "TagCallSite": reflect.ValueOf(dwarf.TagCallSite), 163 "TagCallSiteParameter": reflect.ValueOf(dwarf.TagCallSiteParameter), 164 "TagCatchDwarfBlock": reflect.ValueOf(dwarf.TagCatchDwarfBlock), 165 "TagClassType": reflect.ValueOf(dwarf.TagClassType), 166 "TagCoarrayType": reflect.ValueOf(dwarf.TagCoarrayType), 167 "TagCommonDwarfBlock": reflect.ValueOf(dwarf.TagCommonDwarfBlock), 168 "TagCommonInclusion": reflect.ValueOf(dwarf.TagCommonInclusion), 169 "TagCompileUnit": reflect.ValueOf(dwarf.TagCompileUnit), 170 "TagCondition": reflect.ValueOf(dwarf.TagCondition), 171 "TagConstType": reflect.ValueOf(dwarf.TagConstType), 172 "TagConstant": reflect.ValueOf(dwarf.TagConstant), 173 "TagDwarfProcedure": reflect.ValueOf(dwarf.TagDwarfProcedure), 174 "TagDynamicType": reflect.ValueOf(dwarf.TagDynamicType), 175 "TagEntryPoint": reflect.ValueOf(dwarf.TagEntryPoint), 176 "TagEnumerationType": reflect.ValueOf(dwarf.TagEnumerationType), 177 "TagEnumerator": reflect.ValueOf(dwarf.TagEnumerator), 178 "TagFileType": reflect.ValueOf(dwarf.TagFileType), 179 "TagFormalParameter": reflect.ValueOf(dwarf.TagFormalParameter), 180 "TagFriend": reflect.ValueOf(dwarf.TagFriend), 181 "TagGenericSubrange": reflect.ValueOf(dwarf.TagGenericSubrange), 182 "TagImmutableType": reflect.ValueOf(dwarf.TagImmutableType), 183 "TagImportedDeclaration": reflect.ValueOf(dwarf.TagImportedDeclaration), 184 "TagImportedModule": reflect.ValueOf(dwarf.TagImportedModule), 185 "TagImportedUnit": reflect.ValueOf(dwarf.TagImportedUnit), 186 "TagInheritance": reflect.ValueOf(dwarf.TagInheritance), 187 "TagInlinedSubroutine": reflect.ValueOf(dwarf.TagInlinedSubroutine), 188 "TagInterfaceType": reflect.ValueOf(dwarf.TagInterfaceType), 189 "TagLabel": reflect.ValueOf(dwarf.TagLabel), 190 "TagLexDwarfBlock": reflect.ValueOf(dwarf.TagLexDwarfBlock), 191 "TagMember": reflect.ValueOf(dwarf.TagMember), 192 "TagModule": reflect.ValueOf(dwarf.TagModule), 193 "TagMutableType": reflect.ValueOf(dwarf.TagMutableType), 194 "TagNamelist": reflect.ValueOf(dwarf.TagNamelist), 195 "TagNamelistItem": reflect.ValueOf(dwarf.TagNamelistItem), 196 "TagNamespace": reflect.ValueOf(dwarf.TagNamespace), 197 "TagPackedType": reflect.ValueOf(dwarf.TagPackedType), 198 "TagPartialUnit": reflect.ValueOf(dwarf.TagPartialUnit), 199 "TagPointerType": reflect.ValueOf(dwarf.TagPointerType), 200 "TagPtrToMemberType": reflect.ValueOf(dwarf.TagPtrToMemberType), 201 "TagReferenceType": reflect.ValueOf(dwarf.TagReferenceType), 202 "TagRestrictType": reflect.ValueOf(dwarf.TagRestrictType), 203 "TagRvalueReferenceType": reflect.ValueOf(dwarf.TagRvalueReferenceType), 204 "TagSetType": reflect.ValueOf(dwarf.TagSetType), 205 "TagSharedType": reflect.ValueOf(dwarf.TagSharedType), 206 "TagSkeletonUnit": reflect.ValueOf(dwarf.TagSkeletonUnit), 207 "TagStringType": reflect.ValueOf(dwarf.TagStringType), 208 "TagStructType": reflect.ValueOf(dwarf.TagStructType), 209 "TagSubprogram": reflect.ValueOf(dwarf.TagSubprogram), 210 "TagSubrangeType": reflect.ValueOf(dwarf.TagSubrangeType), 211 "TagSubroutineType": reflect.ValueOf(dwarf.TagSubroutineType), 212 "TagTemplateAlias": reflect.ValueOf(dwarf.TagTemplateAlias), 213 "TagTemplateTypeParameter": reflect.ValueOf(dwarf.TagTemplateTypeParameter), 214 "TagTemplateValueParameter": reflect.ValueOf(dwarf.TagTemplateValueParameter), 215 "TagThrownType": reflect.ValueOf(dwarf.TagThrownType), 216 "TagTryDwarfBlock": reflect.ValueOf(dwarf.TagTryDwarfBlock), 217 "TagTypeUnit": reflect.ValueOf(dwarf.TagTypeUnit), 218 "TagTypedef": reflect.ValueOf(dwarf.TagTypedef), 219 "TagUnionType": reflect.ValueOf(dwarf.TagUnionType), 220 "TagUnspecifiedParameters": reflect.ValueOf(dwarf.TagUnspecifiedParameters), 221 "TagUnspecifiedType": reflect.ValueOf(dwarf.TagUnspecifiedType), 222 "TagVariable": reflect.ValueOf(dwarf.TagVariable), 223 "TagVariant": reflect.ValueOf(dwarf.TagVariant), 224 "TagVariantPart": reflect.ValueOf(dwarf.TagVariantPart), 225 "TagVolatileType": reflect.ValueOf(dwarf.TagVolatileType), 226 "TagWithStmt": reflect.ValueOf(dwarf.TagWithStmt), 227 228 // type definitions 229 "AddrType": reflect.ValueOf((*dwarf.AddrType)(nil)), 230 "ArrayType": reflect.ValueOf((*dwarf.ArrayType)(nil)), 231 "Attr": reflect.ValueOf((*dwarf.Attr)(nil)), 232 "BasicType": reflect.ValueOf((*dwarf.BasicType)(nil)), 233 "BoolType": reflect.ValueOf((*dwarf.BoolType)(nil)), 234 "CharType": reflect.ValueOf((*dwarf.CharType)(nil)), 235 "Class": reflect.ValueOf((*dwarf.Class)(nil)), 236 "CommonType": reflect.ValueOf((*dwarf.CommonType)(nil)), 237 "ComplexType": reflect.ValueOf((*dwarf.ComplexType)(nil)), 238 "Data": reflect.ValueOf((*dwarf.Data)(nil)), 239 "DecodeError": reflect.ValueOf((*dwarf.DecodeError)(nil)), 240 "DotDotDotType": reflect.ValueOf((*dwarf.DotDotDotType)(nil)), 241 "Entry": reflect.ValueOf((*dwarf.Entry)(nil)), 242 "EnumType": reflect.ValueOf((*dwarf.EnumType)(nil)), 243 "EnumValue": reflect.ValueOf((*dwarf.EnumValue)(nil)), 244 "Field": reflect.ValueOf((*dwarf.Field)(nil)), 245 "FloatType": reflect.ValueOf((*dwarf.FloatType)(nil)), 246 "FuncType": reflect.ValueOf((*dwarf.FuncType)(nil)), 247 "IntType": reflect.ValueOf((*dwarf.IntType)(nil)), 248 "LineEntry": reflect.ValueOf((*dwarf.LineEntry)(nil)), 249 "LineFile": reflect.ValueOf((*dwarf.LineFile)(nil)), 250 "LineReader": reflect.ValueOf((*dwarf.LineReader)(nil)), 251 "LineReaderPos": reflect.ValueOf((*dwarf.LineReaderPos)(nil)), 252 "Offset": reflect.ValueOf((*dwarf.Offset)(nil)), 253 "PtrType": reflect.ValueOf((*dwarf.PtrType)(nil)), 254 "QualType": reflect.ValueOf((*dwarf.QualType)(nil)), 255 "Reader": reflect.ValueOf((*dwarf.Reader)(nil)), 256 "StructField": reflect.ValueOf((*dwarf.StructField)(nil)), 257 "StructType": reflect.ValueOf((*dwarf.StructType)(nil)), 258 "Tag": reflect.ValueOf((*dwarf.Tag)(nil)), 259 "Type": reflect.ValueOf((*dwarf.Type)(nil)), 260 "TypedefType": reflect.ValueOf((*dwarf.TypedefType)(nil)), 261 "UcharType": reflect.ValueOf((*dwarf.UcharType)(nil)), 262 "UintType": reflect.ValueOf((*dwarf.UintType)(nil)), 263 "UnspecifiedType": reflect.ValueOf((*dwarf.UnspecifiedType)(nil)), 264 "UnsupportedType": reflect.ValueOf((*dwarf.UnsupportedType)(nil)), 265 "VoidType": reflect.ValueOf((*dwarf.VoidType)(nil)), 266 267 // interface wrapper definitions 268 "_Type": reflect.ValueOf((*_debug_dwarf_Type)(nil)), 269 } 270 } 271 272 // _debug_dwarf_Type is an interface wrapper for Type type 273 type _debug_dwarf_Type struct { 274 IValue interface{} 275 WCommon func() *dwarf.CommonType 276 WSize func() int64 277 WString func() string 278 } 279 280 func (W _debug_dwarf_Type) Common() *dwarf.CommonType { 281 return W.WCommon() 282 } 283 func (W _debug_dwarf_Type) Size() int64 { 284 return W.WSize() 285 } 286 func (W _debug_dwarf_Type) String() string { 287 if W.WString == nil { 288 return "" 289 } 290 return W.WString() 291 }