Skip to content

Commit c00595c

Browse files
doc: mention init traceback change in Go 1.12 release notes
Updates #29919 Change-Id: Ibf92c9957f71394f08c1203a29eae35a12021585 Reviewed-on: https://go-review.googlesource.com/c/159877 Run-TryBot: Ian Lance Taylor <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Brad Fitzpatrick <[email protected]> Reviewed-by: Keith Randall <[email protected]>
1 parent c53aeca commit c00595c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

doc/go1.12.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,14 @@ <h2 id="runtime">Runtime</h2>
357357
overcounting of large heap allocations.
358358
</p>
359359

360+
<p><!-- CL 159717 -->
361+
Tracebacks, <code>runtime.Caller</code>,
362+
and <code>runtime.Callers</code> no longer include
363+
compiler-generated initialization functions. Doing a traceback
364+
during the initialization of a global variable will now show a
365+
function named <code>PKG.init.ializers</code>.
366+
</p>
367+
360368
<h2 id="library">Core library</h2>
361369

362370
<h3 id="tls_1_3">TLS 1.3</h3>

0 commit comments

Comments
 (0)