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:
Ian Lance Taylor 2024-07-02 11:44:43 -07:00 committed by Gopher Robot
parent f12ac5be70
commit 148755a27b

View file

@ -55,6 +55,10 @@ Flags:
Set build mode (default exe).
-c
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
Compress DWARF if possible (default true).
-cpuprofile file