mirror of
https://github.com/golang/go
synced 2024-09-15 14:10:17 +00:00
cmd/link: document -checklinkname option
For #67401 Change-Id: I04bff1c942a4033325450c0b7dddc7980f3373cc Reviewed-on: https://go-review.googlesource.com/c/go/+/596216 Auto-Submit: Ian Lance Taylor <iant@golang.org> Reviewed-by: Cherry Mui <cherryyz@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Than McIntosh <thanm@google.com>
This commit is contained in:
parent
f12ac5be70
commit
148755a27b
|
@ -55,6 +55,10 @@ Flags:
|
||||||
Set build mode (default exe).
|
Set build mode (default exe).
|
||||||
-c
|
-c
|
||||||
Dump call graphs.
|
Dump call graphs.
|
||||||
|
-checklinkname=value
|
||||||
|
If value is 0, all go:linkname directives are permitted.
|
||||||
|
If value is 1 (the default), only a known set of widely-used
|
||||||
|
linknames are permitted.
|
||||||
-compressdwarf
|
-compressdwarf
|
||||||
Compress DWARF if possible (default true).
|
Compress DWARF if possible (default true).
|
||||||
-cpuprofile file
|
-cpuprofile file
|
||||||
|
|
Loading…
Reference in a new issue