type dwctxt …
type dwSym …
func (c dwctxt) PtrSize() int { … }
func (c dwctxt) Size(s dwarf.Sym) int64 { … }
func (c dwctxt) AddInt(s dwarf.Sym, size int, i int64) { … }
func (c dwctxt) AddBytes(s dwarf.Sym, b []byte) { … }
func (c dwctxt) AddString(s dwarf.Sym, v string) { … }
func (c dwctxt) AddAddress(s dwarf.Sym, data interface{ … }
func (c dwctxt) AddCURelativeAddress(s dwarf.Sym, data interface{ … }
func (c dwctxt) AddSectionOffset(s dwarf.Sym, size int, t interface{ … }
func (c dwctxt) AddDWARFAddrSectionOffset(s dwarf.Sym, t interface{ … }
func (c dwctxt) Logf(format string, args ...interface{ … }
func (c dwctxt) CurrentOffset(s dwarf.Sym) int64 { … }
func (c dwctxt) RecordDclReference(s dwarf.Sym, t dwarf.Sym, dclIdx int, inlIndex int) { … }
func (c dwctxt) RecordChildDieOffsets(s dwarf.Sym, vars []*dwarf.Var, offsets []int32) { … }
func isDwarf64(ctxt *Link) bool { … }
const GdbScriptPythonFileId …
const GdbScriptSchemeFileId …
const GdbScriptPythonTextId …
const GdbScriptSchemeTextId …
var gdbscript …
type dwarfSecInfo …
func (dsi *dwarfSecInfo) secSym() loader.Sym { … }
func (dsi *dwarfSecInfo) subSyms() []loader.Sym { … }
var dwarfp …
func (d *dwctxt) writeabbrev() dwarfSecInfo { … }
var dwtypes …
func newattr(die *dwarf.DWDie, attr uint16, cls int, value int64, data interface{ … }
func getattr(die *dwarf.DWDie, attr uint16) *dwarf.DWAttr { … }
func (d *dwctxt) newdie(parent *dwarf.DWDie, abbrev int, name string) *dwarf.DWDie { … }
func walktypedef(die *dwarf.DWDie) *dwarf.DWDie { … }
func (d *dwctxt) walksymtypedef(symIdx loader.Sym) loader.Sym { … }
func findchild(die *dwarf.DWDie, name string) *dwarf.DWDie { … }
func (d *dwctxt) find(name string) loader.Sym { … }
func (d *dwctxt) mustFind(name string) loader.Sym { … }
func (d *dwctxt) adddwarfref(sb *loader.SymbolBuilder, t loader.Sym, size int) { … }
func (d *dwctxt) newrefattr(die *dwarf.DWDie, attr uint16, ref loader.Sym) { … }
func (d *dwctxt) dtolsym(s dwarf.Sym) loader.Sym { … }
func (d *dwctxt) putdie(syms []loader.Sym, die *dwarf.DWDie) []loader.Sym { … }
func reverselist(list **dwarf.DWDie) { … }
func reversetree(list **dwarf.DWDie) { … }
func newmemberoffsetattr(die *dwarf.DWDie, offs int32) { … }
func (d *dwctxt) lookupOrDiag(n string) loader.Sym { … }
func (d *dwctxt) dotypedef(parent *dwarf.DWDie, name string, def *dwarf.DWDie) *dwarf.DWDie { … }
func (d *dwctxt) defgotype(gotype loader.Sym) loader.Sym { … }
func (d *dwctxt) newtype(gotype loader.Sym) *dwarf.DWDie { … }
func (d *dwctxt) nameFromDIESym(dwtypeDIESym loader.Sym) string { … }
func (d *dwctxt) defptrto(dwtype loader.Sym) loader.Sym { … }
func (d *dwctxt) copychildrenexcept(ctxt *Link, dst *dwarf.DWDie, src *dwarf.DWDie, except *dwarf.DWDie) { … }
func (d *dwctxt) copychildren(ctxt *Link, dst *dwarf.DWDie, src *dwarf.DWDie) { … }
func (d *dwctxt) substitutetype(structdie *dwarf.DWDie, field string, dwtype loader.Sym) { … }
func (d *dwctxt) findprotodie(ctxt *Link, name string) *dwarf.DWDie { … }
func (d *dwctxt) synthesizestringtypes(ctxt *Link, die *dwarf.DWDie) { … }
func (d *dwctxt) synthesizeslicetypes(ctxt *Link, die *dwarf.DWDie) { … }
func mkinternaltypename(base string, arg1 string, arg2 string) string { … }
func (d *dwctxt) mkinternaltype(ctxt *Link, abbrev int, typename, keyname, valname string, f func(*dwarf.DWDie)) loader.Sym { … }
func (d *dwctxt) synthesizemaptypes(ctxt *Link, die *dwarf.DWDie) { … }
func (d *dwctxt) synthesizemaptypesSwiss(ctxt *Link, die *dwarf.DWDie) { … }
func (d *dwctxt) synthesizemaptypesOld(ctxt *Link, die *dwarf.DWDie) { … }
func (d *dwctxt) synthesizechantypes(ctxt *Link, die *dwarf.DWDie) { … }
func (d *dwctxt) createUnitLength(su *loader.SymbolBuilder, v uint64) { … }
func (d *dwctxt) addDwarfAddrField(sb *loader.SymbolBuilder, v uint64) { … }
func (d *dwctxt) addDwarfAddrRef(sb *loader.SymbolBuilder, t loader.Sym) { … }
func (d *dwctxt) calcCompUnitRanges() { … }
func movetomodule(ctxt *Link, parent *dwarf.DWDie) { … }
const LINE_BASE …
const LINE_RANGE …
const PC_RANGE …
const OPCODE_BASE …
func getCompilationDir() string { … }
func (d *dwctxt) importInfoSymbol(dsym loader.Sym) { … }
func expandFile(fname string) string { … }
func (d *dwctxt) writeDirFileTables(unit *sym.CompilationUnit, lsu *loader.SymbolBuilder) { … }
func (d *dwctxt) writelines(unit *sym.CompilationUnit, lineProlog loader.Sym) []loader.Sym { … }
func (d *dwctxt) writepcranges(unit *sym.CompilationUnit, base loader.Sym, pcs []dwarf.Range, rangeProlog loader.Sym) []loader.Sym { … }
const dataAlignmentFactor …
func appendPCDeltaCFA(arch *sys.Arch, b []byte, deltapc, cfa int64) []byte { … }
func (d *dwctxt) writeframes(fs loader.Sym) dwarfSecInfo { … }
const COMPUNITHEADERSIZE …
func (d *dwctxt) writeUnitInfo(u *sym.CompilationUnit, abbrevsym loader.Sym, infoEpilog loader.Sym) []loader.Sym { … }
func (d *dwctxt) writegdbscript() dwarfSecInfo { … }
var prototypedies …
func dwarfEnabled(ctxt *Link) bool { … }
func (d *dwctxt) mkBuiltinType(ctxt *Link, abrv int, tname string) *dwarf.DWDie { … }
func (d *dwctxt) dwarfVisitFunction(fnSym loader.Sym, unit *sym.CompilationUnit) { … }
func dwarfGenerateDebugInfo(ctxt *Link) { … }
func dwarfGenerateDebugSyms(ctxt *Link) { … }
type dwUnitSyms …
func (d *dwctxt) dwUnitPortion(u *sym.CompilationUnit, abbrevsym loader.Sym, us *dwUnitSyms) { … }
func (d *dwctxt) dwarfGenerateDebugSyms() { … }
func (d *dwctxt) collectUnitLocs(u *sym.CompilationUnit) []loader.Sym { … }
func dwarfaddshstrings(ctxt *Link, add func(string)) { … }
func dwarfaddelfsectionsyms(ctxt *Link) { … }
func dwarfcompress(ctxt *Link) { … }
func compilationUnitByStartPCCmp(a, b *sym.CompilationUnit) int { … }
func (d *dwctxt) getPkgFromCUSym(s loader.Sym) string { … }
var dwsectCUSizeMu …
var dwsectCUSize …
func getDwsectCUSize(sname string, pkgname string) uint64 { … }
func addDwsectCUSize(sname string, pkgname string, size uint64) { … }