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

cmd/compile: fix loong64 constant folding in division rules

The divisor must be non-zero for the rule to be triggered.

Fixes #53018

Change-Id: Id56b8d9869...

github.com/hack-pad/go - a2bca290e7bc8ab0cdd6c26038f15ac1bb9f8628 authored over 2 years ago by Cuong Manh Le <[email protected]>
go/types, types2: detect dupl. map keys in comp. literals with generic key type

For map composite literals where the key type is a suitably constrained
type parameter, the exis...

github.com/hack-pad/go - 2138124143e27f72e1ad8fdcee0405d8e8647c76 authored over 2 years ago by Robert Griesemer <[email protected]>
runtime: fix the vDSO symbol version on loong64

The current value is appropriate for an early in-house version of
Linux/LoongArch, but for the u...

github.com/hack-pad/go - 3fa5ab0d83e1a27628dd997f3883eadd399679e1 authored over 2 years ago by WANG Xuerui <[email protected]>
cmd/internal/obj/arm64: fix encoding of ADR/ADRP instruction

The referenced address is p.From, not p.To.

Separate from CL 403980, as this is a bug fix. Also...

github.com/hack-pad/go - e6b5949a75acbbac54c120520d9720b830cb114e authored over 2 years ago by Cherry Mui <[email protected]>
misc/cgo/testsanitizers: terminate commands with SIGQUIT if hung

If the test hangs due to a deadlock in a subprocess, we want a
goroutine dump of that process to...

github.com/hack-pad/go - 715ba65563f9d2a6ecd349944b726a64f9aabeca authored over 2 years ago by Bryan C. Mills <[email protected]>
reflect: store receiver in pointer slot for reflect call

The code comment says that the receiver doesn't need to go into
the pointer slot as it will be k...

github.com/hack-pad/go - 74f0ccb68b60a07a8730e16043f18d3749c15648 authored over 2 years ago by Cherry Mui <[email protected]>
cmd/compile: support libFuzzer value profiling mode for integer compares

libFuzzer provides a special mode known as “value profiling” in which it
tracks the bit-wise pro...

github.com/hack-pad/go - c1d197a96e3b3ed6ce585a5e6115586c85de0363 authored over 2 years ago by Khaled Yakdan <[email protected]>
cmd/link: set coverage counters as expected by the fuzz package

Set _counters and _ecounters to the start and end locations of
libfuzzer's 8-bit counters sectio...

github.com/hack-pad/go - 3f571d1dea775417a171c17632ac3c1fbc84b0fd authored over 2 years ago by Khaled Yakdan <[email protected]>
Revert "cmd/cgo: use --no-gc-sections if available"

This reverts CL 405414.

Reason for revert: Breaks on AIX and iOS.

Change-Id: I4681c6f2fd696166...

github.com/hack-pad/go - 0a1a092c4b56a1d4033372fbd07924dad8cbb50b authored over 2 years ago by Ian Lance Taylor <[email protected]>
internal/fuzz: trim carriage return from version line

On windows hosts, when code is checked out using git with the default
setting of autocrlf=true, ...

github.com/hack-pad/go - c3470ca83cfdbcc71ce162b00d6b9a0004a7f649 authored over 2 years ago by Dan Kortschak <[email protected]>
cmd/compile: intercept string compares in libFuzzer mode

IR string compares as well as calls to string comparison functions such
as `strings.EqualFold` a...

github.com/hack-pad/go - 2b0e457b42a64455ca2d3eebb5c6d4e6acfc5db2 authored over 2 years ago by Khaled Yakdan <[email protected]>
runtime: allocate physical-page-aligned memory differently

Currently, physical-page-aligned allocations for stacks (where the
physical page size is greater...

github.com/hack-pad/go - b58067013eaa2f2bf0dc24f4d848e10bb758b6bd authored over 2 years ago by Michael Anthony Knyszek <[email protected]>
cmd/compile, cmd/link: use libFuzzer 8-bit instead of extra counters

By using libFuzzer’s 8-bit counters instead of extra counters, the
coverage instrumentation in l...

github.com/hack-pad/go - 7ec6ef432a85a390365f2daed788f0d14c830c73 authored over 2 years ago by Khaled Yakdan <[email protected]>
cmd/cgo: allow DW_TAG_variable's with no name

https://reviews.llvm.org/D123534 is emitting DW_TAG_variable's
that don't have a DW_AT_name. Thi...

github.com/hack-pad/go - e66f895667cd51d0d28c42d369a803c12db8bb35 authored over 2 years ago by Alex Brachet <[email protected]>
cmd/cgo: use --no-gc-sections if available

zig cc passes `--gc-sections` to the underlying linker, which then
causes undefined symbol error...

github.com/hack-pad/go - 4dd9458162a08efeb3f3da9a9f3ab4f13113d4b9 authored over 2 years ago by Motiejus Jakštys <[email protected]>
internal/pkgbits: better documentation

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

github.com/hack-pad/go - 69b412b7d6e9cbd9908b7a9641d1c6af3ff6bc63 authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/dist: port to linux/loong64 completed

For #46229

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

github.com/hack-pad/go - ec464edb22301764b6caf7592ac8dc9451c595c6 authored over 2 years ago by Xiaodong Liu <[email protected]>
misc, test: fix test error for loong64

Contributors to the loong64 port are:
Weining Lu <[email protected]>
Lei Wang <wanglei@l...

github.com/hack-pad/go - c6ef69e7d7f79f6fc72e51aa7b1ff3c7373b7b53 authored over 2 years ago by Xiaodong Liu <[email protected]>
runtime: update description of GODEBUG=scavtrace=1

For #48409.

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

github.com/hack-pad/go - 22a3209bc6efd5cc54da57f6125b91a32b6250b0 authored over 2 years ago by Wang Deyu <[email protected]>
go, math, os, reflect: support standard library for loong64

Contributors to the loong64 port are:
Weining Lu <[email protected]>
Lei Wang <wanglei@l...

github.com/hack-pad/go - 137133953025159683d48af2298f105a8fa2cbb9 authored over 2 years ago by Xiaodong Liu <[email protected]>
syscall: add syscall support for linux/loong64

Contributors to the loong64 port are:
Weining Lu <[email protected]>
Lei Wang <wanglei@l...

github.com/hack-pad/go - ae3ee9a7ec4981779d9a5e20fbee1d5cb20c1e93 authored over 2 years ago by Xiaodong Liu <[email protected]>
runtime: add loong64 to architectures known to TestGCInfo

Contributors to the loong64 port are:
Weining Lu <[email protected]>
Lei Wang <wanglei@l...

github.com/hack-pad/go - ed7c487178fb0abdf7cecc9d3368c65ab96ca584 authored over 2 years ago by Xiaodong Liu <[email protected]>
runtime: add build tag for common support on linux/loong64

Contributors to the loong64 port are:
Weining Lu <[email protected]>
Lei Wang <wanglei@l...

github.com/hack-pad/go - 0811559dddd89d90275ebae363c5166d3c29c29d authored over 2 years ago by Xiaodong Liu <[email protected]>
runtime: implement runtime entry for linux/loong64

Contributors to the loong64 port are:
Weining Lu <[email protected]>
Lei Wang <wanglei@l...

github.com/hack-pad/go - 2a5ceaaa78e4643ff7ef38312f23a25d7c99c44f authored over 2 years ago by Xiaodong Liu <[email protected]>
runtime: add BenchmarkMemclrRange

This benchmark is added to test improvements in memclr_amd64.
As it is stated in Intel Optimizat...

github.com/hack-pad/go - 5370494577bb0844d3fdfa6bebd27bf9285bb764 authored over 2 years ago by nimelehin <[email protected]>
runtime: fix overflow in PingPongHog test

On 32-bit systems the result of hogCount*factor can overflow.
Use division instead to do compari...

github.com/hack-pad/go - d8762b2f4532cc2e5ec539670b88bbc469a13938 authored over 2 years ago by Keith Randall <[email protected]>
cmd/dist: pass a -test.timeout option to a host test

For a host test we build the test using "go test -c" and then run the
test binary. A test binary...

github.com/hack-pad/go - dd83fd8a70d324be96d2fcac753b202db0625538 authored over 2 years ago by Ian Lance Taylor <[email protected]>
runtime/cgo: add cgo function call support for loong64

Contributors to the loong64 port are:
Weining Lu <[email protected]>
Lei Wang <wanglei@l...

github.com/hack-pad/go - 34507e879d31d082eeb5f5722c6c2aceaeb7e052 authored over 2 years ago by Xiaodong Liu <[email protected]>
runtime/internal/atomic: add atomic support for loong64

Contributors to the loong64 port are:
Weining Lu <[email protected]>
Lei Wang <wanglei@l...

github.com/hack-pad/go - a7cc865edbb9568c1a695bde8e8459d97e129f08 authored over 2 years ago by Xiaodong Liu <[email protected]>
cmd/go: reference BuildID field from list's -export docs

In https://golang.org/cl/263542 we added BuildID to the Package struct
in the docs for "go list"...

github.com/hack-pad/go - 87039c7d340eaf5731f3c12c1d1dd9875c7693fa authored over 2 years ago by Daniel Martí <[email protected]>
net/netip: fix receiver name in Addr.{has,without}Zone comments

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

github.com/hack-pad/go - a1ceacedd8efb49c66ef9d0ec60ca2c9ee726f07 authored over 2 years ago by Tobias Klauser <[email protected]>
database/sql: fix close rows error ignored in Next

Change-Id: I19f0d764e2a6122307f3f26a6dd3be7b1155c73b
GitHub-Last-Rev: 9f1f883c452201679a2d2af2cc...

github.com/hack-pad/go - 29057b707d468bd690e6eadfebe89c4ff737867c authored over 2 years ago by Jinzhu <[email protected]>
cmd/go: do not ignore flags option with bad quoting

Fixes #43177

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

github.com/hack-pad/go - 97ce98ac203e76fc1a1e902226277dc00456b41b authored over 2 years ago by Mostafa Solati <[email protected]>
runtime: test alignment of fields targeted by 64-bit atomics

Make sure that all the targets of 64-bit atomic operations
are actually aligned to 8 bytes. This...

github.com/hack-pad/go - 6b6813fdb79d426c3693eef2cc423263185cb3a2 authored over 2 years ago by Keith Randall <[email protected]>
cmd/gofmt: use SkipObjectResolution with -s as well

The "simplify" feature used go/ast's object tracking in only one place -
to replace s[a:len(s)] ...

github.com/hack-pad/go - 9b89c380208ea2e85985ee6bf2b1d684274dfa1d authored over 2 years ago by Daniel Martí <[email protected]>
reflect: add example for FieldByName

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

github.com/hack-pad/go - 81a9a7f4c293794855ed640cdc53835f566b6414 authored over 2 years ago by Mostafa Solati <[email protected]>
runtime: use correct heap goal in GC traces

Currently gctrace and gcpacertrace recompute the heap goal for
end-of-cycle information but this...

github.com/hack-pad/go - a6c75aa5c3009e6c4179ef9429b3efbd708499bf authored over 2 years ago by Michael Anthony Knyszek <[email protected]>
runtime: support vdso for linux/loong64

Contributors to the loong64 port are:
Weining Lu <[email protected]>
Lei Wang <wanglei@l...

github.com/hack-pad/go - 8542bd8938efc8bb1bc681f4a0603c9f392e70b0 authored over 2 years ago by Xiaodong Liu <[email protected]>
runtime: implement signal for linux/loong64

Contributors to the loong64 port are:
Weining Lu <[email protected]>
Lei Wang <wanglei@l...

github.com/hack-pad/go - 00847065287a11353c66b4144f5692848c7e837e authored over 2 years ago by Xiaodong Liu <[email protected]>
runtime: implement syscalls for runtime bootstrap on linux/loong64

Contributors to the loong64 port are:
Weining Lu <[email protected]>
Lei Wang <wanglei@l...

github.com/hack-pad/go - c8de7628cbbf5c3d35158cf92ae4314898930c47 authored over 2 years ago by Xiaodong Liu <[email protected]>
runtime: implement duffzero/duffcopy for linux/loong64

Contributors to the loong64 port are:
Weining Lu <[email protected]>
Lei Wang <wanglei@l...

github.com/hack-pad/go - 96a10b9c8469110a0aa30ea2185ca55f4aefef99 authored over 2 years ago by Xiaodong Liu <[email protected]>
runtime: support memclr/memmove for linux/loong64

Contributors to the loong64 port are:
Weining Lu <[email protected]>
Lei Wang <wanglei@l...

github.com/hack-pad/go - 2a5114f49af42c1df293e64841b28c22a84211f0 authored over 2 years ago by Xiaodong Liu <[email protected]>
all: gofmt main repo

Excluding vendor and testdata.
CL 384268 already reformatted most, but these slipped past.

The ...

github.com/hack-pad/go - 946b4baaf6521d521928500b2b57429c149854e7 authored over 2 years ago by Russ Cox <[email protected]>
misc/cgo/testplugin: set the package name in TestIssue19534

The fix for #19534 (in CL 40994) adjusted escaping in the
dynamically-linked name lookup logic f...

github.com/hack-pad/go - e23cc0844d542688c0956900206fca7c602593c5 authored over 2 years ago by Bryan C. Mills <[email protected]>
syscall: make //sys lines not doc comments

If they are doc comments then gofmt will put a space between // and sys.
Most of syscall was alr...

github.com/hack-pad/go - 0aa8a87b5d8f9425ed4c1b66b85e453bef8b7f29 authored over 2 years ago by Russ Cox <[email protected]>
misc/cgo: invoke "go" from $GOROOT/bin instead of $PATH

If PATH doesn't contain GOROOT/bin as the first element, this could
otherwise end up running ent...

github.com/hack-pad/go - 9bc544a1580a67166060aabc5af91227092f6a39 authored over 2 years ago by Bryan C. Mills <[email protected]>
runtime: use osyield in runqgrab on netbsd

NetBSD appears to have the same issue OpenBSD had in runqgrab. See
issue #52475 for more details...

github.com/hack-pad/go - b93ceefa7b47167f7bc9ec471905c136b234d34f authored over 2 years ago by Michael Anthony Knyszek <[email protected]>
cmd/compile: regenerate ssa

This is the result of running `go run *.go` in src/cmd/compile/internal/ssa/gen,
which should be...

github.com/hack-pad/go - 128279e5034ca29bad4320eef81a8abd5b40ea7e authored over 2 years ago by Joel Sing <[email protected]>
runtime: implement asyncPreempt for linux/loong64

Contributors to the loong64 port are:
Weining Lu <[email protected]>
Lei Wang <wanglei@l...

github.com/hack-pad/go - 740b0ebb76c4cb6788eb03be683650938a7f5897 authored over 2 years ago by Xiaodong Liu <[email protected]>
runtime: relax the threshold for TestPingPongHog

The test checks that the scheduling of the goroutines are within
a small factor, to ensure the s...

github.com/hack-pad/go - c087121dafc1e0250d43b545e85d67e7e6762f74 authored over 2 years ago by Cherry Mui <[email protected]>
crypto/tls: randomly generate ticket_age_add

As required by RFC 8446, section 4.6.1, ticket_age_add now holds a
random 32-bit value. Before t...

github.com/hack-pad/go - fe4de36198794c447fbd9d7cc2d7199a506c76a5 authored over 2 years ago by Tatiana Bradley <[email protected]>
cmd/compile: do not use special literal assignment if LHS is address-taken

A composite literal assignment

x = T{field: v}

may be compiled to

x = T{}
x.field = v

We alr...

github.com/hack-pad/go - 1c77137d4fdfbb3e7e8d9efaab3bab5ee736a19d authored over 2 years ago by Cherry Mui <[email protected]>
net/http/cookiejar: allow cookies with an IP address in the domain attribute

A set domain attribute in a cookie in a Set-Cookie header is intended to
create a domain cookie,...

github.com/hack-pad/go - 4ba114ec05c6090708b51db5f7a196e95bce64e0 authored over 2 years ago by Volker dobler <[email protected]>
cmd/compile/internal/test: make TestIntendedInlining faster

There is no need to build with -a. The go command should do the
right thing to pass the flags. A...

github.com/hack-pad/go - 2c3cb19a983cacd47c2b6134597d10de69010c42 authored over 2 years ago by Cherry Mui <[email protected]>
runtime: remove useless constant definition in malloc.go

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

github.com/hack-pad/go - 1f9f7db2bf7087e82102d5984a8eca9208d1caf3 authored over 2 years ago by Leonard Wang <[email protected]>
os: look up hostname from PATH in test

When running TestHostname, the location of the hostname binary
is hardcoded as /bin/hostname. Ho...

github.com/hack-pad/go - 12e48f3bbf7a28a6340aee5d9a5eacf3a98e869c authored over 2 years ago by Silke Hofstra <[email protected]>
reflect: deprecate (Slice|String)Header

As discussed in CL 401434 there are substantial misuses of these in the
wild, and they are a pot...

github.com/hack-pad/go - bc2e961cf4cda945dc6d607a5076b4e376553e9f authored over 2 years ago by Carlo Alberto Ferraris <[email protected]>
all: tidy std module

Run go mod tidy to remove go.sum lines that are unused as of CL 406914.
(This was spotted by the...

github.com/hack-pad/go - 5f2fdbe7ed58bc98b60521bde2f3fcdc4af20826 authored over 2 years ago by Dmitri Shuralyov <[email protected]>
all: fix spelling

Change-Id: I63eb42f3ce5ca452279120a5b33518f4ce16be45
GitHub-Last-Rev: a88f2f72bef402344582ae997a...

github.com/hack-pad/go - 20db15ce12fd7349fb160fc0bf556efb24eaac84 authored over 2 years ago by John Bampton <[email protected]>
test: add test that caused a gofrontend crash

For #51291

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

github.com/hack-pad/go - 1c6706c71b6b3f783a4f1ce78433a10aa302a9c8 authored over 2 years ago by Ian Lance Taylor <[email protected]>
runtime: deflake TestCgoPprofThread

In TestCgoPprofThread, the (fake) cgo traceback function pretends
all C CPU samples are in cpuHo...

github.com/hack-pad/go - c6965ad63fc66e02f37c9dcfc381c898983cec16 authored over 2 years ago by Cherry Mui <[email protected]>
net/netip: fix type name in z0, z4, z6noz comment

This was copied from the respective comment in package inet.af/netaddr
where the type is named I...

github.com/hack-pad/go - 3483ce0a28ebfe287416889e87a51dd3636223aa authored over 2 years ago by Tobias Klauser <[email protected]>
cmd/compile/internal/noder: remove TODO about position handling

types2 uses nopos as the position for predeclared objects, so it's
expected that we'll see !pos....

github.com/hack-pad/go - 6382c39e15ce68996a3848ad6f0ca15570e35ff5 authored over 2 years ago by Matthew Dempsky <[email protected]>
crypto/internal/nistec: re-enable s390x asm for P-256

- formatting and optimized init functionality for precomputed table
- updated formatting for com...

github.com/hack-pad/go - d63865b5d19ec3ca57aa30b45b2e0b57b3d54087 authored over 2 years ago by pooja shyamsundar <[email protected]>
all: fix spelling

Change-Id: Iee18987c495d1d4bde9da888d454eea8079d3ebc
GitHub-Last-Rev: ff5e01599ddf7deb3ab6ce190b...

github.com/hack-pad/go - b2116f748a7acd32facdbbdaf40117ed40564083 authored over 2 years ago by John Bampton <[email protected]>
go/types, types2: set an origin object for vars and funcs

Historically, Objects in go/types were canonical, meaning each entity
was represented by exactly...

github.com/hack-pad/go - 1170771074c0792f36fdfe94e50de1dcc8144946 authored over 2 years ago by Robert Findley <[email protected]>
vendor: revert stray edit from CL 406835

In reviewing CL 406835, I missed that one of the edited files was in
src/vendor. This change rev...

github.com/hack-pad/go - 89533024b011bcf41d6de295a5dfb1ad73486abf authored over 2 years ago by Bryan C. Mills <[email protected]>
net/http: unskip TestEarlyHintsRequest_h2

golang/net#134 and golang/net#96 have been merged.
This patch updates h2_bundle.go and enables T...

github.com/hack-pad/go - b2ae2f5358e87fabd519bc2de20b3ab81d733820 authored over 2 years ago by Kévin Dunglas <[email protected]>
runtime: load/save TLS variable g on loong64

Contributors to the loong64 port are:
Weining Lu <[email protected]>
Lei Wang <wanglei@l...

github.com/hack-pad/go - 7607888df0eca35dadb0529960d7965d0d6f4072 authored over 2 years ago by Xiaodong Liu <[email protected]>
runtime: fix code span element

Change-Id: I99c593573b3bec560ab3af49ac2f486ee442ee1c
GitHub-Last-Rev: e399ec50f9dde9229e05f801fd...

github.com/hack-pad/go - 13147f744c4ed7900ef9b1c1ffb8bf674f06b052 authored over 2 years ago by John Bampton <[email protected]>
internal/syscall/unix: loong64 use generic syscall

Contributors to the loong64 port are:
Weining Lu <[email protected]>
Lei Wang <wanglei@l...

github.com/hack-pad/go - 88c5324f2ea7ebc2fb3f12c3c821096382663aa9 authored over 2 years ago by Xiaodong Liu <[email protected]>
internal/bytealg: support basic byte operation on loong64

Contributors to the loong64 port are:
Weining Lu <[email protected]>
Lei Wang <wanglei@l...

github.com/hack-pad/go - d28bf6c9a2ea9b992796738d03eb3d15ffbfc0b4 authored over 2 years ago by Xiaodong Liu <[email protected]>
all: fix spelling

Change-Id: I68538a50c22b02cdb5aa2a889f9440fed7b94c54
GitHub-Last-Rev: aaac9e78340ac482e9cd1b506a...

github.com/hack-pad/go - a6f3f8d97306dc77144b6d3be8cf706c11e2de8f authored over 2 years ago by John Bampton <[email protected]>
compress/flate: remove var newH

After CL 404696 hewH is no longer used outide the loop and val can be
used inside the loop inste...

github.com/hack-pad/go - c25c37137db98323510752f53e93128809a8767c authored over 2 years ago by Tobias Klauser <[email protected]>
internal/{cpu, goarch}: add constant definition for loong64

Contributors to the loong64 port are:
Weining Lu <[email protected]>
Lei Wang <wanglei@l...

github.com/hack-pad/go - 30b17b6f604e30327df7ea800711526201d19aff authored over 2 years ago by Xiaodong Liu <[email protected]>
doc: update jump table performance release note

Just make it clearer that the performance gains are for the switch
statement itself, not the who...

github.com/hack-pad/go - d23c80b8e4cf1ff69176c78794a2cae10a1f5501 authored over 2 years ago by Keith Randall <[email protected]>
fmt: add Append, Appendln, Appendf

These are straightforward variants of the existing Sprintf etc.,
but append the resulting bytes ...

github.com/hack-pad/go - 668041ef66ddafffccf1863e6180b83ea1ad30c9 authored over 2 years ago by Rob Pike <[email protected]>
cmd/nm, cmd/objdump, cmd/pprof: disassembly is not supported on loong64

Contributors to the loong64 port are:
Weining Lu <[email protected]>
Lei Wang <wanglei@l...

github.com/hack-pad/go - 076039a5e16acf104210d62778d48363589e241d authored over 2 years ago by Xiaodong Liu <[email protected]>
test,misc: fix builders that do not support plugin

CL 406358 added test that use -buildmode=plugin. But plugin mode only
supports on some os/arch p...

github.com/hack-pad/go - afd181cf0b69c3591d7e47ceca4fabf14434d77e authored over 2 years ago by Cuong Manh Le <[email protected]>
cmd/link: support linker for linux/loong64

The basic arch-specific hooks are implemented, which
are used for internal and external linker.
...

github.com/hack-pad/go - cc4957a5f6eba946f359ed9646ec3e5083a259a9 authored over 2 years ago by Xiaodong Liu <[email protected]>
net/http: allow sending 1xx responses

Currently, it's not possible to send informational responses such as
103 Early Hints or 102 Proc...

github.com/hack-pad/go - 770e0e584a98dfd5e8d0d00558085c339fda0ed7 authored over 2 years ago by Kévin Dunglas <[email protected]>
cmd/pprof: update vendored github.com/google/pprof

Pull in the latest published version of github.com/google/pprof
as part of go.dev/issue/36905.

...

github.com/hack-pad/go - cf7ec0fa098a46c3b75cc3d625f5d7528fe6e984 authored over 2 years ago by Dmitri Shuralyov <[email protected]>
time: add Time.ZoneBounds

The method Location.lookup returns the "start" and "end" times bracketing seconds when that zone...

github.com/hack-pad/go - 41b9d8c75e45636a153c2a31d117196a22a7fc6c authored over 2 years ago by hopehook <[email protected]>
io/fs: document requirement that ReadDir return an unwrapped io.EOF

This requirement ensures that ReadDir implementations are as compatible
as possible with "*os.Fi...

github.com/hack-pad/go - aedf298daf508b564e4dddc7687fff8822315a5e authored over 2 years ago by Damien Neil <[email protected]>
cmd/compile: tighten the condition for inlining shape/non-shape function

CL 395854 made inline pass to not inlining function with shape params,
but pass no shape argumen...

github.com/hack-pad/go - f2b1cde544d190e1f4642ef6f4ac8ef9ce31a0c3 authored over 2 years ago by Cuong Manh Le <[email protected]>
cmd/compile: skip exporting generic functions for -buildmode=plugin

Generic functions require instantiation, which package plugin doesn't
support, and likely never ...

github.com/hack-pad/go - b79c135f377e2cbae888ef50b83f1ee5025af906 authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile/internal/types: use Type.LinkString in TypeHash

Now that Type.LinkString always returns a fully unique string ID, we
can use it in TypeHash to a...

github.com/hack-pad/go - a900a176bf946ac220336c7c5dad107745fc9c41 authored over 2 years ago by Matthew Dempsky <[email protected]>
all: update vendored golang.org/x dependencies for Go 1.19 release

The Go 1.19 code freeze has recently started. This is a time to update
all golang.org/x/... modu...

github.com/hack-pad/go - d81dd1290665aea2de8d4d5284be26ea0bfe4cd2 authored over 2 years ago by Dmitri Shuralyov <[email protected]>
all: update vendored golang.org/x/{arch,sys,term} for Go 1.19 release

The Go 1.19 code freeze has recently started. This is a time to update
all golang.org/x/... modu...

github.com/hack-pad/go - 420a1fb223da8830ca8b30e503fd9bfa7d99be3b authored over 2 years ago by Dmitri Shuralyov <[email protected]>
text/template/parse: make atTerminator more efficient

The change https://go.dev/cl/398475 was too complicated and expensive.
Since the whole string is...

github.com/hack-pad/go - 053b63cfb56f574fd216166020066f3b48d5d878 authored over 2 years ago by Rob Pike <[email protected]>
cmd/compile/internal/typecheck: remove "name" handling in iimport.go

This hack is no longer needed since CL 393715, because LocalPkg.Prefix
is set correctly, so when...

github.com/hack-pad/go - a8facc456f07574b802c61b11140a77e8ac93c2a authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile: remove base.Ctxt.Pkgpath fallback paths

Historically, the compiler set types.LocalPkg.Path to "", so a lot of
compiler code checks for t...

github.com/hack-pad/go - 2540f4e49d47f951de6c7697acdc510bcb7b3ed1 authored over 2 years ago by Matthew Dempsky <[email protected]>
test: fix issue20014 for noopt builder

This test is currently overly sensitive to compiler optimizations,
because inlining can affect t...

github.com/hack-pad/go - 99d63007a00c07bdb9571d2a206c55b72fe1295e authored over 2 years ago by Matthew Dempsky <[email protected]>
runtime/pprof: slow new goroutine launches in test

The goroutine profiler tests include one that launches a steady stream
of goroutines. That creat...

github.com/hack-pad/go - 6ec46f470797ad816c3a5b20eece0995f13d2bc4 authored over 2 years ago by Rhys Hiltner <[email protected]>
cmd/compile: set LocalPkg.Path to -p flag

Since CL 391014, cmd/compile now requires the -p flag to be set the
build system. This CL change...

github.com/hack-pad/go - ab8d7dd75ea4918cde5e71b4482ff5b4f0f69273 authored over 2 years ago by Matthew Dempsky <[email protected]>
runtime/pprof: eliminate arbitrary deadline in testCPUProfile

The testCPUProfile helper function iterates until the profile contains
enough samples. However, ...

github.com/hack-pad/go - db875f4d1b125e41a3999e3dd5c30d6b1bce235c authored over 2 years ago by Bryan C. Mills <[email protected]>
cmd/compile/internal/ir: more idiomatic DynamicType{,AssertExpr}

Rename DynamicType's "X" field to "RType".

Split DynamicTypeAssertExpr's "T" field into "RType"...

github.com/hack-pad/go - 2a6e13843d5bc0a380ce7081e33db9b636e394f9 authored over 2 years ago by Matthew Dempsky <[email protected]>
go/importer: disable TestForCompiler/LookupCustom for GOEXPERIMENT=unified

The TestForCompiler/LookupCustom test tries to read in the export data
for "math/big", but with ...

github.com/hack-pad/go - 3caf67d247c102edfb8347f010e44afa143f46b5 authored over 2 years ago by Matthew Dempsky <[email protected]>
runtime: mark panicshift and panicdivide as //go:yeswritebarrierrec

When compiling package runtime, cmd/compile logically has two copies
of package runtime: the act...

github.com/hack-pad/go - 568590b0856d457f38404505f96d21032c35f844 authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile/internal/test: don't initialize LocalPkg.Path to ""

Updates #51734.

Change-Id: I80c4e9ae7e17172f26cd32509ce0cb5b4d311819
Reviewed-on: https://go-re...

github.com/hack-pad/go - 35d83535f7235ee54bd30bff05b27d4407147300 authored over 2 years ago by Matthew Dempsky <[email protected]>