mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00: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
1 changed files with 0 additions and 1 deletions
|
|
@ -20,7 +20,6 @@ type LoaderSym int
|
||||||
//
|
//
|
||||||
// These are used for both DWARF and pclntab generation.
|
// These are used for both DWARF and pclntab generation.
|
||||||
type CompilationUnit struct {
|
type CompilationUnit struct {
|
||||||
Pkg string // The package name, eg ("fmt", or "runtime")
|
|
||||||
Lib *Library // Our library
|
Lib *Library // Our library
|
||||||
PclnIndex int // Index of this CU in pclntab
|
PclnIndex int // Index of this CU in pclntab
|
||||||
PCs []dwarf.Range // PC ranges, relative to Textp[0]
|
PCs []dwarf.Range // PC ranges, relative to Textp[0]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue