Lines Matching defs:Table
10 // The table format is a variant of the format used in Plan 9's a.out
27 // A Sym represents a single symbol table entry.
89 // An Obj represents a collection of functions in a symbol table.
92 // of the symbol table format.
107 // Use the keys of Table.Files to obtain a list of source files.
115 // Table represents a Go symbol table. It stores all of the
118 type Table struct {
124 go12line *LineTable // Go 1.2 line number table
280 // NewTable decodes the Go symbol table (the ".gosymtab" section in ELF),
282 // Starting with Go 1.3, the Go symbol table no longer includes symbol data.
283 func NewTable(symtab []byte, pcln *LineTable) (*Table, error) {
293 var t Table
445 // All functions share the same line table.
483 func (t *Table) PCToFunc(pc uint64) *Func {
502 func (t *Table) PCToLine(pc uint64) (file string, line int, fn *Func) {
518 func (t *Table) LineToPC(file string, line int) (pc uint64, fn *Func, err error) {
548 func (t *Table) LookupSym(name string) *Sym {
564 func (t *Table) LookupFunc(name string) *Func {
575 func (t *Table) SymByAddr(addr uint64) *Sym {
624 return "<malformed symbol table>", 0
688 // the symbol table.
706 // the symbol table.