Ecosyste.ms: OpenCollective

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

Hackpad

We strive for making code editing in the browser a powerful, streamlined experience.
Collective - Host: opensource - https://opencollective.com/hackpad - Website: https://hackpad.org - Code: https://github.com/hack-pad

all: use "noopt" build tag for checking optimization disabled

Fixes #49390

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

github.com/hack-pad/go - c411886c753dc85c23d06953b9a2e20e4ec1731f authored about 2 years ago by Cuong Manh Le <[email protected]>
runtime: add symbolic constants for freebsd/amd64 syscalls

Brings freebsd/amd64 on par with other OSes/archs.

Updates #53479

Change-Id: I05164c887d776dd4...

github.com/hack-pad/go - c04977fa76f43a6aee2ce73d5f6ba8e4b5ba77ea authored about 2 years ago by Dmitri Goutnik <[email protected]>
cmd/go: add go generate -skip flag

Following proposal discussion in #38687, add go generate -skip
to allow easier skipping of speci...

github.com/hack-pad/go - c6be7103a5ab8cd45e08d822efa24da4fd88b9c5 authored about 2 years ago by Russ Cox <[email protected]>
runtime: add symbolic constants for freebsd/386 syscalls

Brings freebsd/386 on par with other OSes/archs.

Updates #53479

Change-Id: I16a7d051233e06e589...

github.com/hack-pad/go - 848febdcec2caacde4b66f2ff1260865c7233422 authored about 2 years ago by Dmitri Goutnik <[email protected]>
encoding/base64: optimize decodemap memory set

The existing implementation has an execution time higher in the benchmark than this one.
This is...

github.com/hack-pad/go - e1b62efaf33988a5153510898d37309cee78f26e authored about 2 years ago by ErikPelli <[email protected]>
internal/xcoff: use saferio to read string table

No test case because the problem can only happen for invalid data.
Let the fuzzer find cases lik...

github.com/hack-pad/go - 0d8efa6e842169e61cbe343441092b6f7c9b886c authored about 2 years ago by Ian Lance Taylor <[email protected]>
debug/macho, internal/saferio: limit slice allocation

Don't allocate slices that are too large; choose a smaller capacity
and build the slice using ap...

github.com/hack-pad/go - 7adfa82726280371bb4dfc710dc4168dfd9de703 authored about 2 years ago by Ian Lance Taylor <[email protected]>
archive/tar: delete unreachable continue code

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

github.com/hack-pad/go - 71424806fa76d5b5d1b2492741d2564664af136c authored about 2 years ago by Abirdcfly <[email protected]>
debug/pe, internal/saferio: use saferio to read PE section data

For #47653
Fixes #53189

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

github.com/hack-pad/go - cdb3789772a7e7c02d2ac7290b3a16fb542b48dd authored about 2 years ago by Ian Lance Taylor <[email protected]>
all: clean up unreachable Continue after Fatal

As CL 422214 did, this CL intends to clean up the rest
unreachable "Continue" after Fatal.

Chan...

github.com/hack-pad/go - 9e6cd3985dbcdcfe0ed2075be6dbe8c5d6de59cb authored about 2 years ago by hopehook <[email protected]>
runtime: process ptr bitmaps one word at a time

[This is a retry of CL 407036 + its revert CL 422394. The only
content change is the 1-line chan...

github.com/hack-pad/go - e49e8764553bf510b5d9f6fb38aeec0850ec6672 authored about 2 years ago by Keith Randall <[email protected]>
runtime: redo heap bitmap

[this is a retry of CL 407035 + its revert CL 422395. The content is unchanged]

Use just 1 bit ...

github.com/hack-pad/go - 6a9c674a09b057a641527ac847cbdf1a3824b753 authored about 2 years ago by Keith Randall <[email protected]>
net/http/httputil: add ReverseProxy.Rewrite

Add a new Rewrite hook to ReverseProxy, superseding the Director hook.

Director does not distin...

github.com/hack-pad/go - a55793835f16d0242be18aff4ec0bd13494175bd authored about 2 years ago by Damien Neil <[email protected]>
strings, bytes: add CutPrefix and CutSuffix

Fixes #42537

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

github.com/hack-pad/go - 68005592b38027490a08972f13269406b2556a07 authored about 2 years ago by Changkun Ou <[email protected]>
all: fix some typos

Change-Id: I147622770587cff1551a0be189003666463f34e3
GitHub-Last-Rev: 71b5375983820445a331c46481...

github.com/hack-pad/go - 0df7ad2e79ac5ca5197509596446dd83380aaf90 authored about 2 years ago by cui fliter <[email protected]>
cmd/go: stamp VCS information in test binaries when -buildvcs=true

(But still not when -buildvcs=auto, the default.)

Fixes #52648.

Change-Id: I87a87d4ea84e8bf963...

github.com/hack-pad/go - 805305e24f762887a10eb5c410683aa541d1b3c3 authored about 2 years ago by Bryan C. Mills <[email protected]>
go/token: add (*FileSet).RemoveFile(*File) method

The design of FileSet encourages it to be used as a global variable.
Each call to AddFile consum...

github.com/hack-pad/go - a45bbeae339cd51b60fc59f13da02111f3fc8851 authored about 2 years ago by Alan Donovan <[email protected]>
cmd/go: restore TestLegacyMod as a script test

This test was apparently mistakenly removed without a replacement in
CL 213223, but its testdata...

github.com/hack-pad/go - 98f3eb2d3edc00ac3c39f23db157b42d14fe6726 authored about 2 years ago by Bryan C. Mills <[email protected]>
cmd/go: convert TestAccidentalGitCheckout to a script test

As far as I can determine, this is the only existing non-script test
that relies on vcs-test.gol...

github.com/hack-pad/go - a135f8e251120e89520bb2c226266b8256f81de0 authored about 2 years ago by Bryan C. Mills <[email protected]>
testing: do not print 'root' benchName during test of package testing

$ cd $GOROOT/src/testing
$ go test
root
root
root
root
PASS
$

The root prints have been...

github.com/hack-pad/go - bd3c35e732ba3f4b6cbdf5d661120d11b59794bc authored about 2 years ago by Russ Cox <[email protected]>
cmd/go/internal/mmap: use syscall.Mmap on solaris

Now that syscall.Mmap is defined on solaris (see CL 413374), use it in
mmapFile like on other Un...

github.com/hack-pad/go - b565476e2c812f65385595717fff191ac174cab7 authored about 2 years ago by Tobias Klauser <[email protected]>
test: add regression test for issue 43942

CL 356011 fixed this issue too.

Fixes #43942

Change-Id: I35ad397e78eeb80eff3a4217c4d40f15d40bd...

github.com/hack-pad/go - 5e7697b6275bb28bcfd18b2f21de9905164926dd authored about 2 years ago by Cuong Manh Le <[email protected]>
go/types, types2: check integer constant literal overflow

Fixes #54280.

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

github.com/hack-pad/go - f80b12667c69c72e170862ef50f085ff9d35f354 authored about 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: skip comparison for operands with invalid types

Fixes #54405.

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

github.com/hack-pad/go - 7ec0ec3645a481155728020c07685992444a9e4f authored about 2 years ago by Robert Griesemer <[email protected]>
net/http: make Request.WithContext documentation less prescriptive

WithContext makes a shallow copy of a Request, and Clone makes a
deep copy. Both set the context...

github.com/hack-pad/go - e3c2e4cb7dc006d4282e6d5c85222006d380d701 authored about 2 years ago by Damien Neil <[email protected]>
go/types, types2: don't build unnecessary error strings in implements

When accessing (*Checker).implements from types.AssignableTo or
types.ComparableTo, we don't nee...

github.com/hack-pad/go - de0f4d190fc98c9dcc3d3537ae889be2c5eb7bd5 authored about 2 years ago by Robert Findley <[email protected]>
bytes: add Clone function

The new Clone function returns a copy of b[:len(b)]
for the input byte slice b.
The result may h...

github.com/hack-pad/go - 7b45edb45016307151266731ccd158e14504598f authored about 2 years ago by Martin Möhrmann <[email protected]>
runtime: document GODEBUG=cpu.* in runtime package

So far was only documented in doc/diagnostics.

Fixes: #54183

Change-Id: Iab67a1500547f30325453...

github.com/hack-pad/go - 69a8954282dc4500bb645e67fb912d53a7f78a5c authored about 2 years ago by Martin Möhrmann <[email protected]>
net/http: allow zero-valued Expires in Cookie.Valid

The value of Expires is only checked when a value is set.

This fixes the bug that a cookie with...

github.com/hack-pad/go - 95c125a44ad1a0c3e441c3214160cd7b4483e79c authored about 2 years ago by Amit Saha <[email protected]>
net/http: add Server.DisableOptionsHandler for custom handling of OPTIONS *

Fixes #41773

Change-Id: I432ad5410d5e3bb0aff3a6e0eea6906ab1b214e2
GitHub-Last-Rev: 57d1ee249dcd...

github.com/hack-pad/go - 05ff045dfeab582503a15c4233161aa8b6be179d authored about 2 years ago by Alexander Yastrebov <[email protected]>
cmd/internal/obj: remove redundant code in genFuncInfoSyms

The length of slice hashedsyms is always 0, because it's not used after defined

Change-Id: Iba8...

github.com/hack-pad/go - f7e6986d6b9f230a6807383fc0e37d9042baa5bf authored about 2 years ago by xiongwy12 <[email protected]>
net: use testenv.SkipIfOptimizationOff in TestAllocs

Use the helper added by CL 422038 instead of manually detecting the
noopt builder.

Change-Id: I...

github.com/hack-pad/go - 8ec1aa889f4ee2b0569c573b23efd21fa2c4329b authored about 2 years ago by Tobias Klauser <[email protected]>
build: update comments about Go 1.4 in make.bash, make.bat, make.rc

A few lingering references to Go 1.4 remain.
Fix them, and document the ones that should stay.

...

github.com/hack-pad/go - 1d66144bfd4b6aad915a8b62e43e3cab5460e9bc authored about 2 years ago by Russ Cox <[email protected]>
cmd/compile/internal/ssagen: gofmt -w -s ssa.go

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

github.com/hack-pad/go - a13903562d612346507d9bacf481aaf0d9fa02fc authored about 2 years ago by cuiweixie <[email protected]>
test: fix issue53702.go for noopt builder

The test requires inlining happens.

Updates #53702

Change-Id: I0d93b5e29e271ace4098307b74c40c0...

github.com/hack-pad/go - 4a4e206884c64397c0b62e58be876f457b4cd477 authored about 2 years ago by Cuong Manh Le <[email protected]>
cmd/compile: fix ICE when checking implicit dot for method call

CL 414836 limited the check for implicit dot for method call enabled by
a type bound. However, t...

github.com/hack-pad/go - e99f285d52627aa415f9c1766cbffe375b2f67d9 authored about 2 years ago by Cuong Manh Le <[email protected]>
go/constant: share the empty string

This saves 11,000 allocations when loading the standard library
in golang.org/x/tools/go/ssa for...

github.com/hack-pad/go - 1f833e4a1bfd77c2dfa91305f90ade9f9ceb66de authored about 2 years ago by Alan Donovan <[email protected]>
cmd/compile,math: remove all sqrt assembly code

This CL make math.sqrt an intrinsic function, math.Sqrt is not affected
since compiler can inlin...

github.com/hack-pad/go - c8000a18d688f65ad229c48a0e8a82435943eb6a authored about 2 years ago by Wayne Zuo <[email protected]>
cmd/compile: combine more constant stores on amd64

Fixes #53324

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

github.com/hack-pad/go - 09932f95f5619f44fa874c780dbbddc073be990a authored about 2 years ago by Wayne Zuo <[email protected]>
Revert "runtime/trace: add missing events for the locked g in extra M."

This reverts commit ea9c3fd42d94182ce6f87104b68a51ea92f1a571.

Reason for revert: break linux/ri...

github.com/hack-pad/go - 8adc63b3eb21e8bbacd13335bcf8d6b3a9a507c4 authored about 2 years ago by Cuong Manh Le <[email protected]>
internal/cpu: detect sha-ni instruction support for AMD64

addresses proposal #53084
required by sha-256 change list developed for #50543

Change-I...

github.com/hack-pad/go - f1b1557cf3c9ca5e3def849656f79f39041d0055 authored about 2 years ago by ted <[email protected]>
cmd/link: recognize the new R_LARCH_32_PCREL type on loong64

Due to the latest binutils change [1], at least for certain 32-bit
relocs in .eh_frame section, ...

github.com/hack-pad/go - 2c5b1746164581c7393a7a7f7ba796e823af0248 authored about 2 years ago by WANG Xuerui <[email protected]>
crypto/tls: remove unused hashForClientCertificate param

Change-Id: I86af2508a31ea1e79d362c22ff4fac8900536761
GitHub-Last-Rev: d2a1ddccbd32499d7c379941da...

github.com/hack-pad/go - 03fb5d7574eaceb26e99586dec20691663fe6b82 authored about 2 years ago by Mike Faraponov <[email protected]>
make.bat: handle spaces in path when determining bootstrap version

Single quotes don't account for whitespace in this context, which causes
output to look like thi...

github.com/hack-pad/go - beaa5717ba3a3e23b4f189d665e9fffb8143c0e3 authored about 2 years ago by djdv <[email protected]>
test: add test case for issue 53702

The issue is expected to be fixed when Unified IR is enabled by default,
so adding a test to mak...

github.com/hack-pad/go - 45c748f7e61a4044a1f79516746d5851113de251 authored about 2 years ago by Cuong Manh Le <[email protected]>
net: ignore edns0 option in resolv.conf

We use EDNS(0) by default. No need to fall back to netdns=cgo if we
see a explicit request for E...

github.com/hack-pad/go - 7acbbbee947626d9d411f8b3398400413d0fd0ce authored about 2 years ago by Ian Lance Taylor <[email protected]>
internal/cpu: fix cpu cacheLineSize for arm64 darwin(a.k.a. M1)

The existing value for M1 is 64, which is the same as other arm64 cpus.
But the correct cacheLin...

github.com/hack-pad/go - 59865f1420b2b2c67ac31f88375c142713d1fac9 authored about 2 years ago by Pure White <[email protected]>
runtime: fix a comment typo in runqget()

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

github.com/hack-pad/go - 2f6783c098696790223eae6986700868e9da0472 authored about 2 years ago by Andy Pan <[email protected]>
runtime/trace: add missing events for the locked g in extra M.

Extra Ms may lead to the "no consistent ordering of events possible" error when parsing trace fi...

github.com/hack-pad/go - ea9c3fd42d94182ce6f87104b68a51ea92f1a571 authored about 2 years ago by doujiang24 <[email protected]>
test: remove unused code in run.go

Change-Id: Ie2a77a9643697cfda4376db606711c09da220405
GitHub-Last-Rev: ff1cf0b9d831d626f7a8e0e803...

github.com/hack-pad/go - b6f87b0755f9705ce7d1c11c1b5354e8400ca7aa authored about 2 years ago by zhangjian <[email protected]>
cmd/compile/internal/ssa: include "ppc64" in has-regabi arches list

While here, rename helper function to follow Go naming idioms:
https://github.com/golang/go/wiki...

github.com/hack-pad/go - 7f3569c33acb2e1a23c55a29ddff2203e39c0176 authored about 2 years ago by Matthew Dempsky <[email protected]>
net/http: add a test to verify form tempfiles are deleted

The HTTP/1 server deletes multipart form tempfiles after ServeHTTP
returns, but the HTTP/2 serve...

github.com/hack-pad/go - ebbf2b44c59e2c473ed4ed6b0e044f5daee75e54 authored about 2 years ago by Damien Neil <[email protected]>
all: replace hand-rolled atomicBool types with atomic.Bool

Two packages construct atomic booleans from atomic integers.
Replace these implementations with ...

github.com/hack-pad/go - f3c39a83a3076eb560c7f687cbb35eef9b506e7d authored about 2 years ago by Ludi Rehak <[email protected]>
net/http/httputil: don't insert default User-Agent header in proxied requests

When ReverseProxy forwards a request with no User-Agent header, leave
the header in the forwarde...

github.com/hack-pad/go - f001df540b3fc66a475985c1b7c810e7df063c8f authored about 2 years ago by Damien Neil <[email protected]>
net/http/httputil: add X-Forwarded-{Host,Proto} headers in ReverseProxy

X-Forwarded-Host contains the original request's host.

X-Forwarded-Proto contains "http" or "ht...

github.com/hack-pad/go - 1513e57b704056b794f0706362fa3c949f2972a4 authored about 2 years ago by Damien Neil <[email protected]>
net/http: trim cookie names

The current implementation ignores cookies where the
cookie name starts or ends with a space. Fo...

github.com/hack-pad/go - 2cf49a76b674ee5075f3ed6ff857c5b3e7a8109a authored about 2 years ago by darmiel <[email protected]>
runtime: mark atomic methods which call nosplit functions as nosplit

Fixes #54411

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

github.com/hack-pad/go - 57c1edcaec010874ed4a8491ca4ba3a2dda77339 authored about 2 years ago by Cuong Manh Le <[email protected]>
runtime: run "gofmt -s -w"

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

github.com/hack-pad/go - a2af095699f5ec330ff2f012ea3a16d74cc4c3f9 authored about 2 years ago by Cuong Manh Le <[email protected]>
cmd/internal/obj/ppc64: eliminate dead code from asm9.go

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

github.com/hack-pad/go - f67c76606991411cd0075c5715624a579de40d46 authored about 2 years ago by Andy Pan <[email protected]>
runtime: synchronize P wakeup and dropping Ps

CL 310850 dropped work re-checks on non-spinning Ms to fix #43997.

This introduced a new race c...

github.com/hack-pad/go - 8cb350d69a1b0765c1c81301583d6fd99fb9d74b authored about 2 years ago by Michael Pratt <[email protected]>
runtime: convert prof.hz to atomic type

This converts several unsynchronized reads (reads without holding
prof.signalLock) into atomic r...

github.com/hack-pad/go - 54cf1b107d24e135990314b56b02264dba8620fc authored about 2 years ago by Michael Pratt <[email protected]>
runtime: convert prof.signalLock to atomic type

For #53821.

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

github.com/hack-pad/go - 3121c2bf64ae7e5c17379af2cf2a5c16952f57f1 authored about 2 years ago by Michael Pratt <[email protected]>
runtime: convert timeHistogram to atomic types

I've dropped the note that sched.timeToRun is protected by sched.lock,
as it does not seem to be...

github.com/hack-pad/go - b04e4637dba254e5bda132753a91532f8e32e4b9 authored about 2 years ago by Michael Pratt <[email protected]>
runtime: convert schedt.sysmonwait to atomic type

This converts a few unsynchronized accesses.

For #53821.

Change-Id: Ie2728779111e3e042696f1564...

github.com/hack-pad/go - 09cc9bac724896cac02b0da8b259febddde52759 authored about 2 years ago by Michael Pratt <[email protected]>
runtime: convert schedt.gcwaiting to atomic type

Note that this replaces numerous unsynchronized loads throughout the
scheduler.

For #53821.

Ch...

github.com/hack-pad/go - 88ef50e6623e55875d783e5715be1dc0683717e0 authored about 2 years ago by Michael Pratt <[email protected]>
runtime: convert schedt.nmspinning to atomic type

Note that this converts nmspinning from uint32 to int32 for consistency
with the other count fie...

github.com/hack-pad/go - 1eeef5d5b4d5fafa96fb0d4aab033fc0c3947e51 authored about 2 years ago by Michael Pratt <[email protected]>
runtime: convert schedt.npidle to atomic type

Note that this converts npidle from uint32 to int32 for consistency with
the other count fields ...

github.com/hack-pad/go - 58a1dabfd1b2bbc2a6a9a2e1cda3e98d93d61258 authored about 2 years ago by Michael Pratt <[email protected]>
runtime: convert schedt.ngsys to atomic type

Note that this converts ngsys from uint32 to int32 to match the other
(non-atomic) counters.

Fo...

github.com/hack-pad/go - 449691b3ef1d93125757037a9ab3f462ccab8f31 authored about 2 years ago by Michael Pratt <[email protected]>
runtime: convert schedt.pollUntil to atomic type

Note that this converts pollUntil from uint64 to int64, the type used by
nanotime().

For #53821...

github.com/hack-pad/go - 0fc774a68f04fef2731e7d866a2756808a212d31 authored about 2 years ago by Michael Pratt <[email protected]>
runtime: convert schedt.lastpoll to atomic type

Note that this changes the type from uint64 to int64, the type used by
nanotime(). It also adds ...

github.com/hack-pad/go - 5d7d50111f123011723989a7d123d6f0a6df38e6 authored about 2 years ago by Michael Pratt <[email protected]>
runtime: print irrelevant IDs as nil in schedtrace

We currently print these as -1, but some are technically uint64. We can
be more explicit about t...

github.com/hack-pad/go - 98e16488237b7f091ec35cbec12030a95b9f8f1b authored about 2 years ago by Michael Pratt <[email protected]>
runtime: convert g.goid to uint64

schedt.goidgen and p.goidcache are already uint64, this makes all cases
consistent.

The only od...

github.com/hack-pad/go - dd8cb66d0b1bf385a8acbbdc81515b301e059236 authored about 2 years ago by Michael Pratt <[email protected]>
runtime: convert schedt.goidgen to atomic type

For #53821.

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

github.com/hack-pad/go - b464708b463b104849a951af54352c8a894bfbc4 authored about 2 years ago by Michael Pratt <[email protected]>
runtime: convert panicking to atomic type

For #53821.

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

github.com/hack-pad/go - bd302502d39b6172bf3db6abfa49fdcaa124ee50 authored about 2 years ago by Michael Pratt <[email protected]>
runtime: convert runningPanicDefers to atomic type

For #53821.

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

github.com/hack-pad/go - 7666ec1c99b2f8c88b42fb5462510cafce120a6f authored about 2 years ago by Michael Pratt <[email protected]>
runtime: convert pendingPreemptSignals to atomic type

For #53821.

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

github.com/hack-pad/go - 40fa2dabe0ee3a163c338dab1ea6036037287507 authored about 2 years ago by Michael Pratt <[email protected]>
crypto/ecdh,crypto/internal/nistec: enable pruning of unused curves

If a program only uses ecdh.P256(), the implementation of the other
curves shouldn't end up in t...

github.com/hack-pad/go - a5cd894318677359f6d07ee74f9004d28b4d164c authored about 2 years ago by Filippo Valsorda <[email protected]>
crypto/ecdh: new package

We use crypto/internal/edwards25519/field to implement X25519 directly,
so that golang.org/x/cry...

github.com/hack-pad/go - d88d91e32e1440307369d50ba17ce622399a8bc1 authored about 2 years ago by Filippo Valsorda <[email protected]>
cmd/compile: avoid copying Pos from ONAME when creating converts for maps

ONAME nodes are shared, so using their position for anything is almost
always a mistake. There ...

github.com/hack-pad/go - 0b79abc27e1e4ea4ef3c299206f49e0724b03d57 authored about 2 years ago by David Chase <[email protected]>
debug/elf: use saferio to read section data

For #47653
Fixes #45599
Fixes #52522

Change-Id: Id6a80186434080cb0a205978ad7f224252674604
Revie...

github.com/hack-pad/go - 7367aedfd2b787cff5ea0f883ed7805ead4d4ba6 authored about 2 years ago by Ian Lance Taylor <[email protected]>
runtime: add mayAcquire annotation for trace.lock

Now that we've moved the trace locks to the leaf of the lock graph, we
can safely annotate that ...

github.com/hack-pad/go - 502b6057d2a30b284a3889e4439b47289244382b authored about 2 years ago by Austin Clements <[email protected]>
runtime: move trace locks to the leaf of the lock graph

Now that trace.lock cannot be held over a stack split, we can move
that lock and traceStackTab t...

github.com/hack-pad/go - cc8bac88353d8067244a196f70b2fe9475f4336e authored about 2 years ago by Austin Clements <[email protected]>
runtime: only acquire trace.lock on the system stack

Currently, trace.lock can be acquired while on a user G and stack
splits can happen while holdin...

github.com/hack-pad/go - 6c2e327e35b6fe838b496ec1e8fb2f597c5bd59a authored about 2 years ago by Austin Clements <[email protected]>
runtime: don't use trace.lock for trace reader parking

We're about to require that all uses of trace.lock be on the system
stack. That's mostly easy, e...

github.com/hack-pad/go - 9923162f1cb88295bccb4d86ccc6829931199fdf authored about 2 years ago by Austin Clements <[email protected]>
runtime: simplify trace buffer management around footer

Writing out the trace footer currently manages trace buffers
differently from the rest of trace ...

github.com/hack-pad/go - b648591b705490d14147f3beb66c68be9a97c5b5 authored about 2 years ago by Austin Clements <[email protected]>
runtime: avoid large object stack copy in traceStackTable.dump

Following up on the previous CL, this CL removes a unnecessary stack
copy of a large object in a...

github.com/hack-pad/go - 0293a1f308b805035e50c9c40af29f72389e4b73 authored about 2 years ago by Austin Clements <[email protected]>
runtime: write trace stack tab directly to trace buffer

Currently, the stack frame of (*traceStackTable).dump is 68KiB. We're
about to move (*traceStack...

github.com/hack-pad/go - d4a34665192b7cdfac6b51978c15053ff2ec1bd9 authored about 2 years ago by Austin Clements <[email protected]>
cmd/compile/internal/noder: fix implicit conversion position

In go.dev/cl/413396, I implemented implicit conversions by setting the
conversion's position to ...

github.com/hack-pad/go - db84f5315ff19fd2ad70f07193749ef377a028e2 authored about 2 years ago by Matthew Dempsky <[email protected]>
test: make issue54343.go robust against the tiny allocator

I structured the test for issue54343.go after issue46725.go, where I
was careful to use `[4]int`...

github.com/hack-pad/go - 87431981522981bc69b1eccc392e101df3318c2e authored about 2 years ago by Matthew Dempsky <[email protected]>
internal/saferio: new package to avoid OOM

Broken out of debug/pe. Update debug/pe to use it.

For #47653

Change-Id: Ib3037ee04073e005c4b4...

github.com/hack-pad/go - 141f15303d528620a8855fd73d19fe51dd2479f0 authored about 2 years ago by Ian Lance Taylor <[email protected]>
lib/time, time/tzdata: update to 2022b

Version 2022b was released on 2022-08-10 and we can start using it.
Its release announcement was...

github.com/hack-pad/go - 527565b1f1997f05d9902d30118a0d6003674b66 authored about 2 years ago by Dmitri Shuralyov <[email protected]>
test: relax fixedbugs/issue20250.go expectations

With GOEXPERIMENT=unified, the order variables are printed in "live at
entry to f.func1" is sens...

github.com/hack-pad/go - 72a857a2802a60ae99000efa2cf6e629d75deb4c authored about 2 years ago by Matthew Dempsky <[email protected]>
debug/elf: add new-style LoongArch reloc types

LoongArch ELF psABI spec update:
https://github.com/loongson/LoongArch-Documentation/pull/57

Co...

github.com/hack-pad/go - 0337fc7e0e084adeea58f333a8aa7dbc43363baf authored about 2 years ago by WANG Xuerui <[email protected]>
cmd/compile: fix wrong typeparams for selector expr with embedded generic type

For selector expression "x.M" where "M" is a promoted method, irgen is using
the type of receive...

github.com/hack-pad/go - 62654dfd4f8d7ac2309232dc3c09c33b1741ce95 authored about 2 years ago by Cuong Manh Le <[email protected]>
net: discard unrooted 254 byte names, not rooted ones

Fixes #54285

Change-Id: I20d4d6b9d0532d8a344582b99d446352ae94edcf
GitHub-Last-Rev: ad1337450cae...

github.com/hack-pad/go - 9e4638ad20181ba4c3b1985da48c56be121901fb authored about 2 years ago by Mateusz Poliwczak <[email protected]>
go/printer: avoid copying bytes when counting node sizes

When making the recursive call to fprint,
we just need to know how many bytes were written
and w...

github.com/hack-pad/go - a526ec1569984fd452acb09c8c48c9d972a442d3 authored about 2 years ago by Daniel Martí <[email protected]>
misc/cgo/testsanitizers: fix code to detect gcc version correctly

The current implementation of compilerVersion incorrectly gives an
error message that the compil...

github.com/hack-pad/go - dfbecc06e73b79aaeee4220b3e760cbd76050ae5 authored about 2 years ago by Archana R <[email protected]>
time: optimize Format for RFC3339 and RFC3339Nano

Optimise Format for the most frequently used RFC3339
and RFC3339Nano layouts by avoiding parsing...

github.com/hack-pad/go - 133c0e9011b8c0e13442cdb754d7f6a8ac54ce00 authored about 2 years ago by Amarjeet Anand <[email protected]>
reflect: fix stale Value.Pointer comment

The comment claims that reflect users cannot obtain an unsafe.Pointer
without also importing the...

github.com/hack-pad/go - 8298c545f384a6256962cb699f0c78306380279e authored about 2 years ago by Joe Tsai <[email protected]>
internal/pprof/profile: simplify variable use

Change-Id: I73b5d7602fccec00e68e4516f483f90163088ad1
GitHub-Last-Rev: 9366b89c47d5a209e2f239dbc4...

github.com/hack-pad/go - f469f20e7962c9b580526ea9274bcd78689fcd42 authored about 2 years ago by Abirdcfly <[email protected]>