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 <cherryyz@google.com>
Reviewed-by: Austin Clements <austin@google.com>
This commit is contained in:
Cherry Mui 2021-12-01 11:39:51 -05:00
parent 0103fd2b8b
commit c3a7fb2074
1 changed files with 7 additions and 4 deletions

View File

@ -221,12 +221,15 @@ proposal</a>.
<a href=go1.17#compiler>Go 1.17 release notes</a> for more details. <a href=go1.17#compiler>Go 1.17 release notes</a> for more details.
</p> </p>
<p><!-- CL 298611 --> <p><!-- CL 352057, https://golang.org/issue/45728 -->
TODO: <a href="https://golang.org/cl/298611">https://golang.org/cl/298611</a>: cmd/compile: add -asan option Go 1.17 generally improved the formatting of arguments in stack traces,
but could print inaccurate values for arguments passed in registers.
This is improved in Go 1.18 by printing a question mark (<code>?</code>)
after each value that may be inaccurate.
</p> </p>
<p><!-- CL 352057 --> <p><!-- CL 298611 -->
TODO: <a href="https://golang.org/cl/352057">https://golang.org/cl/352057</a>: cmd/compile, runtime: track argument stack slot liveness TODO: <a href="https://golang.org/cl/298611">https://golang.org/cl/298611</a>: cmd/compile: add -asan option
</p> </p>
<h2 id="linker">Linker</h2> <h2 id="linker">Linker</h2>