mirror of
https://github.com/golang/go
synced 2024-11-26 04:07:59 -07:00
cmd/link: delete CompilationUnit.Pkg field
It is never used. It is actually CompilationUnit.Lib.Pkg that contains the package path. Change-Id: I18189644ea080080868d144e81dfee02f4549133 Reviewed-on: https://go-review.googlesource.com/c/go/+/306710 Trust: Cherry Zhang <cherryyz@google.com> Run-TryBot: Cherry Zhang <cherryyz@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Than McIntosh <thanm@google.com>
This commit is contained in:
parent
b165085836
commit
3651eff74e
@ -20,7 +20,6 @@ type LoaderSym int
|
||||
//
|
||||
// These are used for both DWARF and pclntab generation.
|
||||
type CompilationUnit struct {
|
||||
Pkg string // The package name, eg ("fmt", or "runtime")
|
||||
Lib *Library // Our library
|
||||
PclnIndex int // Index of this CU in pclntab
|
||||
PCs []dwarf.Range // PC ranges, relative to Textp[0]
|
||||
|
Loading…
Reference in New Issue
Block a user