mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
[dev.link] add compilation unit index to func
Not used yet, but add the compilation unit for a function to func. Change-Id: I7c43fa9f1da044ca63bab030062519771b9f4418 Reviewed-on: https://go-review.googlesource.com/c/go/+/244547 Run-TryBot: Jeremy Faller <jeremy@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Austin Clements <austin@google.com> Reviewed-by: Cherry Zhang <cherryyz@google.com>
This commit is contained in:
parent
89cf569a45
commit
e4e1c6a7af
3 changed files with 42 additions and 14 deletions
|
|
@ -804,9 +804,9 @@ type _func struct {
|
|||
pcfile int32
|
||||
pcln int32
|
||||
npcdata int32
|
||||
funcID funcID // set for certain special runtime functions
|
||||
_ [2]int8 // unused
|
||||
nfuncdata uint8 // must be last
|
||||
cuIndex uint16 // TODO(jfaller): 16 bits is never enough, make this larger.
|
||||
funcID funcID // set for certain special runtime functions
|
||||
nfuncdata uint8 // must be last
|
||||
}
|
||||
|
||||
// Pseudo-Func that is returned for PCs that occur in inlined code.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue