Home | History | Annotate | Download | only in gosym

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 in data,
282 func NewTable(symtab []byte, pcln *LineTable) (*Table, error) {
292 var t Table
444 // All functions share the same line table.
482 func (t *Table) PCToFunc(pc uint64) *Func {
501 func (t *Table) PCToLine(pc uint64) (file string, line int, fn *Func) {
517 func (t *Table) LineToPC(file string, line int) (pc uint64, fn *Func, err error) {
547 func (t *Table) LookupSym(name string) *Sym {
563 func (t *Table) LookupFunc(name string) *Func {
574 func (t *Table) SymByAddr(addr uint64) *Sym {
623 return "<malformed symbol table>", 0
687 // the symbol table.
705 // the symbol table.