Skip to content

Commit a745dc9

Browse files
committed
doc: add tool sections to go1.8.html
Some still in TODO form. TBR=See https://golang.org/cl/33244 Updates #17929 Change-Id: I63547bed3c6ce34b706821a3c150ae03d7d82cf8 Reviewed-on: https://go-review.googlesource.com/33682 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
1 parent 6dca9ac commit a745dc9

File tree

2 files changed

+50
-33
lines changed

2 files changed

+50
-33
lines changed

Diff for: doc/go1.8.html

+50
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,56 @@ <h3 id="tool_yacc">Yacc</h3>
201201
<code>go</code> <code>get</code> <code><a href="https://godoc.org/golang.org/x/tools/cmd/goyacc">golang.org/x/tools/cmd/goyacc</a></code>.
202202
</p>
203203

204+
<h3 id="tool_fix">Fix</h3>
205+
206+
<p> <!-- CL 28872 -->
207+
The <code>fix</code> tool has a new “<code>context</code>
208+
fix to change imports from “<code>golang.org/x/net/context</code>
209+
to “<a href="/pkg/context/"><code>context</code></a>”.
210+
</p>
211+
212+
<h3 id="tool_pprof">Pprof</h3>
213+
214+
<p> <!-- CL 33157 -->
215+
The <code>pprof</code> tool can now profile TLS servers
216+
and skip certificate validation by using the "<code>https+insecure</code>"
217+
URL scheme.
218+
</p>
219+
220+
<p> <!-- CL 23781 -->
221+
The callgrind output now has instruction-level granularity.
222+
</p>
223+
224+
<p>
225+
TODO: more. proto? standalone profiles with symbols?
226+
</p>
227+
228+
<h3 id="tool_trace">Trace</h3>
229+
230+
<p>TODO:</p>
231+
<pre>
232+
cmd/trace: add option to output pprof files (CL 23324)
233+
cmd/trace: fix a runnable goroutine count bug (CL 25552)
234+
cmd/trace: move process-wide GC events to their own row (CL 30017)
235+
internal/trace: fix analysis of EvGoWaiting/EvGoInSyscall events (CL 25572)
236+
</pre>
237+
238+
<h3 id="tool_vet">Vet</h3>
239+
240+
<p>TODO:</p>
241+
<pre>
242+
cmd/vet: accept space-separated tag lists for compatibility with cmd/go (CL 32030)
243+
cmd/vet: allow ^& uintptr arithmetic (CL 27156)
244+
cmd/vet: allow any printf verb with any interface (CL 27127)
245+
cmd/vet: check for copying of array of locks (CL 24340)
246+
cmd/vet: check for duplicate json, xml struct field tags (CL 16704)
247+
cmd/vet: detect defer resp.Body.Close() before error check (CL 32911)
248+
cmd/vet: diagnose non-space-separated struct tag like `json:"x",xml:"y"` (CL 32031)
249+
cmd/vet: improve asmdecl parameter handling (CL 27150)
250+
cmd/vet: properly handle indexed arguments in printf (CL 24391)
251+
cmd/vet: skip printf check for non-constant format string during failed import (CL 29014)
252+
</pre>
253+
204254
<h3 id="compiler">Compiler Toolchain</h3>
205255

206256
<p>

Diff for: doc/go1.8.txt

-33
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,6 @@ cmd/compile/internal/syntax: fast Go syntax trees, initial commit (CL 27195)
1818
cmd/compile: add compiler phase timing (CL 24462)
1919
cmd/compile: add inline explainer (CL 22782)
2020
cmd/compile: enable flag-specified dump of specific phase+function (CL 23044)
21-
cmd/compile: remove -A flag (CL 31497)
22-
23-
cmd/cover: Fix compiler directives handling (CL 30161)
24-
cmd/cover: change covered block for switch/select case to exclude expression (CL 32612)
25-
cmd/cover: handle gotos (CL 30977)
26-
27-
cmd/dist, go/build: make CGO_ENABLED during make.bash sticky (CL 31141)
28-
cmd/dist: enable plugin test on darwin/amd64 (CL 29396)
29-
cmd/dist: test PIE internal linking on linux/amd64 (CL 28545)
30-
31-
cmd/fix: add golang.org/x/net/context fix (CL 28872)
3221

3322
cmd/internal/obj, cmd/link: darwin dynlink support (CL 29393)
3423
cmd/internal/objfile: add ppc64/ppc64le disassembler support (CL 9682)
@@ -48,28 +37,6 @@ cmd/link: split large elf text sections on ppc64x (CL 27790)
4837
cmd/link: trampoline support for external linking on ARM (CL 31143)
4938
cmd/objdump: implement objdump of .o files (CL 24818)
5039

51-
cmd/pprof: add options to skip tls verification (CL 33157)
52-
cmd/pprof: don't print binary outputs in interactive mode (CL 31123)
53-
cmd/pprof: instruction-level granularity in callgrind output (CL 23781)
54-
55-
cmd/trace: add option to output pprof files (CL 23324)
56-
cmd/trace: fix a runnable goroutine count bug (CL 25552)
57-
cmd/trace: move process-wide GC events to their own row (CL 30017)
58-
internal/trace: fix analysis of EvGoWaiting/EvGoInSyscall events (CL 25572)
59-
60-
cmd/vet: accept space-separated tag lists for compatibility with cmd/go (CL 32030)
61-
cmd/vet: allow ^& uintptr arithmetic (CL 27156)
62-
cmd/vet: allow any printf verb with any interface (CL 27127)
63-
cmd/vet: check for copying of array of locks (CL 24340)
64-
cmd/vet: check for duplicate json, xml struct field tags (CL 16704)
65-
cmd/vet: detect defer resp.Body.Close() before error check (CL 32911)
66-
cmd/vet: diagnose non-space-separated struct tag like `json:"x",xml:"y"` (CL 32031)
67-
cmd/vet: improve asmdecl parameter handling (CL 27150)
68-
cmd/vet: properly handle indexed arguments in printf (CL 24391)
69-
cmd/vet: skip printf check for non-constant format string during failed import (CL 29014)
70-
71-
encoding/xml: prevent omitempty from omitting non-nil pointers to empty values (CL 15684)
72-
7340
fmt: document and adjust Scanf space handling to eliminate a few paradoxes (CL 30611)
7441

7542
go/build: allow % in ${SRCDIR} expansion for Jenkins (CL 31611)

0 commit comments

Comments
 (0)