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

runtime: add address sanitizer support for riscv64

Updates #44853

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

github.com/hack-pad/go - 9956996f6e32a8001457b057bbff3070f869ddbf authored over 2 years ago by Meng Zhuo <[email protected]>
cmd/asm/internal: assembler end-to-end test for loong64

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

github.com/hack-pad/go - 335569b59804f8d14bdb9c7ee2e8b0c2268226ae authored over 2 years ago by Xiaodong Liu <[email protected]>
cmd/compile: fix inlining function has shape in type

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

github.com/hack-pad/go - 19156a54741d4f353c9e8e0860197ca95a6ee6ca authored over 2 years ago by Cuong Manh Le <[email protected]>
encoding/csv: add Reader.InputOffset method

Fixes #43401.

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

github.com/hack-pad/go - 3474cd4eee82ac442618391f8bc4a70d7b1cb65a authored over 2 years ago by hopehook <[email protected]>
cmd/compile: don't inline fn with shape params, but passed no shape arg

This is the same fix as CL 36126, but for the reverse case, function
with shape params but passe...

github.com/hack-pad/go - cb458c05a82aefb253034558b34f16dee8713274 authored over 2 years ago by Cuong Manh Le <[email protected]>
database/sql: follow convention for field naming

Change-Id: I161072698dad8f184b46c6e627bbfbcb18a1b5c6
GitHub-Last-Rev: 7c8d2412806e6017e7129a5535...

github.com/hack-pad/go - 21680959f81cd7577a524b960c9b65ce87fa608f authored over 2 years ago by Jinzhu <[email protected]>
runtime: account for idle mark time in the GC CPU limiter

Currently the GC CPU limiter doesn't account for idle application time
at all. This means that t...

github.com/hack-pad/go - 08d6c4c2b96eb3e5012af9b346dc5b325e956844 authored over 2 years ago by Michael Anthony Knyszek <[email protected]>
cmd/compile/internal: fix test error on loong64

For TestLogOpt test case, add loong64 support to test the host
architecture and os.

The Ctz64 i...

github.com/hack-pad/go - 845a95b1ae0f80d2b30ab6277e31b6d6164f0a90 authored over 2 years ago by Xiaodong Liu <[email protected]>
cmd/compile: tidy up noder's unified IR docs

Hopefully made the wording clearer as I was reading it.

Change-Id: I241ce3f2ac7ae77de00dbc96954...

github.com/hack-pad/go - 9e9e2a82d8ee82330577d5241aa2ddefd90c76c7 authored over 2 years ago by Daniel Martí <[email protected]>
cmd/compile/internal/ir: remove PkgFuncName assumption that LocalPkg.Path == ""

Prep refactoring for CL 393715, after which LocalPkg.Path will no
longer be the empty string. In...

github.com/hack-pad/go - 4170084ad12c2e14dc0485d2a17a838e97fee8c7 authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile/internal/types: remove Type.sym and rename Type.nod to Type.obj

Now that Ntype is gone, we no longer require separate sym and nod
fields for Type. It's now alwa...

github.com/hack-pad/go - aa6b75dd7d15c99368e7f51f3da2fb4b212ce33a authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile/internal/types: change structuraltype_test.go to external test

This test can run against package types's exported API just fine.

Change-Id: I74184eedc9ca9159b...

github.com/hack-pad/go - 53db708a1d7639f15256df14b04cf68de42803c4 authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile/internal/types: change NewTypeParam to match New{Basic,Named}

NewBasic and NewNamed take an Object (i.e., *ir.Name), so that callers
don't need to call SetNod...

github.com/hack-pad/go - e99275241c4e4bde6ff2a8598e558a2bea151ef7 authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile/internal/ir: remove NilExpr.Sym_

Historically, the compiler used to use a name node to represent "nil".
Now, "nil" is represented...

github.com/hack-pad/go - 80f3e3deba619fcf0ddcb547c61c9cbbd8b81968 authored over 2 years ago by Cuong Manh Le <[email protected]>
cmd/compile/internal/staticdata: remove use of `""` in embed linker symbols

Not strictly necessary for CL 393715, but this is necessary if we want
to remove the logic from ...

github.com/hack-pad/go - 499e334a28c63c15e0b1add8172fd48b3c19e1ce authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile/internal/typecheck: remove iexport assumption of LocalPkg.Path == ""

The indexed export data format encodes the local package's path as "",
because that's historical...

github.com/hack-pad/go - e3661d5f0820820d8d5e5e357244c95f788820e2 authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile/internal/noder: remove unified IR assumptions on LocalPkg.Path == ""

Replace `pkg.Path == ""` check with `pkg == types.LocalPkg`. This is a
prep refactoring for CL 3...

github.com/hack-pad/go - 1973be519aaab9bd21d9255b0926d960d2ea2666 authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile/internal/gc: parse command-line flags earlier

This CL moves the call to base.ParseFlags() earlier in compiler
startup. This is necessary so CL...

github.com/hack-pad/go - b6c5a5baa7c2c4df7ec8016e9a766dcc57895582 authored over 2 years ago by Matthew Dempsky <[email protected]>
time: clarify that monotonic clock is not returned by t.Unix

Prompted by CL 403996.

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

github.com/hack-pad/go - e97ceb278297a357580cd80a651c39158f82d45e authored over 2 years ago by Ian Lance Taylor <[email protected]>
mime: skip globs2 entries that are not simple file extensions

The entries in globs2 can be globs beyond simple *.ext ones. We support only simple extension ba...

github.com/hack-pad/go - 92998cde5a642c9db42efa51c4077b70609d55d6 authored over 2 years ago by Ville Skyttä <[email protected]>
cmd/go/internal/mvs: Delete redundant searching for maximum version when building minimal requirement list

mvs.Req performs an unnecessary search for the maximum version when building minimal requirement...

github.com/hack-pad/go - e755a5649aac75f43283a5ec160445b4478c8182 authored over 2 years ago by penglei <[email protected]>
runtime/metrics: add the last GC cycle that had the limiter enabled

This metric exports the the last GC cycle index that the GC limiter was
enabled. This metric is ...

github.com/hack-pad/go - cfccb5cb7cea77c5272115556e59dea374e4dbd1 authored over 2 years ago by Michael Anthony Knyszek <[email protected]>
runtime/metrics: add the number of Go-to-C calls

For #47216.

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

github.com/hack-pad/go - 9bd6e2776f7dde746dc39923fd2bd994c91fd182 authored over 2 years ago by Michael Anthony Knyszek <[email protected]>
runtime: tweak js and plan9 to avoid/disable write barrier & gc problems

runtime code for js contains possible write barriers that fail
the nowritebarrierrec check when ...

github.com/hack-pad/go - 364ced625593b7e48a3d4f211634228222ef0ed1 authored over 2 years ago by David Chase <[email protected]>
cmd/compile: use jump table on ARM64

Following CL 357330, use jump tables on ARM64.

name old time/op new ti...

github.com/hack-pad/go - 540f8c2b50f5def060244853673ccfc94d2d3e43 authored over 2 years ago by Cherry Mui <[email protected]>
runtime/pprof: fix allFrames cache

The compiler may choose to inline multiple layers of function call, such
that A calling B callin...

github.com/hack-pad/go - ba8310cf29ee78576a3da8a3ce8e87075df834df authored over 2 years ago by Rhys Hiltner <[email protected]>
runtime: add go:yeswritebarrierrec to panic functions

Panic avoids any write barriers in the runtime by checking first
and throwing if called inapprop...

github.com/hack-pad/go - 81d567146eb94678d401e282f99885010411df39 authored over 2 years ago by David Chase <[email protected]>
buildcfg: disable regabiwrappers along with regabiargs

This (1) "just makes sense"
and (2) avoids a weird bug in some name-dependent calling convention...

github.com/hack-pad/go - 9a68dcd7decdebf6a17b3846b886f7c241a3bf5d authored over 2 years ago by David Chase <[email protected]>
cmd/asm/internal: configure assembler for loong64

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

github.com/hack-pad/go - 0653cb4cf70f7091d10c409c23a12eabbd783fef authored over 2 years ago by Xiaodong Liu <[email protected]>
cmd/compile: register Init function for loong64

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

github.com/hack-pad/go - fd17a4dc0907967e31d4027e254bf195aeefe684 authored over 2 years ago by Xiaodong Liu <[email protected]>
cmd/compile: sort named types before unnamed in reflect

When the local package has an explicit name instead of "",
this is necessary to get past a cgo p...

github.com/hack-pad/go - 5b4fafd5db1c13e5e2c9f836476015870b3ed30b authored over 2 years ago by David Chase <[email protected]>
cmd/go: don't assume decimal in test_fuzz_mutate_crash

In the float test in test_fuzz_mutate_crash, don't assume the mutator
will generate a decimal du...

github.com/hack-pad/go - 7e33e9e7a39de0dc384f65ddc17c00bdedf85b81 authored over 2 years ago by Roland Shoemaker <[email protected]>
runtime/metrics: add gomaxprocs metric

For #47216.

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

github.com/hack-pad/go - ece6ac4d4d4aea14d51907979e76dfb32c4b174b authored over 2 years ago by Michael Anthony Knyszek <[email protected]>
runtime/internal/atomic: align 64-bit types to 8 bytes everywhere

This change extends https://go.dev/cl/381317 to the
runtime/internal/atomic package in terms of ...

github.com/hack-pad/go - 0f715f1ac9565a0e932acf69a69414e3964e38c8 authored over 2 years ago by Michael Anthony Knyszek <[email protected]>
runtime: make CPU limiter assist time much less error-prone

At the expense of performance (having to update another atomic counter)
this change makes CPU li...

github.com/hack-pad/go - 2eb8b6eec65d3d214c07067db474bbb93de3443a authored over 2 years ago by Michael Anthony Knyszek <[email protected]>
cmd/go: make TestScript/test_fuzz_minimize_dirty_cov use less memory

The test doesn't need to be as aggressive, it _should_ still tickle
the right paths with high en...

github.com/hack-pad/go - 5a4ba6d90543fc1af8822e4f4d379135cef25655 authored over 2 years ago by Roland Shoemaker <[email protected]>
crypto/aes: simplify key load+store on PPC64

There is no requirement for how the expanded keys are stored
in memory. They are only accessed b...

github.com/hack-pad/go - d4dd7acd2e9654e9769f4fa131540ad4e991adb5 authored over 2 years ago by Paul E. Murphy <[email protected]>
crypto/aes: enable aes-cbc asm for ppc64

This reworks how we load/store vector registers using the new
bi-endian P9 instruction emulation...

github.com/hack-pad/go - b553f51fcd959c9d2d113ce74eba6eac958e2a5b authored over 2 years ago by Paul E. Murphy <[email protected]>
runtime: measure stack usage; start stacks larger if needed

Measure the average stack size used by goroutines at every GC. When
starting a new goroutine, al...

github.com/hack-pad/go - 016d7552138077741a9c3fdadc73c0179f5d3ff7 authored over 2 years ago by Keith Randall <[email protected]>
spec: fix prose about promoted methods of embedded fields

The types of embedded fields must be named, but they don't
need to be defined types (e.g. if the...

github.com/hack-pad/go - da0a6f4b57fc9eb4779c295bc9620c5ed271a641 authored over 2 years ago by Robert Griesemer <[email protected]>
test: add test case that caused a gofrontend crash

For #52841

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

github.com/hack-pad/go - 6365efb7dcfd6ab90ffe5541ca26bd8d875167a3 authored over 2 years ago by Ian Lance Taylor <[email protected]>
cmd/compile/internal/loong64: implement Init function for loong64

Register functions and parameters that are used in gc backend and
are architecture related for l...

github.com/hack-pad/go - 2136e1551089bbac284980c2521d8b729f6a5c3e authored over 2 years ago by Xiaodong Liu <[email protected]>
crypto/x509: attempt to prime windows root pool before hybrid test

In TestHybridPool attempt to prime to the windows root pool before
the real test actually happen...

github.com/hack-pad/go - 267013e6e9150e073510469e1ea024cdc5149dce authored over 2 years ago by Roland Shoemaker <[email protected]>
cmd/go: make modifications to copies of go/build files for index

This change makes the modifications to the copies of the files of
go/build used by the modindex ...

github.com/hack-pad/go - 27ace7ab9e1b690a672d0f7720680cb99e559854 authored over 2 years ago by Michael Matloob <[email protected]>
cmd/go: copy files from go/build into new modindex package

These files are all copied as is from the go/build package, to files
with the same name in modin...

github.com/hack-pad/go - 1e5fcefcd188f3fba85156523bf57deb454b9cd4 authored over 2 years ago by Michael Matloob <[email protected]>
cmd/compile: fix boolean comparison on RISCV64

Following CL 405114, for RISCV64.

May fix RISCV64 builds.

Updates #52788.

Change-Id: Ifc34658...

github.com/hack-pad/go - d6e6140c988e0b276fa5559190ede3494ea73cf0 authored over 2 years ago by Cherry Mui <[email protected]>
spec: use original terminology in metasyntax (cleanup)

The metasyntax used in the spec is exactly the Wirth Syntax
Notation (WSN), which eventually inf...

github.com/hack-pad/go - f269d90bf201ee97c42ce625376883866ad77332 authored over 2 years ago by Robert Griesemer <[email protected]>
spec: use Unicode terminology consistently

- refer to character "categories" rather than "classes" per the
definitions in the Unicode sta...

github.com/hack-pad/go - 1dfe994fe9e87e17b141a3f06c6a88632821020a authored over 2 years ago by Robert Griesemer <[email protected]>
cmd/link: remove name expansion logic

Now both the compiler and the assembler require the -p flag and
emit full package path in symbol...

github.com/hack-pad/go - e3f7816f0eae375d261e35d0b541a61c463c9111 authored over 2 years ago by Cherry Mui <[email protected]>
all.bat,clean.bat,race.bat,run.bat: call some.bat with .\some.bat

When set NoDefaultCurrentDirectoryInExePath=1, call some.bat does not work.

Change-Id: Ifeab27e...

github.com/hack-pad/go - c4c9c80e4f20ca825e66eed254142b1623706b68 authored over 2 years ago by Yasuhiro Matsumoto <[email protected]>
make.bat: call env.bat with .\env.bat

When set NoDefaultCurrentDirectoryInExePath=1, call env.bat does not work.

Change-Id: If63b02e2...

github.com/hack-pad/go - 917f201f952019988fd477565223c19352b4bb6a authored over 2 years ago by Yasuhiro Matsumoto <[email protected]>
net/netip: skip some TestAddrStringAllocs tests on noopt builders

CL 403914 introduced TestAddrStringAllocs which checks that there is
only 1 alloc in Addr.String...

github.com/hack-pad/go - 0d8345df6637b0fbd595eb8f7cb61be5ebeee314 authored over 2 years ago by Tobias Klauser <[email protected]>
spec: state that variable names must be unique in short var decls

Fixes #45652.

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

github.com/hack-pad/go - 2bea43b0e7f3e636ffc8239f9d3fccdd5d763c8b authored over 2 years ago by Robert Griesemer <[email protected]>
spec: clarify "continue" statement

Taking into account the discussion and relevant feedback on a
change proposed in 2013 (see e-mai...

github.com/hack-pad/go - c01feba15de402dce666e4f9bf14a06fc64aa97d authored over 2 years ago by Robert Griesemer <[email protected]>
spec: correct assignment rules with respect to type parameters

Fixes #52628.

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

github.com/hack-pad/go - 7e11ff38160da714b3528d58021aefa42c7ed7e3 authored over 2 years ago by Robert Griesemer <[email protected]>
spec: adjust scope of function/method type parameters

Change scope rules per the accepted proposal #52038.
Match prose for type parameters of type dec...

github.com/hack-pad/go - 5d0400c72de968dffacc3e2004808758894ea433 authored over 2 years ago by Robert Griesemer <[email protected]>
cmd/compile/internal/ssagen: enable intrinsic operation on loong64

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

github.com/hack-pad/go - 900ae5b35a75e1f7bc7c8573d9480cbbfd0eee47 authored over 2 years ago by Xiaodong Liu <[email protected]>
cmd/compile/internal/ssa: config functions used in lower pass for loong64

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

github.com/hack-pad/go - 756fcd8fc2cbdf6575d8da454c5006c50220dafd authored over 2 years ago by Xiaodong Liu <[email protected]>
cmd/compile/internal/ssa: add support on loong64 for schedule phase

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

github.com/hack-pad/go - a2d12076b9268c11d300bddcbce04675ec2f42d3 authored over 2 years ago by Xiaodong Liu <[email protected]>
cmd/compile/internal/ssa: inline memmove with known size

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

github.com/hack-pad/go - a6c95e75d9ff8a01dc05c1d48fb766b05f4fe298 authored over 2 years ago by Xiaodong Liu <[email protected]>
Revert "net/http: close accepted connection"

This reverts CL 353714.

The change closes accepted connection also in graceful shutdown which
b...

github.com/hack-pad/go - c14ed5b37c6cc387b29a7939cad7c7cbccd59934 authored over 2 years ago by Alexander Yastrebov <[email protected]>
cmd/compile/internal/ssa{,/gen}: define rules and operation on loong64

The rules and operation definition is used to generate rewrite functions
and OpKind type constan...

github.com/hack-pad/go - ec5bdefd0a8f4a4dc7ba8d6ab4e1cf393384d03c authored over 2 years ago by Xiaodong Liu <[email protected]>
net/netip: reduce allocations in Addr.String for v4-in-v6 addresses

ip.Unmap will always return an Addr with ip.z == z4 in case of an
v4-in-v6 address. Thus, Addr.s...

github.com/hack-pad/go - f2cd6d60aee86f5dd582a4abf26a70cff44589b7 authored over 2 years ago by Tobias Klauser <[email protected]>
cmd/compile/internal/ssa: increase the bit width of BlockKind type

After the BlockKind of loong64 is introduced, it exceeds the maximum
range that int8 can represe...

github.com/hack-pad/go - 83ee6c1d167a361b510e9bb449e4183e2fb583b1 authored over 2 years ago by Xiaodong Liu <[email protected]>
cmd/asm: require -p flag

CL 391014 requires the compiler to be invoked with the -p flag, to
specify the package path. Lat...

github.com/hack-pad/go - 6e03de7b83426fa2f598c428a19db707a845bf7e authored over 2 years ago by Cherry Mui <[email protected]>
cmd/internal/obj: add a flag to not write referenced symbol names in object file

The Go object file references (some of) symbols from other
packages by indices, not by names. Th...

github.com/hack-pad/go - b89a1948893d2c6c04497030eb78addd6fd7daf3 authored over 2 years ago by Cherry Mui <[email protected]>
cmd/internal/obj{,/loong64}: instructions and registers for loong64

Implemented an assembler for LoongArch64(loong64 is short name) -
this provides register definit...

github.com/hack-pad/go - c1105cfd435c84f3454822fdccfe0c8ab7d8f621 authored over 2 years ago by Xiaodong Liu <[email protected]>
cmd/compile: convert merge to use appl. bal. trees for sharing

This CL replaces a not-very-shared linear-sized set
representation with a much more shared repre...

github.com/hack-pad/go - 857cda4625b31d6725fb96148da2a5fca58df2cb authored over 2 years ago by David Chase <[email protected]>
cmd/go: add timestamps to script test output

Go tests don't include timestamps by default, but we would like to
have them in order to correla...

github.com/hack-pad/go - d339d085c9d0cff099668d3a85ebae4e25c6afa2 authored over 2 years ago by Bryan C. Mills <[email protected]>
compress/flate: remove compressor.hash field

After CL 20929, the only remaining uses of d.hash are immediately
after it is set.

Benchmarks w...

github.com/hack-pad/go - 949b3e9880bbce0740d1af327b91a0040fe2e12b authored over 2 years ago by Ian Lance Taylor <[email protected]>
Revert "testing: document -race goroutine limits"

This reverts commit 4907c62f99fbfc8608a79a17c20d89f50956d9fc.

Reason for revert: Race detector ...

github.com/hack-pad/go - de9805c702bcc19bcf3c783d1c2e43fdf4e1d30e authored over 2 years ago by Keith Randall <[email protected]>
go/build: replace ioutil.ReadDir with os.ReadDir

Change go/build.readDir to use os.ReadDir instead of ioutil.ReadDir.
This addresses a TODO and i...

github.com/hack-pad/go - 536282763f7357edd81d85993c12fd977fecd378 authored over 2 years ago by Charlie Vieth <[email protected]>
runtime: enable vDSO support for s390x architecture

This change adds support for vDSO for s390x architecture. This avoids the use of system calls in...

github.com/hack-pad/go - 636c5f02082e4be5ef2d9a66c99c9e31b72246a3 authored over 2 years ago by Axel Busch <[email protected]>
cmd/compile: fix bad order of evaluation for multi-value f()(g()) calls

The compiler use to compile f()(g()) as:

t1, t2 := g()
f()(t1, t2)

That violates the Go spec...

github.com/hack-pad/go - 7b314d27ce5dbc31eed2076e28c0af4ea8c24473 authored over 2 years ago by Cuong Manh Le <[email protected]>
doc: mention jump tables and tsan upgrades in 1.19 release notes

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

github.com/hack-pad/go - e0ae8540ab7527ac8000d6f212526f32b2a9ebad authored over 2 years ago by Keith Randall <[email protected]>
runtime: use unsafe.Slice in getStackMap

CL 362934 added open code for unsafe.Slice, so using it now no longer
negatively impacts the per...

github.com/hack-pad/go - 4388faf9646bd4df0b0c3a5b781281d5b7948ce4 authored over 2 years ago by Cuong Manh Le <[email protected]>
cmd/compile,runtime: open code unsafe.Slice

So prevent heavy runtime call overhead, and the compiler will have a
chance to optimize the boun...

github.com/hack-pad/go - 579902d0b1c45e85168196ed0ddfd4cfebb025f4 authored over 2 years ago by Cuong Manh Le <[email protected]>
runtime: change maxSearchAddr into a helper function

This avoids a dependency on the compiler statically initializing
maxSearchAddr, which is necessa...

github.com/hack-pad/go - ccb798741b9bd9d5eda56648a8b3383e6e55cfcd authored over 2 years ago by Matthew Dempsky <[email protected]>
go/doc: remove unused top-level declarations from playable example

When we synthesize a playable example, prune declarations that may be
in the original example fi...

github.com/hack-pad/go - f12461cb0f3878b6d332f4be3a02fa44cc744df6 authored over 2 years ago by Jonathan Amsterdam <[email protected]>
os/exec: eliminate some arbitrary short timeouts

These tests appear to be using timeouts to check for deadlocks or to
cause the test to fail earl...

github.com/hack-pad/go - 6fd0520db3cffad4fd01c98319b9b1bf3c50f5e2 authored over 2 years ago by Bryan C. Mills <[email protected]>
cmd/vendor: update to current x/tools revision

go get -d golang.org/x/tools@bc0e26ea127539a752b3a1849d05e007bb549def
go mod tidy
go mod vendor
...

github.com/hack-pad/go - bda9da844df7cbde152e88b1f9b59e9360a4a2f9 authored over 2 years ago by Ian Lance Taylor <[email protected]>
syscall: update broken links

Remove one link which isn't very interesting, and update another to
point to the current locatio...

github.com/hack-pad/go - d28616d4697bf8ec02e8afed39013721e4567f9a authored over 2 years ago by Ian Lance Taylor <[email protected]>
runtime: store pointer-size words in memclr

GC requires the whole zeroed word to be visible for a memory subsystem.
While the implementation...

github.com/hack-pad/go - e0f99775f24cd19ad96847b0a5b00952aac9d548 authored over 2 years ago by nimelehin <[email protected]>
runtime: not mark save_g NOFRAME on ARM

On ARM, when GOARM<=6 the TLS pointer is fetched via a call to a
kernel helper. This call clobbe...

github.com/hack-pad/go - aeaf4b0e5b21ea0819b4e862ed86ce44760516bf authored over 2 years ago by Cherry Mui <[email protected]>
crypto/aes: add BE support to gcm

This adds the code to allow the gcm assembler code to work on
big endian ppc64.

Updates #18499
...

github.com/hack-pad/go - 2ecf747e088fa6568621d719fbdf41c0d9221cc5 authored over 2 years ago by Lynn Boger <[email protected]>
internal/cpu: report CPU if known on PPC64

The PPC64 maintainers are testing on P10 hardware, so it is helpful
to report the correct cpu, e...

github.com/hack-pad/go - 51859ec2292d9c1d82a7054ec672ff551a0d7497 authored over 2 years ago by Paul E. Murphy <[email protected]>
cmd/compile: lower Add64/Sub64 into ssa on PPC64

math/bits.Add64 and math/bits.Sub64 now lower and optimize
directly in SSA form.

The optimizati...

github.com/hack-pad/go - 0c43878baa035db39d9bbf84ce8721cd8a97c78a authored over 2 years ago by Paul E. Murphy <[email protected]>
test: add test case for #51840

This issue has been fixed in CL 403837.

Fixes #51840.

Change-Id: I282062bb06278696fe25e9ede333...

github.com/hack-pad/go - 526de61c67add8400d73b28bbed3f3680586c472 authored over 2 years ago by Wayne Zuo <[email protected]>
go/printer: align expression list elements containing tabs

A user noticed that, given the input

{
S: "Hello World",
Integer: 42,
},
{
S: ...

github.com/hack-pad/go - bf68170c638e7e69bedcc64fadfd83354fd06c10 authored over 2 years ago by Daniel Martí <[email protected]>
cmd/compile: be sure to export types mentioned in f.i.g. method signature

When a fully instantiated generic method is exported, be sure to also
export the types in its si...

github.com/hack-pad/go - 1284cc24955487192fb7fb5aea934cb13fd1ae73 authored over 2 years ago by David Chase <[email protected]>
cmd/link: more cleanups for visibility hidden symbol handling

CL 404296 removes the hidden visibility checks, but a few of them
were left. Remove them as well...

github.com/hack-pad/go - 508cb32d4be3f71f2975ee978a474eb7d95d868a authored over 2 years ago by Cherry Mui <[email protected]>
cmd/go/internal/modfetch: simplify handling of weird version tags

This fixes an obscure bug in 'go list -versions' if the repo contains
a tag with an explicit "+i...

github.com/hack-pad/go - 4d716e4d4a25526ba963a7cfb2b5208eb52e71c0 authored over 2 years ago by Bryan C. Mills <[email protected]>
cmd/compile: update README.md

This CL updates the description of the frontend packages of the
compiler, which I'm more familia...

github.com/hack-pad/go - 17dc7b487f2406261d638350e4652fc5df224cc2 authored over 2 years ago by Matthew Dempsky <[email protected]>
archive/zip: error if using io/fs on zip with duplicate entries

Fixes #50390

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

github.com/hack-pad/go - 8d074f61b709047fcc365a4556838f7ad7d80fec authored over 2 years ago by Ian Lance Taylor <[email protected]>
os/exec: return clear error for missing cmd.Path

Following up on CL 403694, there is a bit of confusion about
when Path is and isn't set, along w...

github.com/hack-pad/go - 960ffa98ce73ef2c2060c84c7ac28d37a83f345e authored over 2 years ago by Russ Cox <[email protected]>
cmd/compile: fix boolean comparison on PPC64

Following CL 405114, for PPC64.

Should fix PPC64 builds.

Updates #52788.

Change-Id: I193ac31c...

github.com/hack-pad/go - 7a574ff23f9cda0967fd63a55c897e7598b60ad2 authored over 2 years ago by Cherry Mui <[email protected]>
runtime: add lock partial order edge for trace and wbufSpans and mheap

This edge represents the case of executing a write barrier under the
trace lock: we might use th...

github.com/hack-pad/go - 482669db62bc5b6537727d621555a46eccb6173d authored over 2 years ago by Michael Anthony Knyszek <[email protected]>
go/doc: move code from playExample to a separate function

The playExample function is very long. Move the code that finds
top-level declarations and unres...

github.com/hack-pad/go - 2226952b8a9564a83b29cb281238c5adac6c71b3 authored over 2 years ago by Jonathan Amsterdam <[email protected]>
go/doc: move example tests into files

Move the test cases for doc.Examples from example_test.go into
their own files under testdata/ex...

github.com/hack-pad/go - 30a2750a91616f8120266b79ea52d293a2398b86 authored over 2 years ago by Jonathan Amsterdam <[email protected]>
runtime: profile finalizer G more carefully in goroutine profile

If SetFinalizer is never called, we might readgstatus on a nil fing
variable, resulting in a cra...

github.com/hack-pad/go - 8fdd277fe6ee1770b12650a4bc2bc257e49c8065 authored over 2 years ago by Michael Anthony Knyszek <[email protected]>