]> Cypherpunks repositories - gostls13.git/commitdiff
doc/go1.16: add runtime/debug changes to release notes
authorAlberto Donizetti <alb.donizetti@gmail.com>
Tue, 1 Dec 2020 13:03:54 +0000 (14:03 +0100)
committerAlberto Donizetti <alb.donizetti@gmail.com>
Tue, 1 Dec 2020 19:27:22 +0000 (19:27 +0000)
For #40700
Fixes #42912

Change-Id: Ifd36950136db1fc93a8de76a2717a473210418b1
Reviewed-on: https://go-review.googlesource.com/c/go/+/274473
Trust: Alberto Donizetti <alb.donizetti@gmail.com>
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
doc/go1.16.html

index 3545632ea42fb68f6548bce78de7165fe8d0d70e..0c1fe5b381310658dd0ee9c95dad863e7966805d 100644 (file)
@@ -663,7 +663,10 @@ Do not send CLs removing the interior tags from such phrases.
 <dl id="runtime/debug"><dt><a href="/pkg/runtime/debug/">runtime/debug</a></dt>
   <dd>
     <p><!-- CL 249677 -->
-      TODO: <a href="https://golang.org/cl/249677">https://golang.org/cl/249677</a>: provide Addr method for errors from SetPanicOnFault
+      The <a href="/pkg/runtime#Error"><code>runtime.Error</code> values
+      used when <code>SetPanicOnFault</code> is enabled may now have an
+      <code>Addr</code> method. If that method exists, it returns the memory
+      address that triggered the fault.
     </p>
   </dd>
 </dl><!-- runtime/debug -->