diff options
| author | Russ Cox <rsc@golang.org> | 2014-08-31 22:49:14 -0400 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2014-08-31 22:49:14 -0400 |
| commit | 0bb14d74f1550dca916251ddb6e1703f95be7325 (patch) | |
| tree | f55c952eb23ec33508d3b15821936be51d7f273b /include | |
| parent | 310bc98083c57b87df6e8020bfd97e35a8127bf1 (diff) | |
| download | go-0bb14d74f1550dca916251ddb6e1703f95be7325.tar.xz | |
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
Diffstat (limited to 'include')
| -rw-r--r-- | include/link.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/link.h b/include/link.h index 2b4de789d5..73f148c14c 100644 --- a/include/link.h +++ b/include/link.h @@ -126,6 +126,7 @@ struct LSym short type; short version; uchar dupok; + uchar cfunc; uchar external; uchar nosplit; uchar reachable; |
