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

runtime: move pacer time updates and state resets into methods

Currently GC pacer updates are applied somewhat haphazardly via direct
field access. To facilita...

4a5d78ff8b7e777d70b18a61698b1ac07bbd623d authored almost 3 years ago by Michael Anthony Knyszek <[email protected]>
runtime: fix unclosed GCSweepStart trace event

CL 333389 erroneously moved traceGCSweepDone inside the sl.valid block
that it introduced in mce...

903f313d8b6e85c031fc5918273ff4800fa9f952 authored almost 3 years ago by Michael Anthony Knyszek <[email protected]>
runtime: detangle sweeper pacing from GC pacing

The sweeper's pacing state is global, so detangle it from the GC pacer's
state updates so that t...

413672fc84e0ced7531cdc7cf0e5db32061e8194 authored almost 3 years ago by Michael Anthony Knyszek <[email protected]>
runtime: enable crash dump creation on Windows

This change provides ability to create dumps on Windows that can be used by
"dlv core" command. ...

353d5b6c536c7028eba058ba27014fae0206298a authored almost 3 years ago by Zhi Zheng <[email protected]>
runtime: clean up allocation zeroing

Currently, the runtime zeroes allocations in several ways. First, small
object spans are always ...

d8fc7f785e84515c0a5beb8baeb3c1ca35bebf68 authored almost 3 years ago by Michael Anthony Knyszek <[email protected]>
Revert "cmd/go: remove support for -buildmode=shared"

This reverts CL 359096.

Updates #47788.

Reason for revert: -buildmode=shared may have actually...

a88575d662a7e8e4fbb31bf139bcffc063e2a734 authored almost 3 years ago by Bryan C. Mills <[email protected]>
sync: add Mutex.TryLock, RWMutex.TryLock, RWMutex.TryRLock

Use of these functions is almost (but not) always a bad idea.

Very rarely they are necessary, a...

645d07819b2224ba4d759829443f7c6442162c69 authored almost 3 years ago by Russ Cox <[email protected]>
runtime: fix sweep termination condition

Currently, there is a chance that the sweep termination condition could
flap, causing e.g. runti...

3aecb3a8f7e1435c76003a20068c0208fd73649a authored almost 3 years ago by Michael Anthony Knyszek <[email protected]>
cmd/go: test that the reserved paths "example" and "test" are not used

Proposal #37641 reserved the paths "example" and "test" for end users,
so no path beginning with...

f2885263748364a2a7f4e0d47abd5095699cd39f authored almost 3 years ago by Bryan C. Mills <[email protected]>
io: remove UTF8 specified document for RuneReader

RuneReader is fine with UTF16 or any other character encoding

Fixes #49178

Change-Id: I08a5ac2...

2c7cdec2a762108ae9231b7861c3689f4d23b58c authored almost 3 years ago by Meng Zhuo <[email protected]>
text/template: use reflect.Value.FieldByIndexErr

to avoid a crash on a nil pointer as an embedded field.

Fixes #48215

Change-Id: I214faa6e3cf08...

d3d8852d8997a6429cbd498138908e537869a6ef authored almost 3 years ago by Rob Pike <[email protected]>
reflect: add FieldByIndexErr

This new function, although different in signature from other
reflect functions, allows the call...

33c392f72d16163eb0795b3d61b2196ac21e1799 authored almost 3 years ago by Rob Pike <[email protected]>
all: manual fixups for //go:build vs // +build

Update many generators, also handle files that were not part of the
standard build during 'go fi...

af05d8be3d9dd566b2ce3ff5344258314f128ff6 authored almost 3 years ago by Russ Cox <[email protected]>
cmd/go: test with SIGTERM in test_fuzz_non_crash_signal

The test currently uses only SIGKILL (which cannot be trapped by the
worker process) and SIGILL ...

d0751b1ad8d7a68586dc7567cee44e0ce323f26f authored almost 3 years ago by Bryan C. Mills <[email protected]>
cmd/go: disallow the -fuzz flag for tests outside the main module

Normally, when fuzzing identifies a failure it saves the failing input
to the package's testdata...

b9540246ba591e0ec5cd7cc1d6d62ab911ff9328 authored almost 3 years ago by Bryan C. Mills <[email protected]>
cmd/go: consolidate fuzz-support checks

We had been repeating conditions for specific platforms and
architectures to gate fuzzing tests,...

e741e2fe0e51840b16bfc84d8daaba7670e7aac9 authored almost 3 years ago by Bryan C. Mills <[email protected]>
net/http: restore generated // +build comment

The upstream cmd/bundle tool does not yet omit it,
and the longtest builders test that the gener...

834e36ec778c11b068a2d5354343d4668e5a9ceb authored almost 3 years ago by Bryan C. Mills <[email protected]>
cmd/internal/goobj: bump version number

There have a few updates to the Go object file in this cycle (e.g.
FuncInfo format change, some ...

5e217284dc9f3b55e8c8b225dc81c1eb1004d423 authored almost 3 years ago by Cherry Mui <[email protected]>
[dev.boringcrypto] all: convert +build to //go:build lines in boring-specific files

This makes the latest Go 1.18 cmd/dist happier.

Change-Id: If1894ce4f60a0b604a2bd889974ddb16c40...

69d5e469a4f457d3a7d8ca7a97478c2eca0ba35c authored almost 3 years ago by Russ Cox <[email protected]>
all: go fix -fix=buildtag std cmd (except for bootstrap deps, vendor)

When these packages are released as part of Go 1.18,
Go 1.16 will no longer be supported, so we ...

f229e7031a6efb2f23241b5da000c3b3203081d6 authored almost 3 years ago by Russ Cox <[email protected]>
cmd/go: update for //go:build lines

cmd/go has its own //go:build evaluator, which is needed for
patterns like 'all'. The code is a ...

ed475fe53ba41c0c15b11565f8b9d00165345bc2 authored almost 3 years ago by Russ Cox <[email protected]>
runtime: normalize sigprof traceback flags

Each gentraceback call uses a different set of flags. Combine these into
a common variable, only...

2bc8ed8e9c5d8ae303b42bbd8c65f2c5dc38352a authored almost 3 years ago by Michael Pratt <[email protected]>
net/http: guarantee that the Transport dial functions are respected in js/wasm

The net/http package has a documented contract that if DialContext, DialDLSContext, Dial or Dial...

266626211e40d1f2c3a34fa4cd2023f5310cbd7d authored almost 3 years ago by Neil Alexander <[email protected]>
cmd/fix: add buildtag fix

Now that Go 1.17 is out and Go 1.15 is unsupported,
removing // +build lines can be done safely:...

31249688487ca3a60f856ad082d4e84c4d5f79fb authored almost 3 years ago by Russ Cox <[email protected]>
runtime: fix backward error message

This was added in CL 339990.

Change-Id: I4b0f97bf1a3926e37a42f77e149dcab3b7b75a63
Reviewed-on: ...

6bd0e7fa8a2cb5c8de9d4566c900233715d8cf0e authored almost 3 years ago by Michael Pratt <[email protected]>
runtime: disable TestSegv panic check on darwin, illumos, solaris

CL 339990 made this test more strict, exposing pre-existing issues on
these OSes. Skip for now u...

5fce1d96137e1079c393c94febfac49d1e2979b0 authored almost 3 years ago by Michael Pratt <[email protected]>
go/types: factor out slice elem computation for copy built-in

This is a port of CL 357413 to go/types. Some test constraints are also
updated to remove 'inter...

6f0185bf38a679f468b6a4209f15188a11662eb5 authored almost 3 years ago by Robert Findley <[email protected]>
debug/macho: fail on invalid dynamic symbol table command

Fail out when loading a file that contains a dynamic symbol table
command that indicates a large...

61536ec03063b4951163bd09609c86d82631fa27 authored almost 3 years ago by Roland Shoemaker <[email protected]>
go/types: implement generic conversions

This is a port of 4 CLs from types2: CL 356010, CL 357333, CL 357410,
and CL 357249. These 4 CLs...

278b9b3a4c7c01929133737e960335afa18eeec3 authored almost 3 years ago by Robert Findley <[email protected]>
go/types: add debugging support for delayed actions

This is a port of CL 355871 to go/types.

Change-Id: I2dbc3c625c16b545a271a19606ef34ce04a4a6df
R...

4f1c9aace00277914e080170237ae381e05683c5 authored almost 3 years ago by Robert Findley <[email protected]>
go/types, types2, go/ast, go/parser: remove support for type lists

This is a rough port of CL 354131 to go/* libraries, though in practice
I just tried to reconcil...

925ea2dfc4911188d47cca5c5534916e39dc1463 authored almost 3 years ago by Robert Findley <[email protected]>
go/parser: fix parsing of array or slice constraint types

Now that we allow eliding 'interface' from constraint types, we need to
be a bit more careful ab...

a5a423e0e809e451b06771eb6a7b95cc9255f9fd authored almost 3 years ago by Robert Findley <[email protected]>
runtime: fix noopt builder

CL 352057 added track argument stack slot liveness, and updated
TestTracebackArgs for argument l...

5c98bcb7d43e1dcf60d3799afc30f4d56e5e3cc4 authored almost 3 years ago by Cuong Manh Le <[email protected]>
cmd/compile: allow inlining of ORANGE

Updates #14768

Change-Id: I33831f616eae5eeb099033e2b9cf90fa70d6ca86
Reviewed-on: https://go-rev...

a3bb28e5ffee83c30a2c65963ef032cc2ab73a3c authored almost 3 years ago by nimelehin <[email protected]>
reflect: undeprecate Ptr, PtrTo

Fixes #48665

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

2ff1074f5ac48e67ee079dafc9f0e314bc454510 authored almost 3 years ago by Brad Fitzpatrick <[email protected]>
go/build: update for //go:build lines

Look for //go:build ignore, not // +build ignore, in deps_test.go.

For #41184.

Change-Id: Iba8...

b8f928b05264cbd75a0d0dbd02d979847ac237f9 authored almost 3 years ago by Russ Cox <[email protected]>
cmd/dist: implement //go:build parsing

The bootstrap directories are built with the Go 1.4 go command,
and they will retain the // +bui...

5a3a9d87ed97f197aabcb868f6c0031c888d6122 authored almost 3 years ago by Russ Cox <[email protected]>
reflect: undeprecate Value.{Pointer,UnsafeAddr}

Fixes #49187

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

056dfe6ff34fd479ec5c86d9b26a03c639b3f3f7 authored almost 3 years ago by Cuong Manh Le <[email protected]>
cmd/compile: resolve the TODO of processPragmas

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

b2fe2ebab6e66a453a0137e37d2c639a613a852b authored almost 3 years ago by Leonard Wang <[email protected]>
cmd/compile/internal/types2: export Structure function

For #48538.

Change-Id: I258b0c8af5801692ad238e47397dde0b4e3c44c1
Reviewed-on: https://go-review...

12dc48fd54d4bfc0c25e2a96aa7fecfacb9087ca authored almost 3 years ago by Robert Griesemer <[email protected]>
cmd/compile/internal/types2: disallow lone type parameter on RHS of type declaration

We may revisit this decision in a future release. By disallowing this
for Go 1.18 we are ensurin...

a91d0b649c9ee8c64328fb124eff94dfca300d39 authored almost 3 years ago by Robert Griesemer <[email protected]>
constraints: remove Slice/Map/Chan

Now that we permit arbitrary types as constraints, we no longer need them.

For #48424

Change-I...

79ff663754f4238bd1fe2e56f460c2f603c71b80 authored almost 3 years ago by Ian Lance Taylor <[email protected]>
doc/go1.18: document Fossil/Bazaar and commit time build tag support

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

749f6e9eb6d101ef2ea4b7228a966391a80aa89b authored almost 3 years ago by Mark Pulford <[email protected]>
cmd/go: stamp Bazaar VCS status into binaries

For #37475

Change-Id: I728b7aeee5c38ec337e9a5b073050c3b0afc720d
Reviewed-on: https://go-review....

063ff7f7a0fb41442916d0eda3fc128ca779d424 authored almost 3 years ago by Mark Pulford <[email protected]>
reflect: skip duplicate check in StructOf when the name of a field is "_"

Fixes #49110

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

a3c4ac0fbca51fc2e3369c93738419fc947bda77 authored almost 3 years ago by zhouguangyuan <[email protected]>
cmd/go: stamp Fossil VCS status into binaries

For #37475

Change-Id: I09fa1344051088ce37727176d9ec6b38891d1a9f
Reviewed-on: https://go-review....

de1abf76fb69739c6cad463454a55fe9c33f63ac authored almost 3 years ago by Mark Pulford <[email protected]>
cmd/go: fix recognition of Fossil checkout directories

Use ".fslckout" or "_FOSSIL_" files to correctly identify the root of
Fossil checkout directorie...

4fefd439a4087ec4a4cb7a61cfe15801115321d2 authored almost 3 years ago by Mark Pulford <[email protected]>
runtime/testdata/testprogcgo: fix TestCgoPanicCallback

A cgo file with "//export" declarations is not permitted to have function
definitions in the cgo...

51be206114b559f7ea26fe2290f8ed274a2080c3 authored almost 3 years ago by Cuong Manh Le <[email protected]>
cmd/compile, runtime: track argument stack slot liveness

Currently, for stack traces (e.g. at panic or when runtime.Stack
is called), we print argument v...

30a82efcf403fed76bf1542e9477047660d5f54d authored almost 3 years ago by Cherry Mui <[email protected]>
cmd/compile/internal/types2: implement singleType and structure (type)

Rename structuralType to singleType throughout. This reflects
more closely what the function doe...

bbc059572d599a414653e4ac659b4738d434e1f1 authored almost 3 years ago by Robert Griesemer <[email protected]>
cmd/compile/internal/types2: remove unused position computation (cleanup)

The position computation was needed for type list support.
With that gone, we don't need this co...

6a7eb56cd1837b961ea815105235a3fd96fda94b authored almost 3 years ago by Robert Griesemer <[email protected]>
cmd/compile/internal/types2: rename isNamed predicate to hasName

isNamed(t) is easily confused with asNamed(t) != nil (e.g., we
have isPointer(t) that is defined...

5c4d7c50c7266bfbce3f43f04a0fb622b9e45805 authored almost 3 years ago by Robert Griesemer <[email protected]>
cmd/compile/internal/types2: clean up asT converters (step 2 of 2)

This CL renames the toT converters back to their asT names.

Change-Id: If4bda5a78525f9722f044f5...

a155a307fbeda88fd44c5399d4fb7ea9e34db545 authored almost 3 years ago by Robert Griesemer <[email protected]>
cmd/compile/internal/types2: clean up asT converters (step 1 of 2)

This CL changes the convenience converters asT to use under instead
of optype. To make sure the ...

d611f092001f76942251f68023dba137b8a3e821 authored almost 3 years ago by Robert Griesemer <[email protected]>
cmd/compile/internal/types2: generalize assignability to generic types

Similar to conversions, handle ordinary cases first, followed by
type-by-type assignability test...

56dcf976561ff6c666d9d1fe6231557ac2072883 authored almost 3 years ago by Robert Griesemer <[email protected]>
cmd/compile/internal/types2: clarify is/underIs semantics and implementation

The behavior of is/underIs was murky with the presence of a top type term
(corresponding to a ty...

3f1b0ce6bb4f2e7d44791c5532728f86e24f1f1f authored almost 3 years ago by Robert Griesemer <[email protected]>
cmd/go: remove support for -buildmode=shared

It never worked in module mode (or with a read-only GOROOT).
A proposal to drop it was filed (an...

68bd5121ee8954cfd7e3f7edb5d035f0e8b1bccc authored almost 3 years ago by Bryan C. Mills <[email protected]>
cmd/go: fix testdata/script/mod_vendor_goversion for new compiler output

The message is now a single line, but I couldn't get '\n?' to work.

(This test does not run in ...

ffd2284db06d433d60aa75ea413f407b90e583b6 authored almost 3 years ago by Russ Cox <[email protected]>
internal/fuzz: don't deflake coverage found while fuzzing

Previously, the worker would attempt to deflake
an input that was reported to have caused new
co...

514ebaec358488d1dcf7253b9d05b4ad8c76c390 authored almost 3 years ago by Katie Hockman <[email protected]>
cmd/compile: enable branchelim pass on ppc64

and fix/cleanup lowering of the SSA operator created by the pass.

Change-Id: I7e6153194fd16013e...

259735f97a2dfd33849eacef15047f5a0964498e authored almost 3 years ago by Paul E. Murphy <[email protected]>
cmd/compile/internal/syntax: fix constraint literal parsing for generic functions

Fixes #49174.

Change-Id: I943c370f7abd5f50a541e682f130b3526c3b5bdb
Reviewed-on: https://go-revi...

bb49eb3e6a464fbbebd425c4b84c32609b27ecf2 authored almost 3 years ago by Robert Griesemer <[email protected]>
go/types: remove a stale comment

Clean up a comment that was deleted in types2 in CL 353135.

Change-Id: If339efa133e2a3d1eaa3b1e...

c0ac39c70eeeaadbebe13efb407a1a272a926d30 authored almost 3 years ago by Robert Findley <[email protected]>
cmd: move internal/str back to cmd/go

cmd/go is not subject to all the same restrictions as most of cmd.
In particular it need not be ...

4f73fd05a91a9b8ceced6b7f89d35f363c414ec8 authored almost 3 years ago by Russ Cox <[email protected]>
cmd/go: add darwin/arm64 in the list of supported systems in help message

Fixes #49173.

Change-Id: I71270b4ff7e9ede3cdfa5946b73142a731752adf
Reviewed-on: https://go-revi...

cfb532158fc5b5cd6b9c35bbc2ff7c203fe5f09b authored almost 3 years ago by Cholerae Hu <[email protected]>
internal/poll: improve the padding calculation inside struct splicePipe

Updates #48968 and CL 358114

Change-Id: Ic68b4c5420c1c32f78b56874b53d717fa9af1f74
Reviewed-on: ...

bdefb77309fdc6e47102a8d6272fd2293aefa1d9 authored almost 3 years ago by Andy Pan <[email protected]>
syscall: use dup3 in forkAndExecInChild on NetBSD

Use dup3(oldfd, newfd, O_CLOEXEC) to atomically duplicate the file
descriptor and mark is as clo...

5786a54cfe34069c865fead1b6d9c9e3485a40a5 authored almost 3 years ago by Tobias Klauser <[email protected]>
cmd/compile: fix generic type handling when crawling inline body

For base generic type that is written to export file, we need to mark
all of its methods, includ...

ca5f65d771bc24b9717dca615fa4ad25dcd94fad authored almost 3 years ago by Cuong Manh Le <[email protected]>
embed/internal/embedtest: use parenthesized vars for one test

The gofrontend code mishandled this case, so add it to the test.

Change-Id: I183b8fab57552320b0...

13eccaa9902f3bb17999f1f7f14b7da39d60e0ea authored almost 3 years ago by Ian Lance Taylor <[email protected]>
crypto/elliptic: use a const string for precomputed P256 table

Const strings can be marked readonly. This is particularly
important for this relatively large t...

e5c512520bd0a51d59b39556795a47db888d69b5 authored almost 3 years ago by Josh Bleecher Snyder <[email protected]>
crypto/x509: generate new-style build tags for iOS

Make the input match gofmt's output,
to make our lives easier as we phase out
old style build ta...

80be4a4f90836a33ab5b3d09c6f529de8ee628ea authored almost 3 years ago by Josh Bleecher Snyder <[email protected]>
runtime: handle async fatal signals in VDSO

If we receive an async signal while running in the VDSO, such as a
SIGABRT or SIGSEGV sent from ...

86f6bf18b013d570e89f57c2decaddca5ce2a847 authored almost 3 years ago by Michael Pratt <[email protected]>
runtime: fix cgo signals detection

CL 64070 removed lockOSThread from the cgocall path, but didn't update
the signal-in-cgo detecti...

091db6392da5913e4bd4806215102e461dc5649c authored almost 3 years ago by Michael Pratt <[email protected]>
sync/atomic: use a better first-store-in-progress marker

Unlike what the comment says, the GC can see this pointer.
Might as well make it a real pointer,...

3a0cd1121413ad02172784114318ac6b0c2801c1 authored almost 3 years ago by Keith Randall <[email protected]>
runtime: rename _m_ to mp [generated]

_g_, _p_, and _m_ are primarily vestiges of the C version of the
runtime, while today we prefer ...

f8779b9e757e38810bec2284e06fea20bbf09bf4 authored almost 3 years ago by Michael Pratt <[email protected]>
cmd/compile: clean up the switch statements in (*genInst).node()

There were two main outer switch statements in node() that can just be
combined. Also, for simpl...

b54bdd281e62a4658ea4edb5e0a6139006938c9a authored almost 3 years ago by Dan Scales <[email protected]>
internal/fuzz: tiny refactor+fix

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

1dc77a38d293763b9de50110dd72edd755ce72b7 authored almost 3 years ago by Katie Hockman <[email protected]>
cmd/go: stamp VCS commit time into binaries

Only Git and Mercurial are supported for now.

This CL also:
- Skips tagging "revision" and "com...

76cef81bcff371c88d277f17c712ecf22b8c83e7 authored almost 3 years ago by Mark Pulford <[email protected]>
cmd/compile/internal/typecheck: update doc for the 1.18 export format

Update the documentation in iexport.go to use the word 'Constraint'
rather than 'Bound', and to ...

1b2362bb83de47188e7c60a69f46950de542f017 authored almost 3 years ago by Robert Findley <[email protected]>
all: use reflect.{Pointer,PointerTo}

Updates #47651
Updates #48665

Change-Id: I69a87b45a5cad7a07fbd855040cd9935cf874554
Reviewed-on:...

283d8a3d53ac1c7e1d7e297497480bf0071b6300 authored almost 3 years ago by Cuong Manh Le <[email protected]>
all: update vendored golang.org/x/tools

Pull in CL 358034 (and some more changes with passing tests) with:

go get -d golang.org/x/tool...

a2b8c186f616db92f9812e09fb2c44b0e753f8a7 authored almost 3 years ago by Dmitri Shuralyov <[email protected]>
cmd/internal/obj/ppc64: fix usage of CR bit arguments

CR bits and CR fields should be treated separately. Some instructions
modify an entire CR, a CR ...

1e2820a6d72b606eb4070eda6cc626bde122f9c8 authored almost 3 years ago by Paul E. Murphy <[email protected]>
syscall: add utimensat libc wrapper on darwin

Add utimensat as a wrapper around the libc function of the same name.
utimensat was added in mac...

23fdd7f0f75bca03a092faeeef60d8b0b804bf8d authored almost 3 years ago by Tobias Klauser <[email protected]>
syscall: use fcntl F_DUP2FD_CLOEXEC in forkAndExecInChild on illumos

Use fcntl(oldfd, F_DUP2FD_CLOEXEC, newfd) to duplicate the file
descriptor and mark is as close-...

ec6c00418c83aa4f68a5afc9803831f43f8d794f authored almost 3 years ago by Tobias Klauser <[email protected]>
runtime, runtime/asan: add asan runtime support

These are the runtime support functions for letting Go code interoperate
with the C/C++ address ...

adfb85b3150d5ebe36440f82d83be88403951319 authored almost 3 years ago by fanzha02 <[email protected]>
cmd/go: add -asan option

The -asan option compiles Go code to use the address sanitizer. This is
intended for use when l...

49fda9e4f5cd3a05fd5fa0b3a2047a9d24873bd6 authored almost 3 years ago by Fannie Zhang <[email protected]>
cmd/internal/obj/arm64: add a restriction on move constant instructions

For MOVK/MOVN/MOVZ instructions, the assembler does not accept zero
shifts, and the CL 275812 ad...

41f74079a982dae05da1860a5f195ac08d067bdd authored almost 3 years ago by fanzha02 <[email protected]>
doc/go1.18.html: fix a typo

gofmt -> <code>gofmt</code>

Change-Id: Idc01b01d8eb185f5e378000d11d622935b14db6e
GitHub-Last-Re...

0ec1b62ee28c633265036664c21a5cb22086f231 authored almost 3 years ago by gosoon <[email protected]>
container/list: remove unnecessary code

Remove a unnecessary statement in the test function, the variables
aren't checked afterwards. Al...

b36b001ff13768fd1f9664b34c6d2b7948f66d4d authored almost 3 years ago by Gusted <[email protected]>
cmd/internal/obj/riscv: don't split ADD to SP to two adds

When adding a large constant to a register we generate two adds,
we may generate two ADD instruc...

e9eb66da307ec2da922a05b890b13363ea4e830e authored almost 3 years ago by Cherry Mui <[email protected]>
cmd/compile: update the export version for generics

Bump the export version to a new value iexportVersionGo1_18 (2). This
will give a better error m...

fd2f4b58b34effdbdacba41e0c36fa701c6dfa27 authored almost 3 years ago by Dan Scales <[email protected]>
cmd/compile: add -asan option

The -asan option causes the compiler to add instrumentation for the
C/C++ address sanitizer. Ev...

85b3b4ee036e7460bf7621f64c6781e5dd0eed98 authored almost 3 years ago by fanzha02 <[email protected]>
internal/poll: avoid tiny allocator for splicePipe

We want to set a finalizer on splicePipe, so make it large enough to
not use the tiny allocator....

60c3069dd82eee30c00f2a8d829ba74b11bcf07e authored almost 3 years ago by Ian Lance Taylor <[email protected]>
cmd/compile: fix typo in comment in CL 358435

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

e35b5b25d976efb7c00b871cac452b84193e6179 authored almost 3 years ago by Cherry Mui <[email protected]>
cmd/link: escape % characters in symbols when reporting errors

Generic function symbols sometimes have % in them, like:

main.B2[%2eshape.string_0].m2·f

W...

f92c8f07ace7ae67b95e59bbb6ae6928dd6e4773 authored almost 3 years ago by Keith Randall <[email protected]>
cmd/compile: revert most of CL 349169

The method of using references to dictionaries to hold methods
live during linker deadcode elimi...

72b6a89ca5cd3c3bfd13b9b17be976e8feb91ecc authored almost 3 years ago by Keith Randall <[email protected]>
cmd/compile: remove MarkUsedIfaceMethodIndex mechanism

We don't need it any more, after CL 357835.

Change-Id: I1ff5f24b5540c3e80c4b35be8215a1c37895227...

0ae0d5c62eae1a4043d1d9cb41acc563a5e75daa authored almost 3 years ago by Keith Randall <[email protected]>
cmd/compile,cmd/link: introduce generic interface call relocations

To capture the fact that a method was called on a generic interface,
so we can make sure the lin...

c26a32a5004afd4598f844ab49332c25d7613133 authored almost 3 years ago by Keith Randall <[email protected]>
cmd/link: increase reserved space for passing env on wasm

On wasm, the wasm_exec.js helper passes the command line arguments and
environment variables via...

252324e879e32f948d885f787decf8af06f82be9 authored almost 3 years ago by Richard Musiol <[email protected]>
cmd/go/testdata/script: fix flaky test_fuzz_fuzztime test

Previously, the test would panic if the short timeout
was reached before fuzzing began. Increasi...

8c94aa40e6f5e61e8a570e9d20b7d0d4ad8c382d authored almost 3 years ago by Katie Hockman <[email protected]>
crypto/tls: add Conn.NetConn method

NetConn method gives us access to the underlying net.Conn
value.

Fixes #29257

Change-Id: I68b2...

f47335e653ac37f68ada2b265ce4a2c869a27cae authored almost 3 years ago by Agniva De Sarker <[email protected]>