mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
cmd/ld: diagnose Go calling C
For example:
go build -ldflags -C cmd/go 2>&1 | awk '{print $NF}' | sort | uniq -c | sort -nr
LGTM=khr
R=khr, josharian
CC=golang-codereviews
https://golang.org/cl/135170044
This commit is contained in:
parent
310bc98083
commit
0bb14d74f1
7 changed files with 76 additions and 6 deletions
|
|
@ -126,6 +126,7 @@ struct LSym
|
|||
short type;
|
||||
short version;
|
||||
uchar dupok;
|
||||
uchar cfunc;
|
||||
uchar external;
|
||||
uchar nosplit;
|
||||
uchar reachable;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue