]> Cypherpunks repositories - gostls13.git/commitdiff
doc/go1.18: mention stack trace change
authorCherry Mui <cherryyz@google.com>
Wed, 1 Dec 2021 16:39:51 +0000 (11:39 -0500)
committerCherry Mui <cherryyz@google.com>
Wed, 1 Dec 2021 22:20:39 +0000 (22:20 +0000)
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>
doc/go1.18.html

index 022541b83de9ff19527413689d55d62a03558540..d9da160ab598ff58dbaf0c6d1c317c3134b75883 100644 (file)
@@ -221,12 +221,15 @@ proposal</a>.
   <a href=go1.17#compiler>Go 1.17 release notes</a> for more details.
 </p>
 
-<p><!-- CL 298611 -->
-  TODO: <a href="https://golang.org/cl/298611">https://golang.org/cl/298611</a>: cmd/compile: add -asan option
+<p><!-- CL 352057, https://golang.org/issue/45728 -->
+  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><!-- CL 352057 -->
-  TODO: <a href="https://golang.org/cl/352057">https://golang.org/cl/352057</a>: cmd/compile, runtime: track argument stack slot liveness
+<p><!-- CL 298611 -->
+  TODO: <a href="https://golang.org/cl/298611">https://golang.org/cl/298611</a>: cmd/compile: add -asan option
 </p>
 
 <h2 id="linker">Linker</h2>