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
We have no guarantee in general that there is any 'go' command in
$PATH at all, let alone the co...
Fixes #51526.
Change-Id: I365a763454bd201f804df29f800416b1731b8ebc
Reviewed-on: https://go-revi...
Since Linux kernel 2.6.36, the pathname returned by the getcwd() system
call can be prefixed wit...
This used to be cmd/go/internal/txtar,
and then it was moved to golang.org/x/tools/txtar
and rev...
Currently, when register ABI is used, syscall.Syscall calls
entersyscall via a wrapper, so the a...
When paths are trimmed, the reported file locations begin with the
package import path (not GORO...
When ASan is enabled, treat conversions to unsafe.Pointer as
an escaping operation. In this way,...
This CL change all debug dwarf headers to generic ABI
"Compression header" for ELF
(http://www.s...
Port of go.dev/cl/325469.
Fixes #46594.
Change-Id: I4bcdafecaa86885360599c204678871646bb221b
R...
Change-Id: I6d0f629f9c7379074a03c8f13b99924d872872a3
Reviewed-on: https://go-review.googlesource...
Change-Id: Ie9f9a270ce27ba4c2ca72cd74f28e04a1b77f7db
Reviewed-on: https://go-review.googlesource...
Kind(-1).String() used to panic; let's not.
Change-Id: I1dfc0e3298beb37d77713d8327579bbde90dd15...
0d71234ee4cfcac4a6664d8fef4be575cca1d7c7 authored almost 3 years agoTo debug PC data generation.
Change-Id: Id7ac8d607cc27ad52db490bd758c3a768c3e1df2
Reviewed-on: ...
This reverts CL 392415.
Reason for revert: new test is failing on at least darwin-amd64-10_14, ...
b4428325e266d8ffdd1131d71862f0767c616e27 authored almost 3 years agoFor #51092
Change-Id: If0a233651ac75f113569ddfffd056084f6092564
Reviewed-on: https://go-review....
Change-Id: Ie7293a33862853ac56ee0a9017b201d8ff0ba1f0
Reviewed-on: https://go-review.googlesource...
A long time ago, gofmt insisted on inserting tabs in /* */ comments
at the top level of the file...
That feature can't be disabled if the microarchitectural version
requires it.
Change-Id: Iad8aa...
9b112cec8363c0c574750d92cffe8682e80aacbe authored almost 3 years ago
Some systems set an artificially low soft limit on open file count,
for compatibility with code ...
This CL fixes encoding of PrefetchStreamed on PPC64 to be consistent
with what is implemented on...
For #51618
Fixes #51673
Change-Id: Ie63408d62303293d80afed8d5cf1cb164a8abecc
Reviewed-on: https...
Add test cases.
Fixes #51628
Change-Id: I433367d87e6bb5da5579c4be540079b92701c1fa
Reviewed-on:...
Some arithmetic operation instructions such as ADD and SUB support two
formats of left shift (<<...
Trivial fix: We must skip space after either of these keywords
before we expect a closing delimi...
We're guaranteed we won't infinite loop on deadcode-only changes,
because each change converts v...
Having the proposal numbers recorded in the API files
should help significantly when it comes ti...
e.g., if GOAMD64=v3, don't allow GODEBUG=cpu.XXX=off for XXX which
are required for v3.
Change-...
5ccd8e5133a43e574be8d66aae3a230c39b4b67a authored almost 3 years agoFixes #51658.
Change-Id: Ibf415d7e12849b8f50b58d74713613d4e65bc347
Reviewed-on: https://go-revi...
CL 338129 added getDictionaryType to get the dictionary type from the
specified dict param, but ...
This test uses testgo to run 'go list', so it should use the correct
GOROOT for testgo. (This ma...
Since these commands already include an explicit Env field,
they will not be fixed automatically...
Updates #37475.
Change-Id: I8c3237438da3e9521ce3be26a0b5d5ca36944b17
Reviewed-on: https://go-re...
After CL 385998, unified IR quirks mode was gone, it's time to remove
stmtTypeDeclHack, too.
Ch...
7900576bac4630bbeec7f4f1aa4b1cb0d51bd8a1 authored almost 3 years ago
Previously, myscheme:/path and myscheme:///path were treated as the same URL
although materially...
Change-Id: Idc37429de5a48e708eda868ca7fa26b28620bac0
Reviewed-on: https://go-review.googlesource...
Fixes #51618
Change-Id: Ife894d8c313dce8c4929f40fa0ac90a069f77a89
Reviewed-on: https://go-revie...
Implement hex decode using a 256 byte lookup table instead of branching logic.
In happy flow, u...
baf61e4a67789e20f019507287a324cca06bed42 authored almost 3 years ago
Support BDNZ and BDZ mnemonics, they are commonly used
POWER instructions. The raw BC mnemonic i...
All unix platforms currently supported by Go provide the getrusage
syscall. On aix and solaris t...
- Allow for a type parameter as length/capacity to make.
- Be slightly more precise in prose for...
- Remove "Draft" disclaimer. We're not done but the spec
is in usable shape with respect to ge...
The skip was erroneously applied to errors from the call to StdoutPipe
instead of Start, and eve...
Otherwise, this test may fail when GOROOT/bin is not in $PATH.
Change-Id: Id744f365f66047162071...
ef7d0413c204f69f8179b50de869acf7bd1e1731 authored almost 3 years ago
For hidden closure built during stenciling to implement a function
instantiation, the function m...
Minimization should result in a fuzz input which
includes the same coverage bits as the original...
When minimizing a value, if the value cannot be minimized (i.e. it is
the final value is the sam...
The removed assertion was never incorrect, as signatures may
be from methods in interfaces, and ...
Both the thing we're switching on, as well as the cases we're switching for.
Convert anything co...
At this point in stenciling, we have shape types, not raw type parameters.
The code was correct ...
The TextVar function makes it easier to integrate the flag package
with any Go type that impleme...
Rather than naively making a slice of capacity 2*c+n,
rely on the append(..., make(...)) pattern...
CL 390034 changed this throw message to add the goid, breaking the
match.
For #50979.
Change-I...
1cf67709beb2d7e317cb6e6b983f3fc6304ebc1a authored almost 3 years ago
go/token has had a global "keywords" map filled at init time for years.
Overall, the package's i...
As CL 356519 require, X8-X23 will be argument register, however X10, X11
is used by duff device....
For #51576.
Change-Id: I43f72c3fb618e724d46360a70ab9f8abc3d63273
Reviewed-on: https://go-review...
- Change section title from "Type parameters lists" to
"Type parameter declarations" as the en...
Specific types were introduced to explain rules for operands of
type parameter type. Specific ty...
Builds on CL 332209.
Fixes #47005
Change-Id: I82708dede05d79a196ca63f5a4e7cb5ac9a041ea
GitHub-...
The register ABI will use X8-X23 (CL 356519),
this CL changes context register from X20(S4) to X...
Pointer types may appear in expressions *P and we don't know if
we have an indirection (P is a p...
Address several areas where documentation was inaccurate or unclear
regarding generic types. Als...
The -p flag specifies the import path of the package being compiled.
This CL makes it required w...
This is a feature that is not understood well enough and may have
subtle repercussions impacting...
Git versions before v2.10.0 do not support --no-show-signature.
Using "-c" allows Git to ignore ...
When building the inlining deck, correctly identify which is the last
frame in the deck. Otherwi...
Unified IR wasn't marking instantiated generic functions as DUPOK,
even though they can appear i...
In function prologue and epilogue, we save and restore FP and LR
registers, and adjust RSP. The ...
This CL adds the defines for ABI registers on riscv64.
Updates #40724
Change-Id: I53a89d88b6fe...
1045faa38c660b8a0ac3fbf5b0a01dde26a3cf75 authored almost 3 years ago
One of the files in CompileGoFiles is actually _cgo_import.go, but
that file is only generated f...
Type parameter lists are not ambiguous for function declarations in the
way that they are ambigu...
Given that we have seen failures with the same failure mode on both
openbsd/arm and android/arm6...
As a follow-up to https://golang.org/cl/371474, add the OS version to
the metadata printed for e...
Knowing whether test failures are correlated with specific CPU models on
has proven useful on se...
When describing call stacks that include inlined function calls, the
runtime uses "fake" PCs to ...
All other platforms providing the pipe2 syscall already implement it
that way. Do so as well on ...
All platforms with the pipe2 syscall now provide syscall.Pipe2. Use it
to implement os.Pipe.
T...
085ef537c4a2c57d373e72f4a110d9fae9a287be authored almost 3 years agoOther platforms already define Pipe2, so add it for solaris as well.
Change-Id: If0d2dfc9a36134...
de8ddd97accb417450db014d1f45723515cb5d80 authored almost 3 years ago
This test was failing locally in my clone of the go repo due to a Git
branch ending in ".go", wh...
Also switch float64 NaN encoding to use hexadecimal, and accept
hexadecimal encoding for all oth...
If you attempt to instantiate a generic type or func and run 'go build'
with a language version ...
Implement compare using loops that process 32 bytes, 16 bytes, 4 bytes
or 1 byte depending on si...
Implement memequal using loops that process 32 bytes, 16 bytes, 4 bytes
or 1 byte depending on s...
The fieldtrack support is experimental and used mainly inside Google,
where we have included thi...
The old code picks a random number n and then tests n, n+2, n+4, up to
n+(1<<20) for primality b...
Type inference for types was always a "nice to have" feature.
Given the under-appreciated comple...
When framesize <= objabi.StackSmall, 128B, the stacksplit prologue is:
MOVD 16(g), R16
MOVD ...
Replace 24 spaces added in CL 389434 with 3 tabs,
so the new line is indented like other lines a...
This should always be true, but use the HWCAP2 bit anyways.
Change-Id: Ib164cf05b4c9f0c509f41b7...
d9d55724bd8ff10d8de5c13fd77122a37ac73719 authored almost 3 years agoChange-Id: I4e09d4f2cc77c4c2dc12f1ff40d8c36053ab7ab6
f49279383901af656e40f225eb67ff62f507e13d authored almost 3 years ago
This patch allows to zerocopy using MultiReader.
This is done by MultiReader implementing Writer...
This change includes several smaller changes based on feedback
received so far.
These changes w...
3bb90a278a09c889fe936b2c5053116e48312ba2 authored almost 3 years ago
go/build is one of the packages that contributes the most towards
cmd/go's init cost, which adds...
Inference for type instances has dependencies on type-checking order
that can lead to subtle bug...
Fixes #50887
Change-Id: I451d66b067badcfb7cf2e2756ea2b062366ac9d4
Reviewed-on: https://go-revie...
Due to instance de-duplication, we were failing to record some type
instances in types.Info.Inst...
In Checker.typInternal, the SelectorExpr case was the only case that
didn't either set or pass a...
Change-Id: I64d00d523092dc3cce6d2787c26bb7897ff0812e
Reviewed-on: https://go-review.googlesource...
The comparable bit was handled incorrectly. This CL establishes
a clear invariant for a type set...
Now that we always use types2 to validate user source code, we can
remove the constSet logic fro...
This makes it easier to figure out where the crash is occurring.
Change-Id: Ie1f78a360367090dcd...
cc9d3f548a0265124766dfdb45e77cf05579219d authored almost 3 years ago