<feed xmlns='http://www.w3.org/2005/Atom'>
<title>go, branch go1.15.2</title>
<subtitle>Fork of Go programming language with my patches.</subtitle>
<id>http://git.kilabit.info/go/atom?h=go1.15.2</id>
<link rel='self' href='http://git.kilabit.info/go/atom?h=go1.15.2'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/'/>
<updated>2020-09-09T16:38:12Z</updated>
<entry>
<title>[release-branch.go1.15] go1.15.2</title>
<updated>2020-09-09T16:38:12Z</updated>
<author>
<name>Dmitri Shuralyov</name>
<email>dmitshur@golang.org</email>
</author>
<published>2020-09-09T14:01:49Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=9706f510a5e2754595d716bd64be8375997311fb'/>
<id>urn:sha1:9706f510a5e2754595d716bd64be8375997311fb</id>
<content type='text'>
Change-Id: I876e199ac276e42cd98bf36d22eaacf26506a975
Reviewed-on: https://go-review.googlesource.com/c/go/+/253717
Reviewed-by: Alexander Rakoczy &lt;alex@golang.org&gt;
Run-TryBot: Dmitri Shuralyov &lt;dmitshur@golang.org&gt;
TryBot-Result: Gobot Gobot &lt;gobot@golang.org&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.15] cmd/compile, runtime: mark R12 clobbered for write barrier call on PPC64</title>
<updated>2020-09-03T14:49:02Z</updated>
<author>
<name>Cherry Zhang</name>
<email>cherryyz@google.com</email>
</author>
<published>2020-08-17T23:06:19Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=f50cde9a704542faf6c499e1a69c6bdd6e451f30'/>
<id>urn:sha1:f50cde9a704542faf6c499e1a69c6bdd6e451f30</id>
<content type='text'>
When external linking, for large binaries, the external linker
may insert a trampoline for the write barrier call, which looks

0000000005a98cc8 &lt;__long_branch_runtime.gcWriteBarrier&gt;:
 5a98cc8:       86 01 82 3d     addis   r12,r2,390
 5a98ccc:       d8 bd 8c e9     ld      r12,-16936(r12)
 5a98cd0:       a6 03 89 7d     mtctr   r12
 5a98cd4:       20 04 80 4e     bctr

It clobbers R12 (and CTR, which is never live across a call).

As at compile time we don't know whether the binary is big and
what link mode will be used, I think we need to mark R12 as
clobbered for write barrier call. For extra safety (future-proof)
we mark caller-saved register that cannot be used for function
arguments, which includes R11, as potentially clobbered as well.

Updates #40851.
Fixes #40868.

Change-Id: Iedd901c5072f1127cc59b0a48cfeb4aaec81b519
Reviewed-on: https://go-review.googlesource.com/c/go/+/248917
Run-TryBot: Cherry Zhang &lt;cherryyz@google.com&gt;
TryBot-Result: Gobot Gobot &lt;gobot@golang.org&gt;
Reviewed-by: Austin Clements &lt;austin@google.com&gt;
(cherry picked from commit b58d29741650c7bf10b17f455666e2727e1cdd2e)
Reviewed-on: https://go-review.googlesource.com/c/go/+/249019
</content>
</entry>
<entry>
<title>[release-branch.go1.15] cmd/internal/obj: stop removing NOPs from instruction stream</title>
<updated>2020-09-03T02:29:39Z</updated>
<author>
<name>Keith Randall</name>
<email>khr@golang.org</email>
</author>
<published>2020-08-15T15:08:37Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=b616f745ef6eb14daeb1d7d9b41a2908835bc3fd'/>
<id>urn:sha1:b616f745ef6eb14daeb1d7d9b41a2908835bc3fd</id>
<content type='text'>
This has already been done for s390x, ppc64. This CL is for
all the other architectures.

Fixes #40798

Change-Id: Idd1816e057df63022d47e99fa06617811d8c8489
Reviewed-on: https://go-review.googlesource.com/c/go/+/248684
Run-TryBot: Cherry Zhang &lt;cherryyz@google.com&gt;
TryBot-Result: Gobot Gobot &lt;gobot@golang.org&gt;
Reviewed-by: Cherry Zhang &lt;cherryyz@google.com&gt;
(cherry picked from commit 46ca7b5ee2a8582736f1ddac27d8660e1104c345)
Reviewed-on: https://go-review.googlesource.com/c/go/+/249444
Run-TryBot: Dmitri Shuralyov &lt;dmitshur@golang.org&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.15] cmd/internal/obj/ppc64: don't remove NOP in assembler</title>
<updated>2020-09-03T02:16:47Z</updated>
<author>
<name>Lynn Boger</name>
<email>laboger@linux.vnet.ibm.com</email>
</author>
<published>2020-08-11T16:04:25Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=a5fb3b1f3d0de39805462abce5a722c9c3ce8647'/>
<id>urn:sha1:a5fb3b1f3d0de39805462abce5a722c9c3ce8647</id>
<content type='text'>
Previously, the assembler removed NOPs from the Prog list in
obj9.go. NOPs shouldn't be removed if they were added as
an inline mark, as described in the issue below.

Fixes #40767

Once the NOPs were left in the Prog list, some instructions
were flagged as invalid because they had an operand which was
not represented in optab. In order to preserve the previous
assembler behavior, entries were added to optab for those
operand cases. They were not flagged as errors before because
the NOP instructions were removed before the code to check the
valid opcode/operand combinations.

Change-Id: Iae5145f94459027cf458e914d7c5d6089807ccf8
Reviewed-on: https://go-review.googlesource.com/c/go/+/247842
Run-TryBot: Lynn Boger &lt;laboger@linux.vnet.ibm.com&gt;
TryBot-Result: Gobot Gobot &lt;gobot@golang.org&gt;
Reviewed-by: Paul Murphy &lt;murp@ibm.com&gt;
Reviewed-by: Michael Munday &lt;mike.munday@ibm.com&gt;
Reviewed-by: Keith Randall &lt;khr@golang.org&gt;
(cherry picked from commit 7d7bd5abc7f7ac901830b79496f63ce86895e262)
Reviewed-on: https://go-review.googlesource.com/c/go/+/248381
Run-TryBot: Dmitri Shuralyov &lt;dmitshur@golang.org&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.15] net/http/fgci: skip flaky test</title>
<updated>2020-09-02T17:40:55Z</updated>
<author>
<name>Filippo Valsorda</name>
<email>filippo@golang.org</email>
</author>
<published>2020-09-02T16:19:08Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=33e86004f1c80fd5114696faec7c08e5c1cbb915'/>
<id>urn:sha1:33e86004f1c80fd5114696faec7c08e5c1cbb915</id>
<content type='text'>
A test introduced in the security release is flaky due to a pre-existing
issue that does not qualify for backport itself.

Updates #41167
Fixes #41193

Change-Id: Ie6014e0796c1baee7b077881b5a799f9947fc9c2
Reviewed-on: https://go-review.googlesource.com/c/go/+/252717
Run-TryBot: Dmitri Shuralyov &lt;dmitshur@golang.org&gt;
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@golang.org&gt;
TryBot-Result: Gobot Gobot &lt;gobot@golang.org&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.15] cmd/test2json: do not emit a final Action if the result is not known</title>
<updated>2020-09-02T15:02:34Z</updated>
<author>
<name>Bryan C. Mills</name>
<email>bcmills@google.com</email>
</author>
<published>2020-08-14T21:44:22Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=09b28977f599d846aca968102c8d6e8b0283a18b'/>
<id>urn:sha1:09b28977f599d846aca968102c8d6e8b0283a18b</id>
<content type='text'>
If we are parsing a test output, and the test does not end in the
usual PASS or FAIL line (say, because it panicked), then we need the
exit status of the test binary in order to determine whether the test
passed or failed. If we don't have that status available, we shouldn't
guess arbitrarily — instead, we should omit the final "pass" or "fail"
action entirely.

(In practice, we nearly always DO have the final status, such as when
running 'go test' or 'go tool test2json some.exe'.)

Updates #40132
Fixes #40805

Change-Id: Iae482577361a6033395fe4a05d746b980e18c3de
Reviewed-on: https://go-review.googlesource.com/c/go/+/248624
Run-TryBot: Bryan C. Mills &lt;bcmills@google.com&gt;
TryBot-Result: Gobot Gobot &lt;gobot@golang.org&gt;
Reviewed-by: Jay Conrod &lt;jayconrod@google.com&gt;
(cherry picked from commit 1b86bdbdc3991c13c6ed156100a5f4918fdd9c6b)
Reviewed-on: https://go-review.googlesource.com/c/go/+/248725
</content>
</entry>
<entry>
<title>[release-branch.go1.15] cmd/go/internal/test: keep looking for go command flags after ambiguous test flag</title>
<updated>2020-09-02T14:57:44Z</updated>
<author>
<name>Bryan C. Mills</name>
<email>bcmills@google.com</email>
</author>
<published>2020-08-14T19:47:49Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=76a89d6ca0436f027c9c3df59a7a542a99ee790f'/>
<id>urn:sha1:76a89d6ca0436f027c9c3df59a7a542a99ee790f</id>
<content type='text'>
Updates #40763
Fixes #40802

Change-Id: I275970d1f8561414571a5b93e368d68fa052c60f
Reviewed-on: https://go-review.googlesource.com/c/go/+/248618
Run-TryBot: Bryan C. Mills &lt;bcmills@google.com&gt;
TryBot-Result: Gobot Gobot &lt;gobot@golang.org&gt;
Reviewed-by: Jay Conrod &lt;jayconrod@google.com&gt;
(cherry picked from commit 797124f5ff4bb80957007adbf3115287a4e90870)
Reviewed-on: https://go-review.googlesource.com/c/go/+/248726
</content>
</entry>
<entry>
<title>[release-branch.go1.15] doc/go1.14: document json.Umarshal map key support of TextUnmarshaler</title>
<updated>2020-09-02T13:39:54Z</updated>
<author>
<name>ShihCheng Tu</name>
<email>mrtoastcheng@gmail.com</email>
</author>
<published>2020-06-14T16:07:10Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=60fdbce6fd02e226454ae28c8644b3052a793c3e'/>
<id>urn:sha1:60fdbce6fd02e226454ae28c8644b3052a793c3e</id>
<content type='text'>
Document that json.Unmarshal supports map keys whose underlying
types implement encoding.TextUnmarshaler.

Updates #38801.
Fixes #41178.

Change-Id: Icb9414e9067517531ba0da910bd4a2bb3daace65
Reviewed-on: https://go-review.googlesource.com/c/go/+/237857
Reviewed-by: Daniel Martí &lt;mvdan@mvdan.cc&gt;
Run-TryBot: Daniel Martí &lt;mvdan@mvdan.cc&gt;
TryBot-Result: Gobot Gobot &lt;gobot@golang.org&gt;
(cherry picked from commit 47b450997778163dfed6f58cae379d928fc37687)
Reviewed-on: https://go-review.googlesource.com/c/go/+/252618
Run-TryBot: Dmitri Shuralyov &lt;dmitshur@golang.org&gt;
Reviewed-by: Carlos Amedee &lt;carlos@golang.org&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.15] runtime: fix panic if newstack at runtime.acquireLockRank</title>
<updated>2020-09-02T12:57:08Z</updated>
<author>
<name>chainhelen</name>
<email>chainhelen@gmail.com</email>
</author>
<published>2020-08-21T16:44:52Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=a269e5f9391ee462cd94ccfb59c8c4460d4a7eb7'/>
<id>urn:sha1:a269e5f9391ee462cd94ccfb59c8c4460d4a7eb7</id>
<content type='text'>
Process may crash becaues acquireLockRank and releaseLockRank may
be called in nosplit context. With optimizations and inlining
disabled, these functions won't get inlined or have their morestack
calls eliminated.
Nosplit is not strictly required for lockWithRank, unlockWithRank
and lockWithRankMayAcquire, just keep consistency with lockrank_on.go
here.

Updates #40843.
Fixes #40845.

Change-Id: I5824119f98a1da66d767cdb9a60dffe768f13c81
GitHub-Last-Rev: 38fd3ccf6ea03b670c7561c060ccdbccc42fff40
GitHub-Pull-Request: golang/go#40844
Reviewed-on: https://go-review.googlesource.com/c/go/+/248878
Reviewed-by: Dan Scales &lt;danscales@google.com&gt;
Run-TryBot: Emmanuel Odeke &lt;emm.odeke@gmail.com&gt;
TryBot-Result: Gobot Gobot &lt;gobot@golang.org&gt;
(cherry picked from commit b246c0e12fd41caf45a0f81eaa4f8fe249fbbc01)
Reviewed-on: https://go-review.googlesource.com/c/go/+/252339
Run-TryBot: Dmitri Shuralyov &lt;dmitshur@golang.org&gt;
</content>
</entry>
<entry>
<title>[release-branch.go1.15] testing: treat PAUSE lines as changing the active test name</title>
<updated>2020-09-01T19:41:10Z</updated>
<author>
<name>Bryan C. Mills</name>
<email>bcmills@google.com</email>
</author>
<published>2020-08-17T21:31:21Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=0ffc5672df75accd06fb7477c46d4a7d1740401d'/>
<id>urn:sha1:0ffc5672df75accd06fb7477c46d4a7d1740401d</id>
<content type='text'>
We could instead fix cmd/test2json to treat PAUSE lines as *not*
changing the active test name, but that seems like it would be more
confusing to humans, and also wouldn't fix tools that parse output
using existing builds of cmd/test2json.

Fixes #40849
Updates #40657

Change-Id: I937611778f5b1e7dd1d6e9f44424d7e725a589ed
Reviewed-on: https://go-review.googlesource.com/c/go/+/248727
Run-TryBot: Bryan C. Mills &lt;bcmills@google.com&gt;
Reviewed-by: Jean de Klerk &lt;deklerk@google.com&gt;
(cherry picked from commit cdc77d34d7770ed02d84b9193380f9646017dce6)
Reviewed-on: https://go-review.googlesource.com/c/go/+/249097
TryBot-Result: Gobot Gobot &lt;gobot@golang.org&gt;
</content>
</entry>
</feed>
