Skip to content

Commit c3a7fb2

Browse files
committed
doc/go1.18: mention stack trace change
For #47694. Change-Id: I06cac88d5328c8c0e38212ad801d70bc36cdfc6f Reviewed-on: https://go-review.googlesource.com/c/go/+/368234 Trust: Cherry Mui <[email protected]> Reviewed-by: Austin Clements <[email protected]>
1 parent 0103fd2 commit c3a7fb2

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

doc/go1.18.html

+7-4
Original file line numberDiff line numberDiff line change
@@ -221,12 +221,15 @@ <h2 id="compiler">Compiler</h2>
221221
<a href=go1.17#compiler>Go 1.17 release notes</a> for more details.
222222
</p>
223223

224-
<p><!-- CL 298611 -->
225-
TODO: <a href="https://golang.org/cl/298611">https://golang.org/cl/298611</a>: cmd/compile: add -asan option
224+
<p><!-- CL 352057, https://golang.org/issue/45728 -->
225+
Go 1.17 generally improved the formatting of arguments in stack traces,
226+
but could print inaccurate values for arguments passed in registers.
227+
This is improved in Go 1.18 by printing a question mark (<code>?</code>)
228+
after each value that may be inaccurate.
226229
</p>
227230

228-
<p><!-- CL 352057 -->
229-
TODO: <a href="https://golang.org/cl/352057">https://golang.org/cl/352057</a>: cmd/compile, runtime: track argument stack slot liveness
231+
<p><!-- CL 298611 -->
232+
TODO: <a href="https://golang.org/cl/298611">https://golang.org/cl/298611</a>: cmd/compile: add -asan option
230233
</p>
231234

232235
<h2 id="linker">Linker</h2>

0 commit comments

Comments
 (0)