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

reflect, runtime: add reflect support for regabi on riscv64

This CL adds regabi support needed for reflect and reimplement
of CL 360994, which is reverted.
...

github.com/hack-pad/go - bb2b16d15ead9c5b6b9e2b699aed8bdfcf7e9518 authored over 2 years ago by Meng Zhuo <[email protected]>
cmd/internal/obj/arm64: fix encoding error for SYS instruction

Currently using the SYS instruction will report the "illegal combination"
error. This is because...

github.com/hack-pad/go - ecee4a32918c5e575303530abb9a504a235a1c71 authored over 2 years ago by eric fang <[email protected]>
cmd/dist: enable msan/asan

Supporting memory sanitizer and address sanitizer in toolchains

Change-Id: Ie292657b78954d65bd7...

github.com/hack-pad/go - be8ee5a58f8c30e95e425779fb31b2ae4e35cb8c authored over 2 years ago by Meng Zhuo <[email protected]>
mime/multipart: allow nested boundary with outer boundary+dash prefix

Fixes #46042

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

github.com/hack-pad/go - c4efe7fb2777fca05a904b0c62bee8915e13b03f authored over 2 years ago by Olivier Szika <[email protected]>
cmd/internal/obj/riscv: fix illegal form of MOV instructions

The MOV like instructions should only have two operands.

Change-Id: Icbfb49e47a91ac305194c2f140...

github.com/hack-pad/go - 5dbfa6e61a2a733bca601c330967d12a3a5b12f4 authored over 2 years ago by Ben Shi <[email protected]>
debug/elf: ajdust SectionOverlap test for proper fields

The current SectionOverlap tests Size (addr) with Offset (file)

This CL set this test for overl...

github.com/hack-pad/go - baf6df06c0525b0bbcf43066f3360eb31b8e7941 authored over 2 years ago by Meng Zhuo <[email protected]>
cmd/compile: use opregreg for x86.AXOR* ops

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

github.com/hack-pad/go - a4ffeb9edd23e1edbea87eb9ebd8cbb84fad6efa authored over 2 years ago by nimelehin <[email protected]>
runtime: check GOAMD64 v4 compatibility on Darwin

Darwin requires a different approach to check AVX512 support.

Update #45453

Change-Id: Ia3dfec...

github.com/hack-pad/go - 6a40bdcbaf97ca6a815bf48998d90ccfa5a0b6fc authored over 2 years ago by vpachkov <[email protected]>
net/http: handle 3xx responses with no Location

RFC 7231 does not require that a 3xx response contain a Location header.
When receiving such a r...

github.com/hack-pad/go - a41763539c7ad09a22720a517a28e6018ca4db0f authored over 2 years ago by Damien Neil <[email protected]>
mime/multipart: unified Part and Reader receiver name

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

github.com/hack-pad/go - fb2a9d27e395af5bb0c88d0fa453bba868275800 authored over 2 years ago by Wayne Zuo <[email protected]>
crypto/x509: properly handle issuerUniqueID and subjectUniqueID

Fixes #51754

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

github.com/hack-pad/go - 9a53b472b5ed41f9fe79a73f1236ed3f45f8871a authored over 2 years ago by Roland Shoemaker <[email protected]>
net: skip tests that use netsh on the windows-arm64-10 builder

These tests sometimes hang on Windows 10 on ARM64, due to what appears
to be a platform bug. Sin...

github.com/hack-pad/go - ff6b6c61d7818e4a32402acbf65940afa372368e authored over 2 years ago by Bryan C. Mills <[email protected]>
syscall: relax output check in TestGroupCleanupUserNamespace

“If you have a procedure with ten parameters, you probably missed some.”
― attr. Alan J. Perlis
...

github.com/hack-pad/go - 434b2a5d0dbdfdce6327beb06ca03c02b3fd2785 authored over 2 years ago by Bryan C. Mills <[email protected]>
cmd/go: prevent go work use panic when given a file

The current implementation fails to identify that an argument to go work
use is a file when expe...

github.com/hack-pad/go - a84ef500213ef6c2a0e4bfd82253e9fcd28f1f62 authored over 2 years ago by John Anthony <[email protected]>
strconv: quote rune 007F as \x7f, not \u007f

\u007f is not wrong but it's weird to use \u when we could use the
shorter \x.

Fixes #52062

Ch...

github.com/hack-pad/go - 31ee4bb28dff98f29654e7f1b43488641b3157db authored over 2 years ago by Ian Lance Taylor <[email protected]>
cmd/go: allow either test to complete first in TestScript/test_chatty_parallel_success_run

This fixes a failure mode observed in
https://build.golang.org/log/7b28a914b1914dabe94f7c4e36ad6...

github.com/hack-pad/go - 825309962fd6d8e34f7f38f51c4994395826d139 authored over 2 years ago by Bryan C. Mills <[email protected]>
cmd/compile: better propagation of desired registers

This fixes two independent problems:

We normally propagate desired registers backwards through ...

github.com/hack-pad/go - bdd0f0f780cf650ed7844dbc1bcfab20460783cc authored over 2 years ago by Keith Randall <[email protected]>
runtime: rewrite stale comment about pacer

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

github.com/hack-pad/go - 23756207fb68c34ae15a030319dc31248e21cf45 authored over 2 years ago by Michael Anthony Knyszek <[email protected]>
runtime: add wrappers for sys* functions and consolidate docs

This change lifts all non-platform-specific code out of sys* functions
for each platform up into...

github.com/hack-pad/go - f990b0f1e80cf6152219b4d3f9a397899e8d6d40 authored over 2 years ago by Michael Anthony Knyszek <[email protected]>
runtime: remove intermediate fields in memstats for ReadMemStats

Currently, the ReadMemStats (really this is all happening in
readmemstats_m, but that's just a d...

github.com/hack-pad/go - 4a56ba1c453927256f231a8bcef316bb4b3aa68a authored over 2 years ago by Michael Anthony Knyszek <[email protected]>
runtime: remove old pacer and the PacerRedesign goexperiment

Now that Go 1.18 has been released, remove the old pacer.

Change-Id: Ie7a7596d67f3fc25d3f375a08...

github.com/hack-pad/go - 3334afd7609185574ad179cb030064f0825c2101 authored over 2 years ago by Michael Anthony Knyszek <[email protected]>
runtime/internal/atomic: add Bool

This change adds the Bool type, a convenient wrapper around Uint8 for
atomic bool values.

Chang...

github.com/hack-pad/go - f1b5c048d7b7589a5b3ae423114baf27b3456021 authored over 2 years ago by Michael Anthony Knyszek <[email protected]>
runtime: remove AVX2less code in memclrNoHeapPointers for GOAMD64 >= 3

Optimize memclr by removing simple case loop along with the
runtime check since AVX2 is guarante...

github.com/hack-pad/go - 12acf9b0f009305eefc71d4cee8808cc244e86aa authored over 2 years ago by vpachkov <[email protected]>
cmd/link/internal/ld: revise recipe for ASLR enable on windows

When doing external linking on windows, the existing Go linker code
assumed that the external li...

github.com/hack-pad/go - cc3a3519af5b8b4cf26bf27133675776fdfcaeb9 authored over 2 years ago by Than McIntosh <[email protected]>
cmd/go: update TestCgoHandlesWlORIGIN to avoid -rpath on windows

Tweak the cgo recipe for the TestCgoHandlesWlORIGIN testpoint to avoid
using "-rpath" on Windows...

github.com/hack-pad/go - f7670b9f9471d0d40666c28faaaa67851eb8ec2e authored over 2 years ago by Than McIntosh <[email protected]>
cmd/compile: remove a false dependency for TZCNT

LZCNT/TZCNT on some Intel CPUs suffer from a false dependency on
the destination register.

The ...

github.com/hack-pad/go - 96081f854547353caaa77b795974f76b24572493 authored over 2 years ago by nimelehin <[email protected]>
go/build: set allTags even when short-circuiting x_GOOS_GOARCH.go

Fixes #52053

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

github.com/hack-pad/go - 9743fdd097171cada6231503974209edc5400ee8 authored over 2 years ago by Ian Lance Taylor <[email protected]>
cmd/compile: clean up arm64 32bit pointer in Reverse

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

github.com/hack-pad/go - 40504892c1720a3a36d82c492fd2302b7ccb870a authored over 2 years ago by Wayne Zuo <[email protected]>
cmd/compile: fix clobberFlags for BSWAP

BSWAP does not affect EFLAGS on neither 386 nor x64. Set the clobberFlags value accordingly.

Ch...

github.com/hack-pad/go - 913ecf492d99801eefdebd7eb6773a5ea98107f8 authored over 2 years ago by Jakub Ciolek <[email protected]>
debug/pe: skip TestReadCOFFSymbolAuxInfo on big-endian systems

Disable the new TestReadCOFFSymbolAuxInfo testpoint on big endian
systems, pending resolution of...

github.com/hack-pad/go - c5c66d78b21074c562ece01d6682d4a499815786 authored over 2 years ago by Than McIntosh <[email protected]>
cmd/compile: simplify func value symbol generation

Currently, in most cases the compiler generates a func value
symbol when it is referenced, excep...

github.com/hack-pad/go - b1e83c0513cc009192ebb6fcf5e232adf23552d4 authored over 2 years ago by Cherry Mui <[email protected]>
test: update comments in run.go (cleanup)

The -G compiler option doesn't exist anymore. Update some variable
names and comments to reflect...

github.com/hack-pad/go - b76f8df1334993cb5d43b2d883fdb0ed66b402f6 authored over 2 years ago by Robert Griesemer <[email protected]>
crypto/elliptic: tolerate zero-padded scalars in generic P-256

Fixes #52075

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

github.com/hack-pad/go - 37065847d87df92b5eb246c88ba2085efcf0b331 authored over 2 years ago by Filippo Valsorda <[email protected]>
runtime: remove use of -mnop-fun-dllimport from cgotest win.go

This flag is not supported by clang, so remove it from the cgo cflags
when building for windows....

github.com/hack-pad/go - 5138401209a70475451561b18d2c6d92bda93810 authored over 2 years ago by Than McIntosh <[email protected]>
cmd/link/internal/loadpe: add rudimentary COMDAT support

Add some rudimentary support to the PE file loader for handling
sections in COMDAT when reading ...

github.com/hack-pad/go - 1edc2769ca5eb60293747c37e765bc56ce04d2da authored over 2 years ago by Than McIntosh <[email protected]>
debug/pe: add APIs for reading section def aux info

Add hooks to support reading of section definition symbol aux data
(including COMDAT information...

github.com/hack-pad/go - 378221bd6e73bdc21884fed9e32f53e6672ca0cd authored over 2 years ago by Than McIntosh <[email protected]>
cmd/link: resolve __CTOR_LIST__/__DTOR_LIST__ refs for PE

When doing an internal link on Windows, it's possible to see
unresolved references to the symbol...

github.com/hack-pad/go - cdee8004ab5fa71d705979eaaee0948200256ed0 authored over 2 years ago by Than McIntosh <[email protected]>
go/types, types2: better error message for invalid type parameter term

The spec says "In a union, a term cannot be a type parameter,...",
but it's really the type in a...

github.com/hack-pad/go - 2ea9376266b71e8a0752b8b3663bbf5b9ed48c4d authored over 2 years ago by Robert Griesemer <[email protected]>
debug/elf: check for negative shoff and phoff fields

No test because we could add an infinite number of tests of bogus data.

For #47653
Fixes #52035...

github.com/hack-pad/go - 109a18dce7ef8ecb2aa60cef25362ebd05661ea0 authored over 2 years ago by Ian Lance Taylor <[email protected]>
cmd/link: read crt2.o for windows internal-linking CGO

For Windows internal linking with CGO, when using more modern
LLVM-based compilers, we may need ...

github.com/hack-pad/go - a9d13a9c230bafba64469f126202315ba4d24eea authored over 2 years ago by Than McIntosh <[email protected]>
cmd/link/internal/loadpe: generalize handling of "__imp_*" syms

The existing PE file loader has a special case for the symbol
"__acrt_iob_func", whose hosting o...

github.com/hack-pad/go - 821420d6bbc53d4cd8b3f9a903fccd0c6432eb6f authored over 2 years ago by Than McIntosh <[email protected]>
cmd/link/internal/loadpe: refactor readpesym()

Rewrite the helper "readpesym()" and the code that calls it to pass in
most of the values it nee...

github.com/hack-pad/go - 0a5bbba366de5bf833a742e9001538ea10122d6c authored over 2 years ago by Than McIntosh <[email protected]>
net: clean up redundant if branch in dial

Dialer.DialContext no longer performs a redundant check on the length
of the fallback slice, bec...

github.com/hack-pad/go - ebe624dd30f7be1479a2224b60a0da1b152ec851 authored over 2 years ago by Shang Ding <[email protected]>
text/template: remove newline special casing in documentation

Updates #29770
Fixes #51872

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

github.com/hack-pad/go - 2b8178c14d8f71a3f022653c2e779e92eea9cdec authored over 2 years ago by Sean Liao <[email protected]>
math/big: call norm when returning success from Rat SetString

After CL 24430, reflect.DeepEqual no longer returns true when comparing
a *Rat built with (*Rat)...

github.com/hack-pad/go - a80070e0cf0b65d619b6669a789d27746a5b2126 authored over 2 years ago by Shulhan <[email protected]>
strings: limits allocation size for SplitN

So that `strings.SplitN("", "T", int(144115188075855872))` does not panic.

Change-Id: Iea00417e...

github.com/hack-pad/go - cc46cac3bc59c35e22e17471d70e28fd3705d4da authored over 2 years ago by Philippe Antoine <[email protected]>
cmd/cgo: use size_t instead of __SIZE_TYPE__

__SIZE_TYPE__ is a GCC type which has been superseded
by size_t -define in stddef.h- since ISO C...

github.com/hack-pad/go - 90b29e186576d2682c024b0f0b90c6ad98e824d7 authored over 2 years ago by qmuntal <[email protected]>
cmd/go: add comments to C.* special functions

Adding comments to these functions help IDE tooling to display
meaningful documentation, p.e. on...

github.com/hack-pad/go - 3943d97dc7bb1d0c9574ac5f372a10952ebae7b1 authored over 2 years ago by qmuntal <[email protected]>
spec: clarify type term restriction for type parameters

Be clear that the type of a term (not the term itself, which may
be of the form ~P) cannot be a ...

github.com/hack-pad/go - ea858734be6e711fa2d41fdeb6038ff09e3c7841 authored over 2 years ago by Robert Griesemer <[email protected]>
html/template: make FuncMap a type alias of text/template.FuncMap

In preparation to make html/template and text/template use a
single generics package, this chang...

github.com/hack-pad/go - 81f1cc52abb0b004d8cd1b130ea293026419acac authored over 2 years ago by Emmanuel T Odeke <[email protected]>
go/types, types2: no "imported but not used" error for unimported packages

If a package could not be imported for whatever reason, the type checker
creates fake package wi...

github.com/hack-pad/go - 0a6ddcc4f03b5a89bf2eadee1fe284faf0e20be2 authored over 2 years ago by Robert Griesemer <[email protected]>
cmd/compile/internal/syntax: better errors for syntax errors in lists

For syntax errors in various (syntactic) lists, instead of reporting
a set of "expected" tokens ...

github.com/hack-pad/go - 077573018027c30e5f422d50f0b96e1733ac6001 authored over 2 years ago by Robert Griesemer <[email protected]>
cmd: make go and moddeps tests insensitive to presence of src/go.work

If there is a go.work file in src, "go test cmd/internal/moddeps"
and "go test cmd/go" fail. Se...

github.com/hack-pad/go - 3b7fce24cda8b9b245bae94aee9fafea87926c50 authored over 2 years ago by David Chase <[email protected]>
cmd/go: remove arbitrary sleep in TestScript/test_chatty_parallel_success_sleepy

(Also rename it to no longer describe itself in terms of sleeping.)

This test previously relied...

github.com/hack-pad/go - 1ac16586421070cdc76c62b5dfd5e74a4b47fca8 authored over 2 years ago by Bryan C. Mills <[email protected]>
cmd/dist: delete special case for release branches without VERSION

findgoversion has some logic from before the go1 release that only
has effect when on a release ...

github.com/hack-pad/go - ca1e509552cab36072016de44234f30072b9e703 authored over 2 years ago by Dmitri Shuralyov <[email protected]>
crypto/x509/internal/macos: return errors when CFRef might be NULL

Updates #51759

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

github.com/hack-pad/go - 83e9a97f62af41e65e37e096a4ed71f6a59d183e authored over 2 years ago by Filippo Valsorda <[email protected]>
cmd/compile/internal/syntax: remove code dealing with multiple method names

When parsing method declarations in an interface, the parser has
for historic reasons gracefully...

github.com/hack-pad/go - a7e76b8e809ccbd1ceef207a83f8303edb707867 authored over 2 years ago by Robert Griesemer <[email protected]>
cmd/compile/internal/syntax: remove generic-specific parse modes

Generics have landed; we cannot revert the syntax anymore. Remove
ability to choose between non-...

github.com/hack-pad/go - bf408e741c2827a45c8576dda4126fc4135ef247 authored over 2 years ago by Robert Griesemer <[email protected]>
cmd/compile/internal/syntax: use .go suffix for test files (cleanup)

- Use .go suffix for test files as go fmt doesn't descend into testdata
directories.
- Move test...

github.com/hack-pad/go - 717056da1a0086c5d1d1b27231a385f77ebc61d7 authored over 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: add commentary on (non-)guarantees when using contexts

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

github.com/hack-pad/go - c05c0ca8cfba2c9b78e92e71907c3a1ee344aa23 authored over 2 years ago by Robert Findley <[email protected]>
go/types: clarify that contexts do not guarantee deduplication

Documentation around the use of types.Context is unclear about whether
contexts guarantee dedupl...

github.com/hack-pad/go - 83327b4ae41cf1ef17fb4df4dc395cf17efc6375 authored over 2 years ago by Robert Findley <[email protected]>
[dev.boringcrypto] make.bash: disable GOEXPERIMENT when using bootstrap toolchain

When using Go 1.4 this doesn't matter, but when using Go 1.17,
the bootstrap toolchain will comp...

github.com/hack-pad/go - 9d6ab825f6fe125f7ce630e103b887e580403802 authored over 2 years ago by Russ Cox <[email protected]>
[dev.boringcrypto] crypto/internal/boring: update build instructions to use podman

The 'docker' command line tool is no longer available on my Linux laptop
due to Docker's new lic...

github.com/hack-pad/go - d1405d7410accbb9ee51e116297e9ce671ab1b56 authored over 2 years ago by Russ Cox <[email protected]>
cmd/compile/internal/walk: fix wrong soleComponent implementation

CL 367755 added soleComponent for handling 1-byte type interface conversion.
This implementation...

github.com/hack-pad/go - 2d34af0fd6c6cb214c3a5a8f11ef95854667dd92 authored over 2 years ago by Cuong Manh Le <[email protected]>
cmd/compile/internal/typecheck: simplify checkassign

After CL 281543, checkassign do not have to check assignment in range
loop anymore, thus its fir...

github.com/hack-pad/go - f5a42cd4b482a595a710129a25ffb5facc655569 authored over 2 years ago by Cuong Manh Le <[email protected]>
compress/zlib: tighten header CINFO check

RFC 1950 section 2.2 "Data format" says "CINFO (Compression info)... For
CM = 8... Values of CIN...

github.com/hack-pad/go - d1060d8e82a320725e961f2648e62034d7f768e4 authored over 2 years ago by Nigel Tao <[email protected]>
runtime: unify C->Go ABI transitions on arm64

There are several of places that save and restore the C callee-saved registers,
the operation is...

github.com/hack-pad/go - eee6f9f825596a769ff163e098d2656cbed09d4f authored over 2 years ago by eric fang <[email protected]>
cmd/link: zero elf addr for debug sections

The Addr should be zero if SHF_ALLOC is not set.

Update #51939

Change-Id: I030f6243d05efabe6b9...

github.com/hack-pad/go - 63169c8bdf3e7ac5006c8976b0631b281eb49394 authored over 2 years ago by Meng Zhuo <[email protected]>
runtime: add runtime changes for register ABI on riscv64

This CL adds
- spill functions used by runtime
- ABIInternal to functions

Adding new stubs_risc...

github.com/hack-pad/go - 8fefeabb358395fb3e592e9403339552880e0872 authored over 2 years ago by Meng Zhuo <[email protected]>
go/types, types2: better error message for some invalid receiver errors (cleanup)

Use the 1.17 compiler error message together with the receiver base type.
Also, simplify and fla...

github.com/hack-pad/go - 7cb1ae3e8e4bc4d80d711b5180705af556c95843 authored over 2 years ago by Robert Griesemer <[email protected]>
cmd/compile: add PPC64 ssa ops to support carry chain arithmetic

These are the opcodes required to lower math/bits.Add64 and
math/bits.Sub64 directly into ssa fo...

github.com/hack-pad/go - 3d7ca9f7c06e52546f12d8d7c96df3712e09b4c1 authored over 2 years ago by Paul E. Murphy <[email protected]>
runtime: avoid potential hang in TestGdbAutotmpTypes

If a GC related task preempts between hitting the main.main breakpoint
and stepping, the test pr...

github.com/hack-pad/go - dac0220841a44815584c83d26e9f9a45f5560f6d authored over 2 years ago by Paul E. Murphy <[email protected]>
cmd/compile: make XER allocatable register on PPC64

This is the first step towards decomposing aggregate operations
which create or consume the CA b...

github.com/hack-pad/go - a4a0f9b1481e9be4361eb9c4998eca08e2eedb0a authored over 2 years ago by Paul E. Murphy <[email protected]>
go/types, types2: better error message for blank interface method name (cleanup)

Use the 1.17 compiler error message.

Change-Id: Ic62de5bfc9681674069934afc590f5840729f8e2
Revie...

github.com/hack-pad/go - f71daa6fe6eecab08ad47f9dbd584bc11691116a authored over 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: better index-out-of-bounds error message (cleanup)

Use the 1.17 compiler error message, sans "array" prefix.

Change-Id: I0e70781c5ff02dca30a2004ab...

github.com/hack-pad/go - 9038c244983e66294781f83e30239623a08672f5 authored over 2 years ago by Robert Griesemer <[email protected]>
all: use new "unix" build tag where appropriate

For #20322
For #51572

Change-Id: Id0b4799d097d01128e98ba4cc0092298357bca45
Reviewed-on: https:/...

github.com/hack-pad/go - a2baae6851a157d662dff7cc508659f66249698a authored over 2 years ago by Ian Lance Taylor <[email protected]>
net/netip: return an error from ParsePrefix with IPv6 zone input

net.ParseCIDR already rejects input in the form of 2001:db8::%a/32, but
netip.ParsePrefix previo...

github.com/hack-pad/go - ae9ce822ff4015fbbe7aa4303e6f3c160f2c53af authored over 2 years ago by Matt Layher <[email protected]>
[dev.boringcrypto] all: merge master into dev.boringcrypto

Change-Id: I04d511ed8e3e7ca4a3267f226a0c3e248c0f84a9

github.com/hack-pad/go - 50b8f490e1701773254fdbfe0e3fea00ff1f2a68 authored over 2 years ago by Nicolas Hillegeer <[email protected]>
go/types, types2: preserve parent scope when substituting receivers

Fixes #51920

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

github.com/hack-pad/go - 9b90838712856cad86504a526e566f963f86c04e authored over 2 years ago by Robert Findley <[email protected]>
doc/go1.19: mention new unix build constraint

For #51572

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

github.com/hack-pad/go - 1724077b789ad92972ab1ac03788389645306cbb authored over 2 years ago by Ian Lance Taylor <[email protected]>
cmd/internal/obj/riscv: add two-operand form to more instructions

Add two-operand form "op rs, rd" to
ADDW/SUBW/SLLW/SRLW/SRAW/SLLIW/SRLIW/SRAIW.

Do the followin...

github.com/hack-pad/go - 94727bed02d59b6a40757ba583f61d1b03493e5d authored over 2 years ago by Ben Shi <[email protected]>
cmd/compile/internal/importer: support final unified IR export format

This updates the cmd/compile/internal/importer to natively support the
"final" unified IR export...

github.com/hack-pad/go - 9a9bd102904f0ac57a427634cd9f2e6302d60624 authored over 2 years ago by Matthew Dempsky <[email protected]>
go/build: recognize "unix" build tag

The new "unix" build tag matches any Unix or Unix-like system.
This is only recognized on go:bui...

github.com/hack-pad/go - c3fcd0117784ac05e35120ac0de6c960b400a31e authored over 2 years ago by Ian Lance Taylor <[email protected]>
bytes: restore old Trim/TrimLeft behavior for nil

Keep returning nil for the cases where we historically returned nil,
even though this is slightl...

github.com/hack-pad/go - 32fdad19a246143ae4f194d1b39886d778de1380 authored over 2 years ago by Ian Lance Taylor <[email protected]>
io/fs, path/filepath: honor SkipDir on second WalkDirFunc error call

Fixes #51617

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

github.com/hack-pad/go - 460fd63cccd2f1d16fc4b1b761545b1649e14e28 authored over 2 years ago by Ian Lance Taylor <[email protected]>
net/mail: accept UT as a timezone

Fixes #39906

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

github.com/hack-pad/go - 3c7f9b80222376fa01f8c6e3b411281c23dd74ed authored over 2 years ago by Ian Lance Taylor <[email protected]>
internal/pkgbits: add fingerprints to unified IR export format

So far unified IR has been relying on the backwards-compat iexport
data to supply package finger...

github.com/hack-pad/go - 42ca44494c6ca94c6a1f433e61bc5d95d51b2222 authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/internal/obj: sort relocations

At least on some platforms (e.g. PE dynamic loader) relocations
need to be sorted in address ord...

github.com/hack-pad/go - 1a9972ec87de1eba7f9f71c8ed4afa88b0c122d4 authored over 2 years ago by Cherry Mui <[email protected]>
cmd/compile: reallocate FPR31 to XER for PPC64 regalloc

We are limited to 64 registers in the allocator today, and PPC64
has not been allocating F0,F26-...

github.com/hack-pad/go - 33987b408c391433ad8214a56677e9af6463fd10 authored over 2 years ago by Paul E. Murphy <[email protected]>
cmd/compile: make F0,F27-F31 allocatable on PPC64

These FP registers on PPC64 have no restrictions, they can
be used like the others. F27-F31 were...

github.com/hack-pad/go - e84a37068b05409add29f44d33853c1d30739baa authored over 2 years ago by Paul E. Murphy <[email protected]>
all: delete PPC64 non-register ABI fallback path

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

github.com/hack-pad/go - 0a69c98214839a07cb4ac16466fa7961e537881f authored over 2 years ago by Cherry Mui <[email protected]>
cmd/compile/internal/syntax: fix scanner.{op,prec} docs

These fields are also valid for _Star.

Change-Id: I2582000ac1737c41416e69f91404f7cac279d718
Rev...

github.com/hack-pad/go - 26a8cf56e0cfdb555025f60acf2e2ec773a5f492 authored over 2 years ago by Matthew Dempsky <[email protected]>
syscall: optimize Byte{Ptr,Slice}FromString

Use bytealg.IndexByteString(str, 0) instead of looping through the
string to check for a zero by...

github.com/hack-pad/go - 0d651041a9f48bbd1456317dfc784cdfa253e877 authored over 2 years ago by Kir Kolyshkin <[email protected]>
runtime/race: update runtime (v3)

New tsan runtime (v3) built on llvm commit 1784fe0532a6.

The new runtime features:
- 2x smalle...

github.com/hack-pad/go - d6a1ffd624bd0d6dbf3a15070e378749612b35c9 authored over 2 years ago by Dmitry Vyukov <[email protected]>
io/ioutil: add deprecation markers to ioutil

All the code in ioutil just forwards functionality to code
in either the io or os packages, per ...

github.com/hack-pad/go - a208aa7f339db75f4b79a61be12616b846477a18 authored over 2 years ago by Jeff Widman <[email protected]>
cmd/compile/internal/ir: remove un-used code for const

CL 390474 removed last usages of ConstValue, it can now be removed, and
also Float64Val, since w...

github.com/hack-pad/go - b10164b29278016cfbc5f42c0f8620cd467993d5 authored over 2 years ago by Cuong Manh Le <[email protected]>
os: use syscall.Timespec.Unix

Use the syscall method instead of repeating the type conversions for each OS.

Change-Id: I1db97...

github.com/hack-pad/go - 5fcc6554d955c31e7a313ff7e1b3bc13de9d63a1 authored over 2 years ago by Ian Lance Taylor <[email protected]>
Revert "reflect, runtime: add reflect support for regabi on riscv64"

This reverts commit 56400fc70675cc2f404f33e3ed13386967cfe4da.

Reason for revert: this CL requir...

github.com/hack-pad/go - ad646b33c9fd2366c91a44b262910c1064b24f11 authored over 2 years ago by mzh <[email protected]>
encoding/xml: expose decoder line and column

The existing implementation of the xml decoder uses the line number
only for reporting syntax er...

github.com/hack-pad/go - 0eea25159fe58ab956198f3009e6ded875d2796e authored over 2 years ago by Patrick Gundlach <[email protected]>
go/build: remove unused code in TestDependencies

Change-Id: I7ccffbf96bd30f33bb42b6a2592962e2d4dda9fc
GitHub-Last-Rev: 2d6e214ac50bf505f8edf5ad8b...

github.com/hack-pad/go - 234283d8aba1e892906e889782ae5723686da6c6 authored over 2 years ago by zhangjian <[email protected]>