aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2017-01-01 21:51:41 -0800
committerIan Lance Taylor <iant@golang.org>2017-01-02 17:56:17 +0000
commitf78cd569f52d5c44792f932ebbd01a71231f38b2 (patch)
treed58dd52dd313d4fa5a644e7a352718ae73c1c8a7
parente776975ae61e8db6ff5db33b039513c9d8524794 (diff)
downloadgo-f78cd569f52d5c44792f932ebbd01a71231f38b2.tar.gz
go-f78cd569f52d5c44792f932ebbd01a71231f38b2.zip
cmd/link: don't suggest using nm to find -X name
It doesn't work if the package name includes a '.' or a non-ASCII character (or '%', '"', or a control character). See #16710 and CL 31970. Update #18246. Change-Id: I1487f462a3dc7b0016fce3aa1ea6239b226e6e39 Reviewed-on: https://go-review.googlesource.com/34791 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-rw-r--r--src/cmd/link/doc.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/cmd/link/doc.go b/src/cmd/link/doc.go
index ba07da986a..16fddf2345 100644
--- a/src/cmd/link/doc.go
+++ b/src/cmd/link/doc.go
@@ -41,8 +41,6 @@ Flags:
Set the value of the string variable in importpath named name to value.
Note that before Go 1.5 this option took two separate arguments.
Now it takes one argument split on the first = sign.
- To discover which name to use, run `go tool nm PROGRAM`;
- usable variables will be tagged "D" or "d".
-buildmode mode
Set build mode (default exe).
-cpuprofile file