Skip to content

Commit 4ef78b0

Browse files
committed
doc/go1.16: add runtime/debug changes to release notes
For #40700 Fixes #42912 Change-Id: Ifd36950136db1fc93a8de76a2717a473210418b1 Reviewed-on: https://go-review.googlesource.com/c/go/+/274473 Trust: Alberto Donizetti <[email protected]> Reviewed-by: Keith Randall <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]>
1 parent ae3bfba commit 4ef78b0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

doc/go1.16.html

+4-1
Original file line numberDiff line numberDiff line change
@@ -663,7 +663,10 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
663663
<dl id="runtime/debug"><dt><a href="/pkg/runtime/debug/">runtime/debug</a></dt>
664664
<dd>
665665
<p><!-- CL 249677 -->
666-
TODO: <a href="https://golang.org/cl/249677">https://golang.org/cl/249677</a>: provide Addr method for errors from SetPanicOnFault
666+
The <a href="/pkg/runtime#Error"><code>runtime.Error</code> values
667+
used when <code>SetPanicOnFault</code> is enabled may now have an
668+
<code>Addr</code> method. If that method exists, it returns the memory
669+
address that triggered the fault.
667670
</p>
668671
</dd>
669672
</dl><!-- runtime/debug -->

0 commit comments

Comments
 (0)