No longer needed.
Change-Id: If259a956bc8edb2eb94583b06840b52344cb84be
Reviewed-on: https://go-review.googlesource.com/c/go/+/231037
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Jeremy Faller <jeremy@golang.org>
i := l.Lookup(name, ver)
return l.Syms[i]
}
- syms.Newsym = func(name string, ver int) *sym.Symbol {
- i := l.newExtSym(name, ver)
- s := l.allocSym(name, ver)
- l.installSym(i, s)
- return s
- }
}
// allocSym allocates a new symbol backing.
// Look up the symbol with the given name and version, returning nil
// if it is not found.
ROLookup func(name string, v int) *Symbol
-
- // Create a symbol with the given name and version. The new symbol
- // is not added to the lookup table and is not dedup'd with existing
- // symbols (if any).
- Newsym func(name string, v int) *Symbol
}
func NewSymbols() *Symbols {