Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/hack-pad/go
The Go programming language
https://github.com/hack-pad/go
runtime/internal/syscall is a runtime package, so it should be built
with -+.
Specifically, we ...
a861eee51ad897807df7968b32c823dbad37276e authored over 2 years ago by Michael Pratt <[email protected]>
Requested by the maintainers of the OpenSSL-based fork of Go+BoringCrypto,
to make maintaining t...
This lets us generate identical copies of fastlog2table.go on all hosts.
Tested by regenerating...
351e0f4083779d8ac91c05afebded42a302a6893 authored over 2 years ago by Ian Lance Taylor <[email protected]>For #52856
Change-Id: Iab3e8352f64d774058391f0422cd01c53c3e711d
Reviewed-on: https://go-review....
The previous change implemented the missing fallthrough checking
in the parser. Therefore we can...
The parser CheckBranches mode checked correct use of break, continue,
and labels, but not of fal...
These functions can be inserted by the compiler into the code to be
instrumented. This may resul...
fixes #53474
Change-Id: I14c3dc800dc27233630a54592328bb0df1bbaa5d
GitHub-Last-Rev: 46f93cfbd41c...
Fixes #50710
Change-Id: I62feddbe3eaae9605d196bec60d378614436603a
Reviewed-on: https://go-revie...
Calling FormatFloat with an invalid value of fmt is expected
to return a string containing '%' a...
Update instructions to match what seems to be the historical practice:
to generate canned traces...
Non-main packages in module mode should not be installed to
GOPATH/pkg, but due to #37015 they w...
Conflicts:
- test/run.go
Textual conflict adding to the known failures list for the nounifie...
e7100adbca33a654101a8fa5779f6d2f675e3675 authored over 2 years ago by Matthew Dempsky <[email protected]>
Packages outside the module cache including the standard library will be
indexed individually ra...
Also align Retracted documentation with actual type of []string
Fixes #51876
Change-Id: I3b34e...
b9c4d94fdbe0c9e11a1e604cf321614b90a1d882 authored over 2 years ago by Sean Liao <[email protected]>Fixes #50788.
Change-Id: Id1ed7d9c0687e3005e28598373fd5634178c78ca
Reviewed-on: https://go-revi...
For #51525.
Change-Id: I3762bc4a48a1aaab3b006b1ad1400f866892243c
Reviewed-on: https://go-review...
Fixes #53522
Change-Id: Ibed838d358a733d26a6c3d89446d7fadb1012961
Reviewed-on: https://go-revie...
This CL renames:
1. "haveRType" to "hasRType", suggested by drchase@ during review of
CL 413358...
This CL inserts implicit conversions for simple N:N return
statements. A subsequent CL will hand...
This CL inserts implicit conversions for simple N:N assignment
statements within Unified IR. A s...
Eliminate some code duplication between assignment statements and
variable declarations, so they...
Function call arguments need to be implicitly converted to their
respective parameter types. Thi...
This logic is a holdover from very early on when it wasn't as clear
how we would handle dictiona...
Operands within a composite literal must be implicitly converted to
their respective key/element...
This CL adds support for implicit conversions to the unified IR export
data format, and starts i...
Getting the type of a value expression is already a very common
operation during writing, and it...
Since the removal of -G=0 mode, IR is always well-typed. And in
well-typed IR, convlit will alwa...
For f(g()) calls where g() is multi-valued, we may need to insert
implicit conversions to conver...
For (value) switch statements, we may generate OEQ comparisons between
values of interface and c...
OMAPLIT gets lowered into a bunch of OINDEXMAP operations, which in
general may require a *runti...
This CL switches the GOEXPERIMENT=unified frontend to set RType fields
in the simpler cases, and...
This CL adds RType/ITab fields to IR nodes that (may) ultimately
become runtime calls that requi...
Touch up the line table reader to ensure that it can detect and reject
an invalid program offset...
For #44486
Change-Id: I66af9f7a9f95489a41fd6710e50bdd7878f78b85
Reviewed-on: https://go-review....
For #52846
Change-Id: I763f81def97b53277396c123c524f7b8193ea35e
Reviewed-on: https://go-review....
Fixes: #53254
Change-Id: I3153d6ebb9f25957b09363f45c5cd4651ee84c2d
Reviewed-on: https://go-revi...
os.CreateTemp in downloadZip leaves downloaded .zip files readable only
by the owner. Make them ...
For a package that uses cgo, the file _cgo_import.go is created to
record information required f...
Scanning GOROOT modules for changes appears to be causing Windows
builders to time out in x/tool...
go get -d golang.org/x/sys@6c1b26c55098eae66ce95ab7c3712ab6cbfff2b7
go mod tidy
go mod vendor
T...
111cdb58487f1a3d2bd82be14a90837f31a3e320 authored over 2 years ago by Guoqi Chen <[email protected]>Fixes #53406.
Change-Id: If7ae39ec1042a792d82a0a2de96d168c22d8ab71
Reviewed-on: https://go-revi...
For #53362
Fixes #53414
Change-Id: I352164e70c136eed210c7ee4ceba5dc631f81f94
Reviewed-on: https...
Fixes #53350
Change-Id: Id5e1f4016db5f1d4349ee1a76a9dfe3aeae83cee
GitHub-Last-Rev: 45add121612a...
Fixes #52611
Change-Id: I835df8d6a98a37482446ec00af768c96fd8ee4fe
GitHub-Last-Rev: ea54dd69eef9...
Windows can call the C DNS lookup routines even without cgo,
so don't force it to use the Go rou...
This change adds rudimentary explanation of the various
visualizations to main page of the trace...
If we have more than two function arguments to a generic function,
we may have arguments with na...
This CL adds alternate code paths for the frontend to plumb through
rtypes to package ssagen, so...
This CL removes (almost*) all reflectdata.{TypePtr,ITabAddr} calls
from package walk. This will ...
Minor refactoring to decouple from base.Pos and deduplicate some
common code paths.
Passes tool...
f70775ff22f4658d6ee65d9ec314687cffe57a84 authored over 2 years ago by Matthew Dempsky <[email protected]>
Pre-1.18, as special cases, the built-in operations append and copy
accepted strings as second a...
When runtime.sigprof encounters a stack that gentraceback is unable to
process, it synthesizes a...
For #51400
Fixes #53453
Change-Id: Ie11182a16299cf26d03970d6aa9bfe03caa56ea4
Reviewed-on: https...
Also, add a benchmark for another case that was originally tested.
Also also, remove all the de...
4b236b45d0bb659a447dcfc02ebd431587b52e2b authored over 2 years ago by Michael Anthony Knyszek <[email protected]>
Two small refactorings that will make it easier to thread through
RType parameters later. Behavi...
Due to a missed condition in CL 412394, we were walking all modules
(instead of just the ones co...
We sometimes use 16-byte load+store to move values around in memory.
In rare circumstances, the ...
This test already passes for GOEXPERIMENT=unified; add regress test to
ensure it stays that way....
Avoid duplicating tag ID runtime and remove a superflous </dd> tag.
Found by https://validator....
3fcbfb07a82c5332e6b50cddba333af6e6e3e488 authored over 2 years ago by Tobias Klauser <[email protected]>
For unsafe.{Alignof,Offsetof,Sizeof}, subster will transform them them
to OLITERAL nodes, and di...
This currently works with GOEXPERIMENT=unified. Add a regress test to
make sure it stays that wa...
To write go.sum, each module and then each hash is looped through. The
hashes are kept in a slic...
Cond is difficult to use correctly (I was just bitten by it in
a production app that I inherited...
For #52647.
Change-Id: Ic12123769d339c2df677500ed59f15a4ee5037d3
Reviewed-on: https://go-review...
The tester goroutine doesn't always gets a chance to run before the
timeout expires. Wait for th...
This field is only used for a sanity check in a test.
Change-Id: I868ed10131ec33994ebb1b1d88f67...
6c25ba624fd032a20dcfa94f9f9f0ae32c57c54b authored over 2 years ago by Alan Donovan <[email protected]>
This suppresses verbose output if the test passes,
eliminating some "hello from C" noise for the...
This test originally existed as two tests in test/locklinear.go, but
this checked against actual...
Change-Id: I26ed64c097533ee9276e598653db72efc053c4e5
Reviewed-on: https://go-review.googlesource...
Merge List:
+ 2022-06-16 635b1244aa cmd/go: pass GOEXPERIMENT through to subtests
+ 2022-06-16 ...
This fixes:
export GOEXPERIMENT=unified
go install cmd
go install std cmd
go install std cm...
Fixes #52719
Change-Id: Ib032193d00664090c47ae92e7d59674ec2d0165a
Reviewed-on: https://go-revie...
Change-Id: Ica981657e50e30cbfa1757e8457819a479f11c7d
Reviewed-on: https://go-review.googlesource...
In each module matchPackages looks in, when doing the walk, do the
scanDir call in a par.Queue s...
Currently, when we calculate the size of a carrier symbol, we use
the previous symbol's end addr...
Add an additional example.
Fixes #53217.
Change-Id: I899376b9c1fa8dc5d475d8d3d6c8788ab79b0847
...
For #52870
Change-Id: Ic0791af4283c9e426f7cbfab0514517ff84cfa80
Reviewed-on: https://go-review....
Update the generator programs for the changes to syslist.go in CL
390274 and the changes to the ...
Change-Id: Icb552dc7106afbf6bd4bd3660d632f174153f834
Reviewed-on: https://go-review.googlesource...
Unified IR records the inline nodes position right at the position of
the inline call, while the...
This is a rather large footgun, so let's mention that it sends the signal on thread termination ...
0e3d0c9581d1d31a94f5c70a528ff0bdba5c523d authored over 2 years ago by Vojtěch Boček <[email protected]>
The specific error doesn't occur anymore.
Add a test to prevent regressions.
For #50729.
Chang...
74bf90c779b3d4a4babd3e3de38e3d3e5d9dd7de authored over 2 years ago by Robert Griesemer <[email protected]>
Change-Id: Idb990eac60e334a5901b2d6cdc2380225d011dd6
Reviewed-on: https://go-review.googlesource...
All loong64 syscalls return values only via R4/A0, and R5/A1 may contain unrelated
content. Alwa...
The existing error messages didn't add right parenthesis ')' properly
leading to improper format...
For carrier symbols like type.*, currently we don't set its
alignment. Normally it doesn't actua...
Since CL 410821 we were indexing these modules with a cache key based
on the mtimes of the files...
Matches examples in spec section on string conversions.
For #23814.
Change-Id: I08099c27bfdb98...
2a78e8afc0994f5b292bc9a5a7258c749e43032f authored over 2 years ago by Robert Griesemer <[email protected]>For #33097
Change-Id: I6138dc844f0b29b01c78a02efc1e1b1ad719b803
Reviewed-on: https://go-review....
The spec section on conversions uses the terms "slice of bytes" and
"slice of runes". While not ...
Fixes #52740
Change-Id: I849e585deb77cfcfc1b517be4a171eb29b30c5f3
Reviewed-on: https://go-revie...
Previously we stole a bit from the field offset to encode whether
a struct field was embedded.
...
e1e66a03a6bb3210034b640923fa253d7def1a26 authored over 2 years ago by Keith Randall <[email protected]>
This adds more documentation throughout the core Unified IR logic and
removes their UNREVIEWED n...
Fixes #53314
Change-Id: I4933b59ee247daec5cf96eb15c52ff54d3ec26a9
Reviewed-on: https://go-revie...
Change-Id: Id6a27d0b3f3fc4181a00569bacc578e72b04ce09
GitHub-Last-Rev: 85c063d1a2d62181d16044592a...
Change-Id: I247874d5c49d2c0d8db2a3d227aa848093551d9b
Reviewed-on: https://go-review.googlesource...
For #51400
Change-Id: Ia5289dad84fb63ca6f16a40f076b5ef10511f6b0
Reviewed-on: https://go-review....
This change improves the robustness of the locklinear test in the
following ways:
* It removes ...
56bc3098f4ed42b272a45c246dcd42d28d89a69a authored over 2 years ago by Michael Anthony Knyszek <[email protected]>
This change moves test/locklinear.go into the sync package tests, and
adds a bit of infrastructu...