Skip to content

Commit 53d3183

Browse files
committed
doc: complete remaining Go 1.9 documentation TODOs
Updates #20587 Change-Id: Ie4846f90611390eebf037ffafaed5ddd273565e4 Reviewed-on: https://go-review.googlesource.com/47551 Reviewed-by: Rob Pike <[email protected]>
1 parent e7f8634 commit 53d3183

File tree

1 file changed

+55
-19
lines changed

1 file changed

+55
-19
lines changed

doc/go1.9.html

Lines changed: 55 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,14 @@ <h3 id="power8">ppc64x requires Power8</h3>
9999
hardware.
100100
<p>
101101

102+
<h3 id="openbsd">OpenBSD 6.0</h3>
103+
104+
<p> <!-- CL 40331 -->
105+
Go 1.9 now enables PT_TLS generation for cgo binaries and thus
106+
requires OpenBSD 6.0 or newer. Go 1.9 no longer supports
107+
OpenBSD 5.9.
108+
<p>
109+
102110
<h3 id="known_issues">Known Issues</h3>
103111

104112
<p>
@@ -162,6 +170,23 @@ <h3 id="compiler">Compiler Toolchain</h3>
162170
dependency caching.
163171
</p>
164172

173+
<h3 id="asm">Assembler</h3>
174+
175+
<p> <!-- CL 42028 -->
176+
The ARM <code>MULA</code> instruction is now assembled correctly
177+
with the addend register as the third argument and the result
178+
register as the fourth and final argument.
179+
In previous releases, the meanings of the two arguments were
180+
reversed. Code using <code>MULA</code> will need to be updated.
181+
<code>MULAWT</code> and <code>MULAWB</code> were already
182+
using the correct order and are unchanged.
183+
</p>
184+
185+
<p> <!-- CL 42990 -->
186+
The assembler now supports <code>ADDSUBPS/PD</code>, completing the
187+
two missing x86 SSE3 instructions.
188+
</p>
189+
165190
<h3 id="go-doc">Doc</h3>
166191

167192
<p><!-- CL 36031 -->
@@ -200,6 +225,19 @@ <h3 id="go-tool-pprof-proxy">Pprof</h3>
200225
<a href="/pkg/net/http/#ProxyFromEnvironment"><code>http.ProxyFromEnvironment</code></a>.
201226
</p>
202227

228+
<h3 id="vet">Vet</h3>
229+
230+
<!-- CL 40112 -->
231+
<p>
232+
The <a href="/cmd/vet/"><code>vet</code> command</a>
233+
has been better integrated into the
234+
<a href="/cmd/go/"><code>go</code> tool</a>,
235+
so <code>go</code> <code>vet</code> now supports all standard build
236+
flags while <code>vet</code>'s own flags are now available
237+
from <code>go</code> <code>vet</code> as well as
238+
from <code>go</code> <code>tool</code> <code>vet</code>.
239+
</p>
240+
203241
<h3 id="gccgo">Gccgo</h3>
204242

205243
<p>
@@ -210,17 +248,6 @@ <h3 id="gccgo">Gccgo</h3>
210248
version of gccgo.
211249
</p>
212250

213-
<h3 id="tools-TODO">TODO</h3>
214-
215-
<p>TODO: finish documenting misc tool changes</p>
216-
217-
<pre>
218-
CL 42028: https://golang.org/cl/42028: cmd/asm: fix operand order of ARM's MULA instruction
219-
CL 40112: https://golang.org/cl/40112: cmd/go: allow full flag processing in go vet
220-
CL 42990: https://golang.org/cl/42990: cmd/internal/obj/x86: add ADDSUBPS/PD
221-
CL 40331: https://golang.org/cl/40331: cmd/link,runtime/cgo: enable PT_TLS generation on OpenBSD
222-
</pre>
223-
224251
<h2 id="performance">Performance</h2>
225252

226253
<p>
@@ -309,6 +336,23 @@ <h3 id="sync-map">Concurrent Map</h3>
309336
concurrently.
310337
</p>
311338

339+
<h3 id="pprof-labels">Profiler Labels</h3>
340+
341+
<p><!-- CL 34198 -->
342+
The <a href="/pkg/runtime/pprof"><code>runtime/pprof</code> package</a>
343+
now supports adding labels to <code>pprof</code> profiler records.
344+
Labels form a key-value map that is used to distinguish calls of the
345+
same function in different contexts when looking at profiles
346+
with the <a href="/cmd/pprof/"><code>pprof</code> command</a>.
347+
The <code>pprof</code> package's
348+
new <a href="/pkg/runtime/pprof/#Do"><code>Do</code> function</a>
349+
runs code associated with some provided labels. Other new functions
350+
in the package help work with labels.
351+
</p>
352+
353+
</dl><!-- runtime/pprof -->
354+
355+
312356
<h3 id="minor_library_changes">Minor changes to the library</h3>
313357

314358
<p>
@@ -735,14 +779,6 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
735779

736780
</dl><!-- runtime -->
737781

738-
<dl id="runtime/pprof"><dt><a href="/pkg/runtime/pprof/">runtime/pprof</a></dt>
739-
<dd>
740-
<p><!-- CL 34198 -->
741-
TODO: <a href="https://golang.org/cl/34198">https://golang.org/cl/34198</a>: add definitions of profile label types
742-
</p>
743-
744-
</dl><!-- runtime/pprof -->
745-
746782
<dl id="runtime/debug"><dt><a href="/pkg/runtime/debug/">runtime/debug</a></dt>
747783
<dd>
748784
<p><!-- CL 34013 -->

0 commit comments

Comments
 (0)