Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ErrNoSymbols (0.13 sec)

  1. src/debug/plan9obj/file.go

    	}
    
    	return syms, nil
    }
    
    // ErrNoSymbols is returned by [File.Symbols] if there is no such section
    // in the File.
    var ErrNoSymbols = errors.New("no symbol section")
    
    // Symbols returns the symbol table for f.
    func (f *File) Symbols() ([]Sym, error) {
    	symtabSection := f.Section("syms")
    	if symtabSection == nil {
    		return nil, ErrNoSymbols
    	}
    
    	symtab, err := symtabSection.Data()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 7.2K bytes
    - Viewed (0)
Back to top