Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/hack-pad/go

The Go programming language
https://github.com/hack-pad/go

Avoid cyclic panic and stack overflow when overriding fs

ee701249dcd1f6da2d1b0b6b58f12446cfca6321 authored over 1 year ago by John Starich <[email protected]>
hackpad: Add initial go-wasm patches

82f1f52873f50b3b5c74bd4718b34acf1dd6c87f authored over 1 year ago by John Starich <[email protected]>
[release-branch.go1.20] cmd/compile: don't set range expr key/value type if already set

Unified IR already records the correct type for them.

Fixes #59450

Change-Id: I275c45b48f67bde...

99001c460e9c552c9ccc8a65c428bbe4d6128085 authored over 1 year ago by Cuong Manh Le <[email protected]>
[release-branch.go1.20] crypto/subtle: don't cast to *uintptr when word size is 0

Casting to a *uintptr is not ok if there isn't at least 8 bytes of
data backing that pointer (on...

dcc9bdf38037af6197f3f50968badb1f0db82e10 authored over 1 year ago by Keith Randall <[email protected]>
[release-branch.go1.20] html/template,mime/multipart: document new GODEBUG settings

This change documents the new GODEBUG settings introduced for
html/template and mime/multipart, ...

5c7c20e262bdef14c23bd07950bde94ba335ee63 authored over 1 year ago by Michael Anthony Knyszek <[email protected]>
[release-branch.go1.20] go1.20.3

Change-Id: I1ca3074262203c6f250c902ca087d244edf9eb96
Reviewed-on: https://go-review.googlesource...

7c47a6b15782b13ecb76fd3c6c18e5f1edc34733 authored over 1 year ago by Gopher Robot <[email protected]>
[release-branch.go1.20] html/template: disallow actions in JS template literals

ECMAScript 6 introduced template literals[0][1] which are delimited with
backticks. These need t...

20374d1d759bc4e17486bde1cb9dca5be37d9e52 authored over 1 year ago by Roland Shoemaker <[email protected]>
[release-branch.go1.20] go/scanner: reject large line and column numbers in //line directives

Setting a large line or column number using a //line directive can cause
integer overflow even i...

e7c4b07ecf6b367f1afc9cc48cde963829dd0aab authored over 1 year ago by Damien Neil <[email protected]>
[release-branch.go1.20] mime/multipart: limit parsed mime message sizes

The parsed forms of MIME headers and multipart forms can consume
substantially more memory than ...

bf8c7c575c8a552d9d79deb29e80854dc88528d0 authored over 1 year ago by Damien Neil <[email protected]>
[release-branch.go1.20] net/textproto, mime/multipart: improve accounting of non-file data

For requests containing large numbers of small parts,
memory consumption of a parsed form could ...

ec18f62df59d8f857e63ed3d7480754c49b072c3 authored over 1 year ago by Damien Neil <[email protected]>
[release-branch.go1.20] mime/multipart: avoid excessive copy buffer allocations in ReadForm

When copying form data to disk with io.Copy,
allocate only one copy buffer and reuse it rather t...

ea6b5a64dd5bf68b33286436ffbe06f68a1fdbfd authored over 1 year ago by Damien Neil <[email protected]>
[release-branch.go1.20] net/textproto: avoid overpredicting the number of MIME header keys

A parsed MIME header is a map[string][]string. In the common case,
a header contains many one-el...

3991f6c41c7dfd167e889234c0cf1d840475e93c authored over 1 year ago by Damien Neil <[email protected]>
[release-branch.go1.20] cmd/internal/obj/ppc64: fix incorrect base reg causing segv

This fixes a segv that was reported due to building minio. The
problem occurred because of an in...

9a164d1c41a5c85cc3c6fa93c29677e8bc36714f authored over 1 year ago by Lynn Boger <[email protected]>
[release-branch.go1.20] cmd/compile: don't assume pointer of a slice is non-nil

unsafe.SliceData can return pointers which are nil. That function gets
lowered to the SSA OpSlic...

8dce4ca8dfd4892e2f5bdf0a1224b9efe0dca89f authored over 1 year ago by Keith Randall <[email protected]>
[release-branch.go1.20] cmd/compile: re-compile instantiated generic methods in linkshared mode

For G[T] that was seen and compiled in imported package, it is not added
to typecheck.Target.Dec...

94c02a3cc481e4b73ce275ba6e50c286d4c492ff authored over 1 year ago by Cuong Manh Le <[email protected]>
[release-branch.go1.20] time: fix timezone lookup logic for non-DST zones

This change fixes time.LoadLocationFromTZData and time.Location.lookup logic if the given time i...

65fa8a69312dd64e09e32e4138ccc7278d0693e5 authored over 1 year ago by Geon Kim <[email protected]>
[release-branch.go1.20] cmd/link/internal/arm: fix off-by-1 in trampoline reachability computation

Tweak the code in trampoline generation that determines if a given
call branch will reach, chang...

b52a6963bf6dfdddb8f8e7e85d52012ac305476f authored over 1 year ago by Than McIntosh <[email protected]>
[release-branch.go1.20] cmd/go,cmd/link: prefer external linking when strange cgo flags seen

This patch changes the Go command to examine the set of compiler
flags feeding into the C compil...

3ff6dbdf5b65e4c9da1a2020e45a56a7ae48cc91 authored over 1 year ago by Than McIntosh <[email protected]>
[release-branch.go1.20] cmd/link: use label symbols for Duff's devices on darwin/arm64

On darwin, the external linker generally supports CALL relocations
with addend. One exception is...

fa42da156a166ecf81ab7d72f53619ad9e6f134a authored over 1 year ago by Cherry Mui <[email protected]>
[release-branch.go1.20] Revert "cmd/compile: enable address folding for global symbols of shared library"

This reverts CL 445535.

Reason for revert: see issue #58826. It doesn't handle large offset wel...

5c7cc468a8dacc032c4eddea6d5e7fc089d2f517 authored over 1 year ago by Cherry Mui <[email protected]>
[release-branch.go1.20] cmd/go: avoid running slow tests on non-longtest builders

Also annotate calls to tooSlow with specific reasons.

This will somewhat reduce test coverage o...

b852f39511db4c8f74a243fa3ce251b0dc8872b3 authored over 1 year ago by Bryan C. Mills <[email protected]>
[release-branch.go1.20] internal/testpty: fix error handling

When calling a c library function, you discover that an error has
occurred, typically by looking...

4df95d5145ffea7a7aa6a8e785038f41185ee166 authored over 1 year ago by Heschi Kreinick <[email protected]>
[release-branch.go1.20] go1.20.2

Change-Id: Ib993bfea994a3e885a6068860d2e1f6705f8cf40
Reviewed-on: https://go-review.googlesource...

aee9a19c559da6fd258a8609556d89f6fad2a6d8 authored over 1 year ago by Gopher Robot <[email protected]>
[release-branch.go1.20] cmd/compile: relax overly strict assertion

The assertion here was to make sure the newly constructed and
typechecked expression selected th...

26eeaec89c1e78696bfa8ad000d4c8275e3bdb75 authored over 1 year ago by Matthew Dempsky <[email protected]>
[release-branch.go1.20] crypto/x509: fix broken tests

Convert TestUnknownAuthorityError to use subtests, avoiding continuing
the test after an unrecov...

9629fa1874f269cdc488081912afb45a7b34da86 authored over 1 year ago by Roland Shoemaker <[email protected]>
[release-branch.go1.20] crypto/x509: fix system root tests + darwin intermediate handling

On Windows, replace tests which rely on a root that expired last year.
On Darwin fix an test whi...

3243f93747227816795bca8f04452fbdc2237e5f authored over 1 year ago by Roland Shoemaker <[email protected]>
[release-branch.go1.20] syscall: fix invalid unsafe.Pointer conversion on Windows

Updates #58714
Fixes #58774

Change-Id: Ifa5c059ed5e358ed98aee7e83b95dd1806b535f7
Reviewed-on: h...

d2d0ee2049e78d8c57025e0861425808825c759e authored over 1 year ago by Cuong Manh Le <[email protected]>
[release-branch.go1.20] net: delete TestTCPSelfConnect

This test is flaky, apparently due to a typo'd operator in CL 21447
that causes it to compare “s...

230765a11a9be0aa72a6dc1a8a02bad246514535 authored over 1 year ago by Bryan C. Mills <[email protected]>
[release-branch.go1.20] crypto/x509: fix ParsePKCS8PrivateKey comment

Updates #58789.
Fixes #58793.

Change-Id: I91cdd20c6d4f05baaacd6a38717aa7bed6682573
Reviewed-on:...

bdd86bda09050bdeaf4e812eef69ba13ff57dfee authored over 1 year ago by Roland Shoemaker <[email protected]>
[release-branch.go1.20] syscall: Faccessat: check for CAP_DAC_OVERRIDE on Linux

CL 416115 added using faccessat2(2) from syscall.Faccessat on Linux
(which is the only true way ...

aef8a8cd42726d4a86481d0eaee4b3a44b180afe authored over 1 year ago by Kir Kolyshkin <[email protected]>
[release-branch.go1.20] crypto/internal/bigmod: flag amd64 assembly as noescape

I had forgotten, which caused amd64 allocations to go back up
significantly. Added an allocation...

ef793801f8b54398c5013caa8ffea092129de1a5 authored over 1 year ago by Filippo Valsorda <[email protected]>
[release-branch.go1.20] crypto/ecdh: explicitly reject mismatched curves in ECDH

Return an explicit error when PrivateKey.ECDH is called with a PublicKey
which uses a different ...

aaace6dda7cde2bebf13c64fb0d75536adb2b08b authored over 1 year ago by Roland Shoemaker <[email protected]>
[release-branch.go1.20] cmd/compile/internal/noder: correct positions for synthetic closures

When inlining functions that contain function literals, we need to be
careful about position inf...

0f4483cfdcf303ac5cbe4f4536e23750423137d9 authored over 1 year ago by Matthew Dempsky <[email protected]>
[release-branch.go1.20] cmd/link: better fix for arm32 trampgen problem with duff routines

This patch provides a fix for a problem linking large arm32 binaries
with external linking, spec...

1362737f50ad2cb827eb1b8bc93d8d78e45a1371 authored over 1 year ago by Than McIntosh <[email protected]>
[release-branch.go1.20] crypto/internal/nistec: reduce P-256 scalar

Unlike the rest of nistec, the P-256 assembly doesn't use complete
addition formulas, meaning th...

602eeaab387f24a4b28c5eccbb50fa934f3bc3c4 authored over 1 year ago by Filippo Valsorda <[email protected]>
[release-branch.go1.20] cmd/internal/cov: fix misuse of bufio.Reader.Read in read helper

Fix a misuse of bufio.Reader.Read in the helper class
cmd/internal/cov.MReader; the MReader meth...

ac556f35a27dbd73372af4088b89df4d61ab74e8 authored over 1 year ago by Than McIntosh <[email protected]>
[release-branch.go1.20] Revert "internal/poll: drop redundant ENOSYS in CopyFileRange"

This reverts CL 428555.

Reason for revert: It appears that even a newer kernel can get
ENOSYS f...

1acd39cc92cea4937fe9530c7d9bbce4711fc41c authored over 1 year ago by Ian Lance Taylor <[email protected]>
[release-branch.go1.20] runtime: check for overflow in sweep assist

The sweep assist computation is intentionally racy for performance,
since the specifics of sweep...

7b398b1ff7d751032ea1e4ffed6f02675fc51c3b authored over 1 year ago by Michael Anthony Knyszek <[email protected]>
[release-branch.go1.20] cmd/compile: fix wrong escape analysis for go/defer generic calls

For go/defer calls like "defer f(x, y)", the compiler rewrites it to:

x1, y1 := x, y
defer fu...

2d01f3695becd725959a723b512cf46e88ae60fe authored over 1 year ago by Cuong Manh Le <[email protected]>
[release-branch.go1.20] cmd/compile: disable inline static init optimization

There are a plenty of regression in 1.20 with this optimization. This CL
disable inline static i...

965e9ba0fb6ed8b511860beaefa7a3ac97a81c36 authored over 1 year ago by Cuong Manh Le <[email protected]>
[release-branch.go1.20] runtime: fix signature for linked functions

These functions are linked using go:linkname, but do not match the
original declarations. This c...

85ded85b78e881d826ed5a2e0cc1dcff8af71142 authored over 1 year ago by Adin Scannell <[email protected]>
[release-branch.go1.20] all: update vendored golang.org/x/net

Update golang.org/x/net to the tip of internal-branch.go1.20-vendor to
include CL 468336.

The c...

828b05cc647e9777c7e8c67fdd9d5bef2b842d31 authored over 1 year ago by Michael Pratt <[email protected]>
[release-branch.go1.20] go1.20.1

Change-Id: I6a40cdd44d7bc7e4bf95a5169ecad16757eb41d3
Reviewed-on: https://go-review.googlesource...

202a1a57064127c3f19d96df57b9f9586145e21c authored over 1 year ago by Gopher Robot <[email protected]>
[release-branch.go1.20] net/http: update bundled golang.org/x/net/http2

Disable cmd/internal/moddeps test, since this update includes PRIVATE
track fixes.

Fixes CVE-20...

8e02cffd8e8a1d5d7b25bd46f675fc8ff9e841d0 authored over 1 year ago by Roland Shoemaker <[email protected]>
[release-branch.go1.20] crypto/tls: replace all usages of BytesOrPanic

Message marshalling makes use of BytesOrPanic a lot, under the
assumption that it will never pan...

5286ac4ed85a3771cc8a982041fe36dc53d7dc3b authored over 1 year ago by Roland Shoemaker <[email protected]>
[release-branch.go1.20] mime/multipart: limit memory/inode consumption of ReadForm

Reader.ReadForm is documented as storing "up to maxMemory bytes + 10MB"
in memory. Parsed forms ...

53b43607d92e9738067c93829bd799441eda8034 authored over 1 year ago by Damien Neil <[email protected]>
[release-branch.go1.20] path/filepath: do not Clean("a/../c:/b") into c:\b on Windows

Do not permit Clean to convert a relative path into one starting
with a drive reference. This ch...

bdf07c2e168baf736e4c057279ca12a4d674f18c authored over 1 year ago by Damien Neil <[email protected]>
[release-branch.go1.20] cmd/compile/internal/pgo: fix hard-coded PGO sample data position

This patch detects at which index position profiling samples that have
the value-type samples co...

3a04b6e12ef0e5a0c608f82051943408bd6f28bd authored over 1 year ago by Frederic Branczyk <[email protected]>
[release-branch.go1.20] cmd/go/internal/script: retry ETXTBSY errors in scripts

Fixes #58431.
Updates #58019.

Change-Id: Ib25d668bfede6e87a3786f44bdc0db1027e3ebec
Reviewed-on:...

00f5d3001a7e684263307ab39c64eba3c79f279c authored over 1 year ago by Bryan C. Mills <[email protected]>
[release-branch.go1.20] cmd/go/internal/test: refresh flagdefs.go and fix test

The tests for cmd/go/internal/test were not running at all due to a
missed call to m.Run in Test...

7628627cb236662002b53686ff0618834a9aa077 authored over 1 year ago by Bryan C. Mills <[email protected]>
[release-branch.go1.20] cmd/go: remove tests that assume lack of new versions of external modules

In general it seems ok to assume that an open-source module that did
exist will continue to do s...

1fa2deb1b1a620511a3c45fcbae895e78d4f5d40 authored over 1 year ago by Bryan C. Mills <[email protected]>
[release-branch.go1.20] runtime: skip darwin osinit_hack on ios

Darwin needs the osinit_hack call to fix some bugs in the Apple libc
that surface when Go progra...

a943fd0cccc6043e6a3397659f3f262544e615b2 authored over 1 year ago by Russ Cox <[email protected]>
[release-branch.go1.20] cmd/link: keep go.buildinfo even with --gc-sections

If you use an external linker with --gc-sections, nothing refers
to .go.buildinfo, so the sectio...

fbba58a0a4f5ff4f3aa4cfa0d494b6d2fefd068a authored over 1 year ago by Russ Cox <[email protected]>
[release-branch.go1.20] time: update windows zoneinfo_abbrs

zoneinfo_abbrs hasn't been updated since go 1.14, it's time to
regenerate it.

Fixes #58117.

Ch...

9987cb6cf34cc893887ad2ecc9d832ee3c69c255 authored over 1 year ago by qmuntal <[email protected]>
[release-branch.go1.20] cmd/compile/internal/noder: stop creating TUNION types

In the types1 universe under the unified frontend, we never need to
worry about type parameter c...

90b06002c44e7fb8fd4b9227efd2d1423e21176b authored over 1 year ago by Matthew Dempsky <[email protected]>
[release-branch.go1.20] cmd/compile: fix inline static init arguments substitued tree

Blank node must be ignored when building arguments substitued tree.
Otherwise, it could be used ...

487be3f90bf65c06eb5f1f30aec30cd0e5b24f92 authored over 1 year ago by Cuong Manh Le <[email protected]>
[release-branch.go1.20] cmd/compile: remove constant arithmetic overflows during typecheck

Since go1.19, these errors are already reported by types2 for any user's
Go code. Compiler gener...

7302f83d8733203aa23f056690d20a4adb949424 authored over 1 year ago by Cuong Manh Le <[email protected]>
[release-branch.go1.20] go1.20

Change-Id: I156873d216ccb7d91e716b4348069df246b527b3
Reviewed-on: https://go-review.googlesource...

de4748c47c67392a57f250714509f590f68ad395 authored over 1 year ago by Gopher Robot <[email protected]>
[release-branch.go1.20] internal/coverage/decodemeta: fix coding error in func literal handling

Fix a coding error in coverage meta-data decoding in the method
decodemeta.CoverageMetaDataDecod...

52bd3b186bd18a1104bd74780fbcb20d35a1114d authored over 1 year ago by Than McIntosh <[email protected]>
[release-branch.go1.20] runtime/coverage: avoid non-test coverage profiles in test report helper

When walking through the set of coverage data files generated from a
"go test -cover" run, it's ...

be7e4fee4b6a96074d003d7211047c23ae9e6c18 authored over 1 year ago by Than McIntosh <[email protected]>
[release-branch.go1.20] sync: document memory model for Swap/CompareAnd{Swap,Delete} in Map

CL 381316 documented the memory model of Map's APIs. However, the newly
introduced Swap, Compare...

b68d699aa73291d3ab8c7547047308efcd582072 authored over 1 year ago by Changkun Ou <[email protected]>
[release-branch.go1.20] Revert "cmd/compile: teach prove about bitwise OR operation"

This reverts commit 3680b5e9c4f42fcf9155aa42b3b344d1fbe19571.

Reason for revert: causes long co...

10124c2631893fc944a98880796eadd7df048c37 authored over 1 year ago by Keith Randall <[email protected]>
[release-branch.go1.20] time: revert strict parsing of RFC 3339

CL 444277 fixed Time.UnmarshalText and Time.UnmarshalJSON to properly
unmarshal timestamps accor...

5adb0ca8e93d24d47fc3a9fbf03296cbe22fcc35 authored over 1 year ago by Joe Tsai <[email protected]>
[release-branch.go1.20] cmd: update x/tools to latest internal Go 1.20 branch

Import x/tools as of CL 462596 (070db2996ebe, Jan 18 2022),
to bring in two vet analysis fixes (...

8b34676710eebe9b6fb7ea6d4fde6ae9a18d7ac9 authored over 1 year ago by Russ Cox <[email protected]>
[release-branch.go1.20] cmd/compile: fix unsafe.{SliceData,StringData} escape analysis memory corruption

Updates #57823
Updates #57854

Change-Id: I54654d3ecb20b75afa9052c5c9db2072a86188d4
Reviewed-on:...

d7c6da8bacf11f845a837a9c93ce43c607dba8a1 authored over 1 year ago by Cuong Manh Le <[email protected]>
[release-branch.go1.20] cmd/compile: fix static init inlining for hidden node fields

Unified IR added several new IR fields for holding *runtime._type
expressions. To avoid throwing...

9eed826bf92818fd9473460af32af70dc0ec59ed authored almost 2 years ago by Matthew Dempsky <[email protected]>
[release-branch.go1.20] all: merge master (9088c69) into release-branch.go1.20

Merge List:

+ 2023-01-17 9088c691da cmd/compile: ensure temp register mask isn't empty
+ 2023-0...

670ce9b8a85fe6c7ea617aa780451c4e564e3075 authored almost 2 years ago by Cherry Mui <[email protected]>
cmd/compile: ensure temp register mask isn't empty

We need to avoid nospill registers at this point in regalloc.
Make sure that we don't restrict o...

9088c691dac424540f562d6271c5ee479e9f9d80 authored almost 2 years ago by Keith Randall <[email protected]>
os: document that Rename is not atomic on non-Unix platforms

Windows provides no reliable way to rename files atomically.

The Plan 9 implementation of os.Re...

c0799f7015e6cae37c21294bb94f56050fda5f4e authored almost 2 years ago by Alan Donovan <[email protected]>
doc/go1.20: update cryptography release notes

Change-Id: I5d6d2bd5cbb246ea514e5adbe936fb31b92904af
Reviewed-on: https://go-review.googlesource...

d74c31f0ba8b7940350f93df044a5cb7002e02d0 authored almost 2 years ago by Filippo Valsorda <[email protected]>
strings: remove redundant symbols

Change-Id: Ie3fe0274288d6cb6303acdcec1340c480e5c0b20
GitHub-Last-Rev: ce9d44619e970b1319fbccf3aa...

8e199294361de59b637f25a7d5eebdee1b131415 authored almost 2 years ago by fangguizhen <[email protected]>
cmd/go: include coverage build flags for "go list"

This patch ensures that the go command's "list" subcommand accepts
coverage-related build option...

6cb8c43b842daffe628e8ee7a94ea3b1ba17299d authored almost 2 years ago by Than McIntosh <[email protected]>
crypto/ed25519: improve Ed25519ctx docs and add example

Change-Id: Ic215a90d1e1daa5805dbab1dc56480281e53b341
Reviewed-on: https://go-review.googlesource...

02ed0e5e67530e6b041989d55048ce373dc60327 authored almost 2 years ago by Filippo Valsorda <[email protected]>
crypto/x509: clarify that CheckSignatureFrom and CheckSignature are low-level APIs

In particular, CheckSignatureFrom just can't check the path length
limit, because it might be en...

f375b305c801515b587719490b4be0db1a66e20c authored almost 2 years ago by Filippo Valsorda <[email protected]>
cmd/go: document GODEBUG=installgoroot=all

At the moment the only documentation is the release notes,
but everything mentioned in the relea...

8409251e105486e25d9ae47568ae221eeec636c9 authored almost 2 years ago by Russ Cox <[email protected]>
doc/go1.20: remove mention of arena goexperiment

The arena goexperiment contains code used inside Google in very
limited use cases that we will m...

66689c7d46fb32eca064c9a1e0b2c9de6d377524 authored almost 2 years ago by Russ Cox <[email protected]>
archive/tar, archive/zip: document ErrInsecurePath and GODEBUG setting

These are mentioned in the release notes but not the actual doc comments.
Nothing should exist o...

145dd38471fe5e14b8a77f5f466b70ab49c9a62b authored almost 2 years ago by Russ Cox <[email protected]>
runtime: fix performance regression in morestack_noctxt on ppc64

In the fix for 54332 the MOVD R1, R1 instruction was added to
morestack_noctxt function to set t...

1c65b69bd1dbc930c6246877f6c21c81f2a60d55 authored almost 2 years ago by Archana R <[email protected]>
Revert "internal/fsys: follow root symlink in fsys.Walk"

This reverts CL 448360 and adds a regression test for #57754.

Reason for revert: broke 'go list...

ebb572d82f97d19d0016a49956eb1fddc658eb76 authored almost 2 years ago by Bryan Mills <[email protected]>
doc/go1.20: mention build speed improvements

For #49569.
For #54202.

Change-Id: Iac45338bc4e45617e8ac7425076cf4cd0af157a4
Reviewed-on: https...

16cec4e7a0ed4b1e5cf67a07a1bf24bdf2f6b04c authored almost 2 years ago by Austin Clements <[email protected]>
cmd/cover: remove go.mod from testdata subdir

Remove a superfluous go.mod file in one of the testdata subdirs; test
runs ok without it, no nee...

643f463186c0bc158ddfbeefc816544048cd2d37 authored almost 2 years ago by Than McIntosh <[email protected]>
[release-branch.go1.20] go1.20rc3

Change-Id: I87007947c075e8b90dd74bdf164b59e81487f6de
Reviewed-on: https://go-review.googlesource...

b3160e8bcedb25c5266e047ada01b6f462521401 authored almost 2 years ago by Gopher Robot <[email protected]>
[release-branch.go1.20] all: merge master (245e95d) into release-branch.go1.20

Merge List:

+ 2023-01-11 245e95dfab go/types, types2: don't look up fields or methods when expe...

9efc2e7f9592b38d4573e81460a5be9d2dee409b authored almost 2 years ago by Carlos Amedee <[email protected]>
go/types, types2: don't look up fields or methods when expecting a type

As we have seen many times, the type checker must be careful to avoid
accessing named type infor...

245e95dfabd77f337373bf2d6bb47cd353ad8d74 authored almost 2 years ago by Robert Findley <[email protected]>
runtime: fix incorrect comment

Fix incorrect comment for the runtime package.

Change-Id: Iab889eff0e9c622afbed959d32b8b5f0ed0b...

18625d9becc559e65ab5b39aa5d27ae6eb7b00aa authored almost 2 years ago by zhengchaopu <[email protected]>
cmd/compile: better error message for when a type is in a constraint but not the type set

While at it, also remove the word "constraint" in the detail explanation
of an unsatisfied const...

6ad27161f8d1b9c5e03fb3415977e1d3c3b11323 authored almost 2 years ago by Robert Griesemer <[email protected]>
cmd/link, runtime: Apple libc atfork workaround take 3

CL 451735 worked around bugs in Apple's atfork handlers by calling
notify_is_valid_token and xpc...

76d39ae3499238ac7efb731f4f4cd47b1b3288ab authored almost 2 years ago by Russ Cox <[email protected]>
runtime: revert use of __fork to work around Apple atfork bugs

An Apple engineer suggests that since __fork is not public API,
it would be better to use a diff...

0a0de0fc4241c7531860e3c1a03ab4a4643ec37f authored almost 2 years ago by Russ Cox <[email protected]>
os/exec: avoid leaking an exec.Cmd in TestWaitInterrupt

In CL 436655 I added a GODEBUG setting to this test process to verify
that Wait is eventually ca...

82f09b75ca181a6be0e594e1917e4d3d91934b27 authored almost 2 years ago by Bryan C. Mills <[email protected]>
cmd/compile: prevent IsNewObject from taking quadratic time

As part of IsNewObject, we need to go from the SelectN[0] use of
a call to the SelectN[1] use of...

0202ad0b3a2bfddf9f3eafb94e19d5a0fa3d1f31 authored almost 2 years ago by Keith Randall <[email protected]>
cmd/compile/internal/pgo: add hint to missing start_line error

Profiles only began adding Function.start_line in 1.20. If it is
missing, add a hint to the erro...

64519baf3802f96a813f3f35e87aefa30a5f5f73 authored almost 2 years ago by Michael Pratt <[email protected]>
runtime: skip TestCgoPprofCallback in short mode, don't run in parallel

Fixes #54778

Change-Id: If9aef0c06b993ef2aedbeea9452297ee9f11fa06
Reviewed-on: https://go-revie...

376076f3c6bed06f5256a316af8f1eed53a1135e authored almost 2 years ago by Ian Lance Taylor <[email protected]>
runtime/pprof: document possibility of empty stacks

I spent quite a while determining the cause of empty stacks in
profiles and reasoning out why th...

0bbd67e52f98ce45e39e9a43e3c87a8c32aabbd2 authored almost 2 years ago by Austin Clements <[email protected]>
runtime/pprof: improve output of TestLabelSystemstack

The current output of TestLabelSystemstack is a bit cryptic. This CL
improves various messages a...

d9f23cfe78eadcdbde31fd931e90bebb72455648 authored almost 2 years ago by Austin Clements <[email protected]>
sync/atomic: fix the note of atomic.Store

Change-Id: Id485d0f1e06febe97d1a770bc26c138d9613a7dd
GitHub-Last-Rev: e57dd3e1abb58031b3d8bec8be...

8232a09e3ed7d315a90ac059ee542ecaf0f6b4c2 authored almost 2 years ago by csuzhang <[email protected]>
all: fix typos in go file comments

These typos were found by executing grep, aspell, sort, and uniq in
a pipe and searching the res...

841c3eb16646651d775dbf0ddfda1138aca5598a authored almost 2 years ago by Marcel Meyer <[email protected]>
syscall: skip TestUseCgroupFD if cgroupfs not mounted

When building in schroot (for building Debian package),
the cgroupfs is not mounted in schroot (...

f721fa3be9bb52524f97b409606f9423437535e8 authored almost 2 years ago by Shengjing Zhu <[email protected]>
net: fix typo in hosts.go

cannonical -> canonical

Change-Id: I656ea210d8ef6eaa85245cb8f463f6b4fd67e1a2
GitHub-Last-Rev: 5...

76ec91923752f69d2fb20d8b5a2e7963a116ebd6 authored almost 2 years ago by Ikko Eltociear Ashimine <[email protected]>
cmd/compile: describe how Go maps to wasm implementation

Change-Id: Ie4d8e1ae9c4c6046d27a27a61ef1147bc0ff373c
Reviewed-on: https://go-review.googlesource...

660d4815ea4229f96cede86f396017ebf5ca4bb0 authored almost 2 years ago by Keith Randall <[email protected]>
crypto/tls: fix typo in cacheEntry godoc

Change-Id: Idcea184a5b0c205efd3c91c60b5d954424f37679
Reviewed-on: https://go-review.googlesource...

119f679a3bd2e60cfc990920f82fd1a5cb006f4c authored almost 2 years ago by Tobias Klauser <[email protected]>