<feed xmlns='http://www.w3.org/2005/Atom'>
<title>go, branch go1.19.1</title>
<subtitle>Fork of Go programming language with my patches.</subtitle>
<id>http://git.kilabit.info/go/atom?h=go1.19.1</id>
<link rel='self' href='http://git.kilabit.info/go/atom?h=go1.19.1'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/'/>
<updated>2022-09-06T16:17:26Z</updated>
<entry>
<title>[release-branch.go1.19] go1.19.1</title>
<updated>2022-09-06T16:17:26Z</updated>
<author>
<name>Gopher Robot</name>
<email>gobot@golang.org</email>
</author>
<published>2022-09-06T15:53:07Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=4a4127bccc826ebb6079af3252bc6bfeaec187c4'/>
<id>urn:sha1:4a4127bccc826ebb6079af3252bc6bfeaec187c4</id>
<content type='text'>
Change-Id: Iada84ba9c8e727e89cfb4ac21a27e085fa7f60e9
Reviewed-on: https://go-review.googlesource.com/c/go/+/428697
Reviewed-by: Carlos Amedee &lt;carlos@golang.org&gt;
Reviewed-by: Michael Knyszek &lt;mknyszek@google.com&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
Run-TryBot: Gopher Robot &lt;gobot@golang.org&gt;
Auto-Submit: Gopher Robot &lt;gobot@golang.org&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.19] net/http: update bundled golang.org/x/net/http2</title>
<updated>2022-09-06T15:49:24Z</updated>
<author>
<name>Damien Neil</name>
<email>dneil@google.com</email>
</author>
<published>2022-08-22T23:28:21Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=9cfe4e258b1c9d4a04a42539c21c7bdb2e227824'/>
<id>urn:sha1:9cfe4e258b1c9d4a04a42539c21c7bdb2e227824</id>
<content type='text'>
Disable cmd/internal/moddeps test, since this update includes PRIVATE
track fixes.

Fixes CVE-2022-27664
Fixes #54376
For #54658

Change-Id: I747900a66d7276e7d0bd246cd8cd0da95305c3ca
Reviewed-on: https://team-review.git.corp.google.com/c/golang/go-private/+/1554417
Reviewed-by: Tatiana Bradley &lt;tatianabradley@google.com&gt;
Reviewed-by: Roland Shoemaker &lt;bracewell@google.com&gt;
Reviewed-on: https://go-review.googlesource.com/c/go/+/428655
Reviewed-by: Carlos Amedee &lt;carlos@golang.org&gt;
Reviewed-by: Tatiana Bradley &lt;tatiana@golang.org&gt;
Run-TryBot: Michael Knyszek &lt;mknyszek@google.com&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.19 cmd/compile: align stack offset to alignment larger than PtrSize</title>
<updated>2022-08-31T16:31:45Z</updated>
<author>
<name>Cherry Mui</name>
<email>cherryyz@google.com</email>
</author>
<published>2022-08-23T22:19:06Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=86e9e0ea87982d117c96575eba3e78e2099fdc98'/>
<id>urn:sha1:86e9e0ea87982d117c96575eba3e78e2099fdc98</id>
<content type='text'>
In typebits.Set we check that the offset is a multiple of the
alignment, which makes perfect sense. But for values like
atomic.Int64, which has 8-byte alignment even on 32-bit platforms
(i.e. the alignment is larger than PtrSize), if it is on stack it
may be under-aligned, as the stack frame is only PtrSize aligned.

Normally we would prevent such values on stack, as the escape
analysis force values with higher alignment to heap. But for a
composite literal assignment like x = AlignedType{...}, the
compiler creates an autotmp for the RHS then copies it to the LHS.
The autotmp is on stack and may be under-aligned. Currently this
may cause an ICE in the typebits.Set check.

This CL makes it align the _offset_ of the autotmp to 8 bytes,
which satisfies the check. Note that this is actually lying: the
actual address at run time may not necessarily be 8-byte
aligned as we only align SP to 4 bytes.

The under-alignment is probably okay. The only purpose for the
autotmp is to copy the value to the LHS, and the copying code we
generate (at least currently) doesn't care the alignment beyond
stack alignment.

Updates #54638.
Fixes #54697.

Change-Id: I13c16afde2eea017479ff11dfc24092bcb8aba6a
Reviewed-on: https://go-review.googlesource.com/c/go/+/425256
Run-TryBot: Cherry Mui &lt;cherryyz@google.com&gt;
Reviewed-by: Keith Randall &lt;khr@golang.org&gt;
Reviewed-by: David Chase &lt;drchase@google.com&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
(cherry picked from commit 1211a62bdcb0f070c5082255bcc90e1a14c16bb2)
Reviewed-on: https://go-review.googlesource.com/c/go/+/425935
</content>
</entry>
<entry>
<title>[release-branch.go1.19] runtime: mark morestack_noctxt SPWRITE on LR architectures</title>
<updated>2022-08-31T16:31:38Z</updated>
<author>
<name>Cherry Mui</name>
<email>cherryyz@google.com</email>
</author>
<published>2022-08-24T22:33:21Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=0bba4d2fe614a2b54aa2bdaaaf47ae1eafeb561c'/>
<id>urn:sha1:0bba4d2fe614a2b54aa2bdaaaf47ae1eafeb561c</id>
<content type='text'>
On LR architectures, morestack (and morestack_noctxt) are called
with a special calling convention, where the caller doesn't save
LR on stack but passes it as a register, which morestack will save
to g.sched.lr. The stack unwinder currently doesn't understand it,
and would fail to unwind from it. morestack already writes SP (as
it switches stack), but morestack_noctxt (which tailcalls
morestack) doesn't. If a profiling signal lands right in
morestack_noctxt, the unwinder will try to unwind the stack and
go off, and possibly crash.

Marking morestack_noctxt SPWRITE stops the unwinding.

Ideally we could teach the unwinder about the special calling
convention, or change the calling convention to be less special
(so the unwinder doesn't need to fetch a register from the signal
context). This is a stop-gap solution, to stop the unwinder from
crashing.

Updates #54332.
Fixes #54675.

Change-Id: I75295f2e27ddcf05f1ea0b541aedcb9000ae7576
Reviewed-on: https://go-review.googlesource.com/c/go/+/425396
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
Run-TryBot: Cherry Mui &lt;cherryyz@google.com&gt;
Reviewed-by: Michael Pratt &lt;mpratt@google.com&gt;
(cherry picked from commit e4be2ac79f3cc7219ae1cf8334463d11cae24e01)
Reviewed-on: https://go-review.googlesource.com/c/go/+/425615
</content>
</entry>
<entry>
<title>[release-branch.go1.19] runtime: fix ppc64 startup on newer linux kernels</title>
<updated>2022-08-31T16:31:23Z</updated>
<author>
<name>Paul E. Murphy</name>
<email>murp@ibm.com</email>
</author>
<published>2022-08-19T14:20:02Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=823e5d8afaaf9fff0cc2ab04e7fc0a62b1023c3e'/>
<id>urn:sha1:823e5d8afaaf9fff0cc2ab04e7fc0a62b1023c3e</id>
<content type='text'>
R0 needs to be cleared at startup as it may not always be cleared
by the kernel on newer kernels.

Fixes #54665

Change-Id: Id7055699aaa8d8b193b7e3e784f075ce29ac3f1d
Reviewed-on: https://go-review.googlesource.com/c/go/+/424927
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
Reviewed-by: Lynn Boger &lt;laboger@linux.vnet.ibm.com&gt;
Reviewed-by: Cherry Mui &lt;cherryyz@google.com&gt;
Reviewed-by: David Chase &lt;drchase@google.com&gt;
Run-TryBot: Paul Murphy &lt;murp@ibm.com&gt;
Reviewed-on: https://go-review.googlesource.com/c/go/+/425394
Reviewed-by: Ian Lance Taylor &lt;iant@google.com&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.19] cmd/compile: only inline method wrapper if method don't contain closures</title>
<updated>2022-08-31T16:23:03Z</updated>
<author>
<name>Cuong Manh Le</name>
<email>cuong.manhle.vn@gmail.com</email>
</author>
<published>2022-08-29T03:48:28Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=11033eac90c14a2d4768deb42601767c800ddef0'/>
<id>urn:sha1:11033eac90c14a2d4768deb42601767c800ddef0</id>
<content type='text'>
CL 327871 changes methodWrapper to always perform inlining after global
escape analysis. However, inlining the method may reveal closures, which
require walking all function bodies to decide whether to capture free
variables by value or by ref.

To fix it, just not doing inline if the method contains any closures.

Fixes #54726

Change-Id: I4b0255b86257cc6fe7e5fafbc545cc5cff9113e1
Reviewed-on: https://go-review.googlesource.com/c/go/+/426334
Reviewed-by: Matthew Dempsky &lt;mdempsky@google.com&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
Run-TryBot: Cuong Manh Le &lt;cuong.manhle.vn@gmail.com&gt;
Reviewed-by: Heschi Kreinick &lt;heschi@google.com&gt;
Reviewed-on: https://go-review.googlesource.com/c/go/+/426160
</content>
</entry>
<entry>
<title>[release-branch.go1.19] cmd/go/internal/imports: recognize "unix" build tag</title>
<updated>2022-08-30T20:08:38Z</updated>
<author>
<name>Zeke Lu</name>
<email>lvzecai@gmail.com</email>
</author>
<published>2022-08-29T23:29:48Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=4580d6dc6d8c7c06de9a5c07d4232a63c3a06da1'/>
<id>urn:sha1:4580d6dc6d8c7c06de9a5c07d4232a63c3a06da1</id>
<content type='text'>
For #20322
For #51572
Updates #54712
Fixes #54736

Change-Id: I22fcfa820e83323bfdf1a40deee7286240f02b3e
GitHub-Last-Rev: cd2c6536b0298baf3c54e5bdbc456a814545cff4
GitHub-Pull-Request: golang/go#54716
Reviewed-on: https://go-review.googlesource.com/c/go/+/426296
Run-TryBot: Heschi Kreinick &lt;heschi@google.com&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
Reviewed-by: Heschi Kreinick &lt;heschi@google.com&gt;
Reviewed-by: Bryan Mills &lt;bcmills@google.com&gt;
(cherry picked from commit 3c6a5cdb9a29c0e3b12cdaa8ab81ba22d989e3b0)
Reviewed-on: https://go-review.googlesource.com/c/go/+/426814
Run-TryBot: Bryan Mills &lt;bcmills@google.com&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.19] cmd/link: fix trampolines breaking DWARF line info</title>
<updated>2022-08-29T20:10:29Z</updated>
<author>
<name>Jeremy Quirke</name>
<email>qjeremy@uber.com</email>
</author>
<published>2022-08-09T17:20:33Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=62aa93010dd2e49ed1b98d54c088a875558fed56'/>
<id>urn:sha1:62aa93010dd2e49ed1b98d54c088a875558fed56</id>
<content type='text'>
When trampolines are needed (e.g. Darwin ARM64), the DWARF LPT (Line
Program Table - see DWARF section 6.1) generation fails because the
replacement symbols are marked as external symbols and skipped during
the DWARF LPT generation phase.

Fixes #54406

Change-Id: I6c93f5378f50e5edf30d5121402a48214abb1ce2
GitHub-Last-Rev: 085bbc55dbc95d55456cc2acc46a0d02416c2848
GitHub-Pull-Request: golang/go#54321
Reviewed-on: https://go-review.googlesource.com/c/go/+/422154
Reviewed-by: Cherry Mui &lt;cherryyz@google.com&gt;
Run-TryBot: Than McIntosh &lt;thanm@google.com&gt;
Reviewed-by: Than McIntosh &lt;thanm@google.com&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
(cherry picked from commit 2340d371796f95acdcc399e60f9ecefec2add8df)
Reviewed-on: https://go-review.googlesource.com/c/go/+/423214
Run-TryBot: Cherry Mui &lt;cherryyz@google.com&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.19] crypto/tls: support ECDHE when ec_point_formats is missing</title>
<updated>2022-08-29T19:17:57Z</updated>
<author>
<name>Filippo Valsorda</name>
<email>filippo@golang.org</email>
</author>
<published>2022-08-24T10:39:20Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=15b234b83021ec254a85e79b241a1b4af8ba9b1a'/>
<id>urn:sha1:15b234b83021ec254a85e79b241a1b4af8ba9b1a</id>
<content type='text'>
Updates #49126
Fixes #54643

Change-Id: I9d6f6392b1a6748bdac1d2c6371b22d75829a2b6
Reviewed-on: https://go-review.googlesource.com/c/go/+/425295
Run-TryBot: Filippo Valsorda &lt;filippo@golang.org&gt;
Auto-Submit: Filippo Valsorda &lt;filippo@golang.org&gt;
Reviewed-by: Alex Scheel &lt;alex.scheel@hashicorp.com&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
Reviewed-by: Roland Shoemaker &lt;roland@golang.org&gt;
Reviewed-by: David Chase &lt;drchase@google.com&gt;
(cherry picked from commit 1df2a03b17b4496bddfb482ec45b2a29c20e5249)
Reviewed-on: https://go-review.googlesource.com/c/go/+/425635
</content>
</entry>
<entry>
<title>[release-branch.go1.19] cmd/go/internal/imports: include ToolTags in the Tags map</title>
<updated>2022-08-29T19:17:28Z</updated>
<author>
<name>Zeke Lu</name>
<email>lvzecai@gmail.com</email>
</author>
<published>2022-08-25T04:17:00Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=4da9d6aa1015a15b700a8608726bc2a3978ed36e'/>
<id>urn:sha1:4da9d6aa1015a15b700a8608726bc2a3978ed36e</id>
<content type='text'>
This fixes a regression introduced when the "race" mode tag was moved to
the ToolTags field in CL 358539.

Fixes #54660
Updates #54468

Change-Id: I107771948a4fe9d743cc13d1c15f324212b08e03
GitHub-Last-Rev: d211e351ef3331f2c38b16d327d992a32ebbfe30
GitHub-Pull-Request: golang/go#54618
Reviewed-on: https://go-review.googlesource.com/c/go/+/425154
Reviewed-by: David Chase &lt;drchase@google.com&gt;
Auto-Submit: Bryan Mills &lt;bcmills@google.com&gt;
Reviewed-by: Bryan Mills &lt;bcmills@google.com&gt;
Run-TryBot: Bryan Mills &lt;bcmills@google.com&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
(cherry picked from commit 6ba2674ddc5373f261211ba5ebc38496dc660604)
Reviewed-on: https://go-review.googlesource.com/c/go/+/426434
Reviewed-by: Heschi Kreinick &lt;heschi@google.com&gt;
</content>
</entry>
</feed>
