]> Cypherpunks repositories - gostls13.git/commitdiff
doc: mention init traceback change in Go 1.12 release notes
authorIan Lance Taylor <iant@golang.org>
Mon, 28 Jan 2019 18:45:26 +0000 (10:45 -0800)
committerIan Lance Taylor <iant@golang.org>
Mon, 28 Jan 2019 20:35:33 +0000 (20:35 +0000)
Updates #29919

Change-Id: Ibf92c9957f71394f08c1203a29eae35a12021585
Reviewed-on: https://go-review.googlesource.com/c/159877
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
doc/go1.12.html

index c34b473a39bb9724d54bf5b1aa1689b37f9fbc52..fd1f1a1f4c6871c108dd69e0abf3f2112ed33ae8 100644 (file)
@@ -357,6 +357,14 @@ for {
   overcounting of large heap allocations.
 </p>
 
+<p><!-- CL 159717 -->
+  Tracebacks, <code>runtime.Caller</code>,
+  and <code>runtime.Callers</code> no longer include
+  compiler-generated initialization functions.  Doing a traceback
+  during the initialization of a global variable will now show a
+  function named <code>PKG.init.ializers</code>.
+</p>
+
 <h2 id="library">Core library</h2>
 
 <h3 id="tls_1_3">TLS 1.3</h3>