<feed xmlns='http://www.w3.org/2005/Atom'>
<title>go/src/cmd/compile/doc.go, branch fix-runtime-test-GOMAXPROCS</title>
<subtitle>Fork of Go programming language with my patches.</subtitle>
<id>http://git.kilabit.info/go/atom?h=fix-runtime-test-GOMAXPROCS</id>
<link rel='self' href='http://git.kilabit.info/go/atom?h=fix-runtime-test-GOMAXPROCS'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/'/>
<updated>2025-07-08T15:04:03Z</updated>
<entry>
<title>cmd/compile: document that nosplit directive is unsafe</title>
<updated>2025-07-08T15:04:03Z</updated>
<author>
<name>Ian Lance Taylor</name>
<email>iant@golang.org</email>
</author>
<published>2025-07-07T20:01:34Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=bb917bb0303843467e809a3a373e4bb2d359fcfa'/>
<id>urn:sha1:bb917bb0303843467e809a3a373e4bb2d359fcfa</id>
<content type='text'>
For #74478

Change-Id: I902e9a92cdacb5ad6dafa9896640f8196ba1d56a
Reviewed-on: https://go-review.googlesource.com/c/go/+/686115
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Reviewed-by: Keith Randall &lt;khr@golang.org&gt;
Auto-Submit: Keith Randall &lt;khr@golang.org&gt;
Reviewed-by: Keith Randall &lt;khr@google.com&gt;
Reviewed-by: Carlos Amedee &lt;carlos@golang.org&gt;
</content>
</entry>
<entry>
<title>cmd/compile: document -embedcfg flag</title>
<updated>2025-02-25T20:26:38Z</updated>
<author>
<name>Ian Lance Taylor</name>
<email>iant@golang.org</email>
</author>
<published>2025-02-25T18:51:29Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=b38b0c0088039b03117b87eee61583ac4153f2b7'/>
<id>urn:sha1:b38b0c0088039b03117b87eee61583ac4153f2b7</id>
<content type='text'>
Fixes #71942

Change-Id: Ie7e795506a9c8781f0e0963012233a7ed1093855
Reviewed-on: https://go-review.googlesource.com/c/go/+/652475
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Auto-Submit: Ian Lance Taylor &lt;iant@golang.org&gt;
Reviewed-by: Michael Pratt &lt;mpratt@google.com&gt;
Reviewed-by: Robert Griesemer &lt;gri@google.com&gt;
</content>
</entry>
<entry>
<title>cmd/compile: improve compiler directive docs</title>
<updated>2024-12-27T16:31:59Z</updated>
<author>
<name>Austin Clements</name>
<email>austin@google.com</email>
</author>
<published>2024-12-27T15:48:22Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=7c03fe70b897581aacc0092315f75abd08ebeeee'/>
<id>urn:sha1:7c03fe70b897581aacc0092315f75abd08ebeeee</id>
<content type='text'>
This section has gotten long enough that it deserves to be multiple
sections. This also allows us to better structure information shared
by subsets of directives. In particular, this enables a self-contained
section on the wasm directives.

Updates #66984.

Change-Id: I062081d46c6b0aef7887fdaf9efae80f32ad4b21
Reviewed-on: https://go-review.googlesource.com/c/go/+/638881
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Auto-Submit: Austin Clements &lt;austin@google.com&gt;
Reviewed-by: Cherry Mui &lt;cherryyz@google.com&gt;
</content>
</entry>
<entry>
<title>cmd/compile: document wasmexport directive, update permitted types for wasmimport</title>
<updated>2024-12-05T19:35:30Z</updated>
<author>
<name>Cherry Mui</name>
<email>cherryyz@google.com</email>
</author>
<published>2024-12-05T17:04:35Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=32e19fc4397142b743646ff8a526d07c126bf89b'/>
<id>urn:sha1:32e19fc4397142b743646ff8a526d07c126bf89b</id>
<content type='text'>
For #65199, #66984.

Change-Id: I9b651a00265fa7d3438d8a73ff04ddca7c4bed99
Reviewed-on: https://go-review.googlesource.com/c/go/+/633776
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Reviewed-by: Johan Brandhorst-Satzkorn &lt;johan.brandhorst@gmail.com&gt;
Reviewed-by: Michael Knyszek &lt;mknyszek@google.com&gt;
</content>
</entry>
<entry>
<title>cmd/compile: document go:wasmimport directive</title>
<updated>2024-01-11T16:53:50Z</updated>
<author>
<name>Mauri de Souza Meneguzzo</name>
<email>mauri870@gmail.com</email>
</author>
<published>2024-01-10T21:15:55Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=d1674cb4c6531df6573bc3be136b302d2b362c56'/>
<id>urn:sha1:d1674cb4c6531df6573bc3be136b302d2b362c56</id>
<content type='text'>
Fixes #64972

Change-Id: I784a8728afbdef9736681d56f0a79c82a00609d6
GitHub-Last-Rev: bf158dbeaaa495dc258c590c7a21cf9e25e76ee7
GitHub-Pull-Request: golang/go#64991
Reviewed-on: https://go-review.googlesource.com/c/go/+/554455
Reviewed-by: Achille Roussel &lt;achille.roussel@gmail.com&gt;
Reviewed-by: Johan Brandhorst-Satzkorn &lt;johan.brandhorst@gmail.com&gt;
Reviewed-by: Cherry Mui &lt;cherryyz@google.com&gt;
Reviewed-by: Austin Clements &lt;austin@google.com&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
</content>
</entry>
<entry>
<title>src/cmd/compile: clarify //go:linkname documentation</title>
<updated>2023-02-02T16:02:34Z</updated>
<author>
<name>Alan Donovan</name>
<email>adonovan@google.com</email>
</author>
<published>2023-01-23T16:21:27Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=cb3c50db2256ddad6fb2e7474b4052c6b2ca4bf1'/>
<id>urn:sha1:cb3c50db2256ddad6fb2e7474b4052c6b2ca4bf1</id>
<content type='text'>
Change-Id: I0407950bfc84082683012944b2051e46dc682ba0
Reviewed-on: https://go-review.googlesource.com/c/go/+/463136
Reviewed-by: Ian Lance Taylor &lt;iant@golang.org&gt;
Run-TryBot: Alan Donovan &lt;adonovan@google.com&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
Reviewed-by: Cherry Mui &lt;cherryyz@google.com&gt;
</content>
</entry>
<entry>
<title>cmd/compile: revert "remove -installsuffix flag"</title>
<updated>2022-07-18T18:00:52Z</updated>
<author>
<name>Matthew Dempsky</name>
<email>mdempsky@google.com</email>
</author>
<published>2022-07-18T17:03:30Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=967a3d985d9252368b236411d2f0658fd636b1d4'/>
<id>urn:sha1:967a3d985d9252368b236411d2f0658fd636b1d4</id>
<content type='text'>
This reverts CL 415236 (commit 558785a0a9df5fbb7e9617c05059cf2892884620).

Reason for revert: Google's internal build system uses -installsuffix.
Restoring -installsuffix for Go 1.19, and will try again for Go 1.20.

Change-Id: Id6571f34f99f01bcf55e8e949e6fe7b6c1896134
Reviewed-on: https://go-review.googlesource.com/c/go/+/418036
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
Auto-Submit: Matthew Dempsky &lt;mdempsky@google.com&gt;
Run-TryBot: Matthew Dempsky &lt;mdempsky@google.com&gt;
Reviewed-by: David Chase &lt;drchase@google.com&gt;
</content>
</entry>
<entry>
<title>cmd/compile: remove -installsuffix flag</title>
<updated>2022-07-13T21:42:33Z</updated>
<author>
<name>Matthew Dempsky</name>
<email>mdempsky@google.com</email>
</author>
<published>2022-06-29T20:20:36Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=558785a0a9df5fbb7e9617c05059cf2892884620'/>
<id>urn:sha1:558785a0a9df5fbb7e9617c05059cf2892884620</id>
<content type='text'>
Obsoleted by -importcfg.

cmd/link has a similar flag, but it seems to still be needed at least
for misc/cgo/testshared.TestGopathShlib. I can't immediately tell why
(has something to do with finding .so files), but it doesn't appear to
possibly affect cmd/compile.

Updates #51225.

Change-Id: I80c6aef860bd162c010ad4a1a4f532b400cf901c
Reviewed-on: https://go-review.googlesource.com/c/go/+/415236
Reviewed-by: David Chase &lt;drchase@google.com&gt;
Run-TryBot: Matthew Dempsky &lt;mdempsky@google.com&gt;
Reviewed-by: Russ Cox &lt;rsc@golang.org&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
</content>
</entry>
<entry>
<title>cmd/compile: remove -importmap flag</title>
<updated>2022-07-13T21:42:13Z</updated>
<author>
<name>Matthew Dempsky</name>
<email>mdempsky@google.com</email>
</author>
<published>2022-06-29T20:03:51Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=1355ea3045cd1327740ecfb7387918db45bf4f89'/>
<id>urn:sha1:1355ea3045cd1327740ecfb7387918db45bf4f89</id>
<content type='text'>
Obsoleted by -importcfg, and no longer used by anything.

Updates #51225.

Change-Id: I49e646d2728347f862f90805051bb03dd4f4bed2
Reviewed-on: https://go-review.googlesource.com/c/go/+/415235
Reviewed-by: Russ Cox &lt;rsc@golang.org&gt;
Run-TryBot: Matthew Dempsky &lt;mdempsky@google.com&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
Reviewed-by: David Chase &lt;drchase@google.com&gt;
</content>
</entry>
<entry>
<title>cmd/compile: add //go:uintptrkeepalive</title>
<updated>2022-04-21T18:06:38Z</updated>
<author>
<name>Michael Pratt</name>
<email>mpratt@google.com</email>
</author>
<published>2022-02-25T19:21:25Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go/commit/?id=342b495301bbd8b75c2721212a08ce41e3f82265'/>
<id>urn:sha1:342b495301bbd8b75c2721212a08ce41e3f82265</id>
<content type='text'>
This CL exports the existing ir.UintptrKeepAlive via the new directive
//go:uintptrkeepalive. This makes the compiler insert KeepAlives for
pointers converted to uintptr in calls, keeping them alive for the
duration of the call.

//go:uintptrkeepalive requires //go:nosplit, as stack growth can't
handle these arguments (it cannot know which are pointers). We currently
check this on the immediate function, but the actual restriction applies
to all transitive calls.

The existing //go:uintptrescapes is an extension of
//go:uintptrkeepalive which forces pointers to escape to the heap, thus
eliminating the stack growth issue.

This pragma is limited to the standard library.

For #51087

Change-Id: If9a19d484d3561b4219e5539b70c11a3cc09391e
Reviewed-on: https://go-review.googlesource.com/c/go/+/388095
Run-TryBot: Michael Pratt &lt;mpratt@google.com&gt;
Reviewed-by: Matthew Dempsky &lt;mdempsky@google.com&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
</content>
</entry>
</feed>
