Versions in this module Expand all Collapse all go1 go1.18.10 Jan 10, 2023 Changes in this version + const AbstractFuncSuffix + const CUInfoPrefix + const ConstInfoPrefix + const DW_ABRV_ARRAYRANGE + const DW_ABRV_ARRAYTYPE + const DW_ABRV_AUTO + const DW_ABRV_AUTO_ABSTRACT + const DW_ABRV_AUTO_CONCRETE + const DW_ABRV_AUTO_CONCRETE_LOCLIST + const DW_ABRV_AUTO_LOCLIST + const DW_ABRV_BARE_PTRTYPE + const DW_ABRV_BASETYPE + const DW_ABRV_CHANTYPE + const DW_ABRV_COMPUNIT + const DW_ABRV_COMPUNIT_TEXTLESS + const DW_ABRV_DICT_INDEX + const DW_ABRV_DOTDOTDOT + const DW_ABRV_FUNCTION + const DW_ABRV_FUNCTION_ABSTRACT + const DW_ABRV_FUNCTION_CONCRETE + const DW_ABRV_FUNCTYPE + const DW_ABRV_FUNCTYPEPARAM + const DW_ABRV_IFACETYPE + const DW_ABRV_INLINED_SUBROUTINE + const DW_ABRV_INLINED_SUBROUTINE_RANGES + const DW_ABRV_INT_CONSTANT + const DW_ABRV_LEXICAL_BLOCK_RANGES + const DW_ABRV_LEXICAL_BLOCK_SIMPLE + const DW_ABRV_MAPTYPE + const DW_ABRV_NULL + const DW_ABRV_NULLTYPE + const DW_ABRV_PARAM + const DW_ABRV_PARAM_ABSTRACT + const DW_ABRV_PARAM_CONCRETE + const DW_ABRV_PARAM_CONCRETE_LOCLIST + const DW_ABRV_PARAM_LOCLIST + const DW_ABRV_PTRTYPE + const DW_ABRV_SLICETYPE + const DW_ABRV_STRINGTYPE + const DW_ABRV_STRUCTFIELD + const DW_ABRV_STRUCTTYPE + const DW_ABRV_TYPEDECL + const DW_ABRV_VARIABLE + const DW_ABRV_WRAPPER + const DW_ABRV_WRAPPER_CONCRETE + const DW_ACCESS_private + const DW_ACCESS_protected + const DW_ACCESS_public + const DW_ATE_address + const DW_ATE_boolean + const DW_ATE_complex_float + const DW_ATE_decimal_float + const DW_ATE_edited + const DW_ATE_float + const DW_ATE_hi_user + const DW_ATE_imaginary_float + const DW_ATE_lo_user + const DW_ATE_numeric_string + const DW_ATE_packed_decimal + const DW_ATE_signed + const DW_ATE_signed_char + const DW_ATE_signed_fixed + const DW_ATE_unsigned + const DW_ATE_unsigned_char + const DW_ATE_unsigned_fixed + const DW_AT_abstract_origin + const DW_AT_accessibility + const DW_AT_address_class + const DW_AT_allocated + const DW_AT_artificial + const DW_AT_associated + const DW_AT_base_types + const DW_AT_binary_scale + const DW_AT_bit_offset + const DW_AT_bit_size + const DW_AT_bit_stride + const DW_AT_byte_size + const DW_AT_byte_stride + const DW_AT_call_column + const DW_AT_call_file + const DW_AT_call_line + const DW_AT_calling_convention + const DW_AT_common_reference + const DW_AT_comp_dir + const DW_AT_const_value + const DW_AT_containing_type + const DW_AT_count + const DW_AT_data_location + const DW_AT_data_member_location + const DW_AT_decimal_scale + const DW_AT_decimal_sign + const DW_AT_decl_column + const DW_AT_decl_file + const DW_AT_decl_line + const DW_AT_declaration + const DW_AT_default_value + const DW_AT_description + const DW_AT_digit_count + const DW_AT_discr + const DW_AT_discr_list + const DW_AT_discr_value + const DW_AT_elemental + const DW_AT_encoding + const DW_AT_endianity + const DW_AT_entry_pc + const DW_AT_explicit + const DW_AT_extension + const DW_AT_external + const DW_AT_frame_base + const DW_AT_friend + const DW_AT_go_dict_index + const DW_AT_go_elem + const DW_AT_go_embedded_field + const DW_AT_go_key + const DW_AT_go_kind + const DW_AT_go_package_name + const DW_AT_go_runtime_type + const DW_AT_hi_user + const DW_AT_high_pc + const DW_AT_identifier_case + const DW_AT_import + const DW_AT_inline + const DW_AT_internal_location + const DW_AT_is_optional + const DW_AT_language + const DW_AT_lo_user + const DW_AT_location + const DW_AT_low_pc + const DW_AT_lower_bound + const DW_AT_macro_info + const DW_AT_mutable + const DW_AT_name + const DW_AT_namelist_item + const DW_AT_object_pointer + const DW_AT_ordering + const DW_AT_picture_string + const DW_AT_priority + const DW_AT_producer + const DW_AT_prototyped + const DW_AT_pure + const DW_AT_ranges + const DW_AT_recursive + const DW_AT_return_addr + const DW_AT_segment + const DW_AT_sibling + const DW_AT_small + const DW_AT_specification + const DW_AT_start_scope + const DW_AT_static_link + const DW_AT_stmt_list + const DW_AT_string_length + const DW_AT_threads_scaled + const DW_AT_trampoline + const DW_AT_type + const DW_AT_upper_bound + const DW_AT_use_UTF8 + const DW_AT_use_location + const DW_AT_variable_parameter + const DW_AT_virtuality + const DW_AT_visibility + const DW_AT_vtable_elem_location + const DW_CC_hi_user + const DW_CC_lo_user + const DW_CC_nocall + const DW_CC_normal + const DW_CC_program + const DW_CFA_advance_loc + const DW_CFA_advance_loc1 + const DW_CFA_advance_loc2 + const DW_CFA_advance_loc4 + const DW_CFA_def_cfa + const DW_CFA_def_cfa_expression + const DW_CFA_def_cfa_offset + const DW_CFA_def_cfa_offset_sf + const DW_CFA_def_cfa_register + const DW_CFA_def_cfa_sf + const DW_CFA_expression + const DW_CFA_hi_user + const DW_CFA_lo_user + const DW_CFA_nop + const DW_CFA_offset + const DW_CFA_offset_extended + const DW_CFA_offset_extended_sf + const DW_CFA_register + const DW_CFA_remember_state + const DW_CFA_restore + const DW_CFA_restore_extended + const DW_CFA_restore_state + const DW_CFA_same_value + const DW_CFA_set_loc + const DW_CFA_undefined + const DW_CFA_val_expression + const DW_CFA_val_offset + const DW_CFA_val_offset_sf + const DW_CHILDREN_no + const DW_CHILDREN_yes + const DW_CLS_ADDRESS + const DW_CLS_ADDRLOC + const DW_CLS_BLOCK + const DW_CLS_CONSTANT + const DW_CLS_FLAG + const DW_CLS_GO_TYPEREF + const DW_CLS_PTR + const DW_CLS_REFERENCE + const DW_CLS_STRING + const DW_DSC_label + const DW_DSC_range + const DW_DS_leading_overpunch + const DW_DS_leading_separate + const DW_DS_trailing_overpunch + const DW_DS_trailing_separate + const DW_DS_unsigned + const DW_END_big + const DW_END_default + const DW_END_hi_user + const DW_END_little + const DW_END_lo_user + const DW_FORM_addr + const DW_FORM_block + const DW_FORM_block1 + const DW_FORM_block2 + const DW_FORM_block4 + const DW_FORM_data1 + const DW_FORM_data2 + const DW_FORM_data4 + const DW_FORM_data8 + const DW_FORM_exprloc + const DW_FORM_flag + const DW_FORM_flag_present + const DW_FORM_indirect + const DW_FORM_ref1 + const DW_FORM_ref2 + const DW_FORM_ref4 + const DW_FORM_ref8 + const DW_FORM_ref_addr + const DW_FORM_ref_sig8 + const DW_FORM_ref_udata + const DW_FORM_sdata + const DW_FORM_sec_offset + const DW_FORM_string + const DW_FORM_strp + const DW_FORM_udata + const DW_FORM_udata_pseudo + const DW_ID_case_insensitive + const DW_ID_case_sensitive + const DW_ID_down_case + const DW_ID_up_case + const DW_INL_declared_inlined + const DW_INL_declared_not_inlined + const DW_INL_inlined + const DW_INL_not_inlined + const DW_LANG_Ada83 + const DW_LANG_Ada95 + const DW_LANG_C + const DW_LANG_C89 + const DW_LANG_C99 + const DW_LANG_C_plus_plus + const DW_LANG_Cobol74 + const DW_LANG_Cobol85 + const DW_LANG_D + const DW_LANG_Fortran77 + const DW_LANG_Fortran90 + const DW_LANG_Fortran95 + const DW_LANG_Go + const DW_LANG_Java + const DW_LANG_Modula2 + const DW_LANG_ObjC + const DW_LANG_ObjC_plus_plus + const DW_LANG_PLI + const DW_LANG_Pascal83 + const DW_LANG_Python + const DW_LANG_UPC + const DW_LANG_hi_user + const DW_LANG_lo_user + const DW_LNE_define_file + const DW_LNE_end_sequence + const DW_LNE_hi_user + const DW_LNE_lo_user + const DW_LNE_set_address + const DW_LNS_advance_line + const DW_LNS_advance_pc + const DW_LNS_const_add_pc + const DW_LNS_copy + const DW_LNS_fixed_advance_pc + const DW_LNS_negate_stmt + const DW_LNS_set_basic_block + const DW_LNS_set_column + const DW_LNS_set_epilogue_begin + const DW_LNS_set_file + const DW_LNS_set_isa + const DW_LNS_set_prologue_end + const DW_MACINFO_define + const DW_MACINFO_end_file + const DW_MACINFO_start_file + const DW_MACINFO_undef + const DW_MACINFO_vendor_ext + const DW_NABRV + const DW_OP_abs + const DW_OP_addr + const DW_OP_and + const DW_OP_bit_piece + const DW_OP_bra + const DW_OP_breg0 + const DW_OP_breg31 + const DW_OP_bregx + const DW_OP_call2 + const DW_OP_call4 + const DW_OP_call_frame_cfa + const DW_OP_call_ref + const DW_OP_const1s + const DW_OP_const1u + const DW_OP_const2s + const DW_OP_const2u + const DW_OP_const4s + const DW_OP_const4u + const DW_OP_const8s + const DW_OP_const8u + const DW_OP_consts + const DW_OP_constu + const DW_OP_deref + const DW_OP_deref_size + const DW_OP_div + const DW_OP_drop + const DW_OP_dup + const DW_OP_eq + const DW_OP_fbreg + const DW_OP_form_tls_address + const DW_OP_ge + const DW_OP_gt + const DW_OP_hi_user + const DW_OP_le + const DW_OP_lit0 + const DW_OP_lit31 + const DW_OP_lo_user + const DW_OP_lt + const DW_OP_minus + const DW_OP_mod + const DW_OP_mul + const DW_OP_ne + const DW_OP_neg + const DW_OP_nop + const DW_OP_not + const DW_OP_or + const DW_OP_over + const DW_OP_pick + const DW_OP_piece + const DW_OP_plus + const DW_OP_plus_uconst + const DW_OP_push_object_address + const DW_OP_reg0 + const DW_OP_reg31 + const DW_OP_regx + const DW_OP_rot + const DW_OP_shl + const DW_OP_shr + const DW_OP_shra + const DW_OP_skip + const DW_OP_swap + const DW_OP_xderef + const DW_OP_xderef_size + const DW_OP_xor + const DW_ORD_col_major + const DW_ORD_row_major + const DW_TAG_access_declaration + const DW_TAG_array_type + const DW_TAG_base_type + const DW_TAG_catch_block + const DW_TAG_class_type + const DW_TAG_common_block + const DW_TAG_common_inclusion + const DW_TAG_compile_unit + const DW_TAG_condition + const DW_TAG_const_type + const DW_TAG_constant + const DW_TAG_dwarf_procedure + const DW_TAG_entry_point + const DW_TAG_enumeration_type + const DW_TAG_enumerator + const DW_TAG_file_type + const DW_TAG_formal_parameter + const DW_TAG_friend + const DW_TAG_hi_user + const DW_TAG_imported_declaration + const DW_TAG_imported_module + const DW_TAG_imported_unit + const DW_TAG_inheritance + const DW_TAG_inlined_subroutine + const DW_TAG_interface_type + const DW_TAG_label + const DW_TAG_lexical_block + const DW_TAG_lo_user + const DW_TAG_member + const DW_TAG_module + const DW_TAG_namelist + const DW_TAG_namelist_item + const DW_TAG_namespace + const DW_TAG_packed_type + const DW_TAG_partial_unit + const DW_TAG_pointer_type + const DW_TAG_ptr_to_member_type + const DW_TAG_reference_type + const DW_TAG_restrict_type + const DW_TAG_rvalue_reference_type + const DW_TAG_set_type + const DW_TAG_shared_type + const DW_TAG_string_type + const DW_TAG_structure_type + const DW_TAG_subprogram + const DW_TAG_subrange_type + const DW_TAG_subroutine_type + const DW_TAG_template_alias + const DW_TAG_template_type_parameter + const DW_TAG_template_value_parameter + const DW_TAG_thrown_type + const DW_TAG_try_block + const DW_TAG_type_unit + const DW_TAG_typedef + const DW_TAG_union_type + const DW_TAG_unspecified_parameters + const DW_TAG_unspecified_type + const DW_TAG_variable + const DW_TAG_variant + const DW_TAG_variant_part + const DW_TAG_volatile_type + const DW_TAG_with_stmt + const DW_VIRTUALITY_none + const DW_VIRTUALITY_pure_virtual + const DW_VIRTUALITY_virtual + const DW_VIS_exported + const DW_VIS_local + const DW_VIS_qualified + const InfoPrefix + func Abbrevs() []dwAbbrev + func AppendSleb128(b []byte, v int64) []byte + func AppendUleb128(b []byte, v uint64) []byte + func EnableLogging(doit bool) + func GetAbbrev() []byte + func HasChildren(die *DWDie) bool + func IsDWARFEnabledOnAIXLd(extld []string) (bool, error) + func PutAbstractFunc(ctxt Context, s *FnState) error + func PutAttrs(ctxt Context, s Sym, abbrev int, attr *DWAttr) + func PutBasedRanges(ctxt Context, sym Sym, ranges []Range) + func PutConcreteFunc(ctxt Context, s *FnState, isWrapper bool) error + func PutDefaultFunc(ctxt Context, s *FnState, isWrapper bool) error + func PutGlobal(ctxt Context, info, typ, gvar Sym, name string) + func PutIntConst(ctxt Context, info, typ Sym, name string, val int64) + func Sleb128put(ctxt Context, s Sym, v int64) + func Uleb128put(ctxt Context, s Sym, v int64) + type Context interface + AddAddress func(s Sym, t interface{}, ofs int64) + AddBytes func(s Sym, b []byte) + AddCURelativeAddress func(s Sym, t interface{}, ofs int64) + AddDWARFAddrSectionOffset func(s Sym, t interface{}, ofs int64) + AddFileRef func(s Sym, f interface{}) + AddInt func(s Sym, size int, i int64) + AddSectionOffset func(s Sym, size int, t interface{}, ofs int64) + AddString func(s Sym, v string) + CurrentOffset func(s Sym) int64 + Logf func(format string, args ...interface{}) + PtrSize func() int + RecordChildDieOffsets func(s Sym, vars []*Var, offsets []int32) + RecordDclReference func(from Sym, to Sym, dclIdx int, inlIndex int) + type DWAttr struct + Atr uint16 + Cls uint8 + Data interface{} + Link *DWAttr + Value int64 + type DWDie struct + Abbrev int + Attr *DWAttr + Child *DWDie + Link *DWDie + Sym Sym + type FnState struct + Absfn Sym + External bool + Filesym Sym + Importpath string + Info Sym + InlCalls InlCalls + Loc Sym + Name string + Ranges Sym + Scopes []Scope + Size int64 + StartPC Sym + UseBASEntries bool + func (s *FnState) PutRanges(ctxt Context, ranges []Range) + type InlCall struct + AbsFunSym Sym + CallFile Sym + CallLine uint32 + Children []int + InlIndex int + InlVars []*Var + Ranges []Range + Root bool + type InlCalls struct + Calls []InlCall + type Range struct + End int64 + Start int64 + func MergeRanges(in1, in2 []Range) []Range + type Scope struct + Parent int32 + Ranges []Range + Vars []*Var + func (s *Scope) AppendRange(r Range) + func (s *Scope) UnifyRanges(c *Scope) + type Sym interface + Length func(dwarfContext interface{}) int64 + type Var struct + Abbrev int + ChildIndex int32 + DeclCol uint + DeclFile string + DeclLine uint + DictIndex uint16 + InlIndex int32 + IsInAbstract bool + IsInlFormal bool + IsReturnValue bool + Name string + PutLocationList func(listSym, startPC Sym) + Scope int32 + StackOffset int32 + Type Sym