diff options
author | Ian Lance Taylor <iant@golang.org> | 2017-01-01 21:51:41 -0800 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2017-01-02 17:56:17 +0000 |
commit | f78cd569f52d5c44792f932ebbd01a71231f38b2 (patch) | |
tree | d58dd52dd313d4fa5a644e7a352718ae73c1c8a7 | |
parent | e776975ae61e8db6ff5db33b039513c9d8524794 (diff) | |
download | go-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.go | 2 |
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 |