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
The FNES and FNED instructions are pseudo-instructions, which the
assembler expands to FEQS/NEG ...
Change-Id: I69eaf470ba2c241a99e3693a0a93d9b24c78a2af
Reviewed-on: https://go-review.googlesource...
Currently these are only implicitly documented by the code that
generates and consumes them. Add...
Change-Id: Ie384bfb366abc4005e9333b24dbbb70d66b74c0c
Reviewed-on: https://go-review.googlesource...
Change-Id: Ica74977898f0af8c9abf42a003d8f02dbdc03d34
Reviewed-on: https://go-review.googlesource...
Use the same spacing convention ("x | y") for union terms everythere,
matching the gofmt precede...
Use an early return to reduce indentation and clarify flow.
For #54466.
Change-Id: I12ce810bea...
55ca6a20afb718972f0625ce971081f78efe10bf authored about 2 years ago by Austin Clements <[email protected]>
The stkframe struct and its methods are strewn across different source
files. Since they actuall...
This places getStackMap alongside argBytes and argMapInternal as
another method of stkframe.
Fo...
b91e3737296c815ecf2508644cc07328172640eb authored about 2 years ago by Austin Clements <[email protected]>
Currently, stkframe.arglen and stkframe.argmap are populated by
gentraceback under a particular ...
Currently, when traceback jumps from the system stack to a user stack
(e.g., during profiling tr...
The meaning of some of the fields in stkframe is actually quite
subtle.
Change-Id: Iac765ff6fbf...
f00fa0b98da9f4353839da99e6f6f7f109f9954f authored about 2 years ago by Austin Clements <[email protected]>
The f funcInfo argument is always the same as frame.fn, so we don't
need to pass it. I suspect t...
Currently, gentraceback tracks the closure context of the outermost
frame. This used to be impor...
Change-Id: I9cde2a82a395546d7620b5138cf922b2ac1c94b5
GitHub-Last-Rev: 25b8e972b044848da1a1f94cbd...
Fixes #54496
Change-Id: I3c2ed8cd55836d5b07c8cdec00d3b584885aca79
Reviewed-on: https://go-revie...
In go.dev/cl/421821, I included a hack to force OCONVNOP back to
OCONVIFACE for conversions invo...
This CL deduplicates the explicit and implicit exprConvert code paths
to have a single common fu...
Updates #46731
Change-Id: I247fa9c7ca97feb9053665da7ff56e7f5b571f74
Reviewed-on: https://go-rev...
So next CL can get rid of go:notinheap pragma.
Updates #46731
Change-Id: Ib2e2f2d381767e11cec1...
0ee0bb1003aa96a8ed94728784bb7faa301702d9 authored about 2 years ago by Cuong Manh Le <[email protected]>Since go1.17 is now used for bootstrapping.
Change-Id: I5692ff4b38b7d9a279b20662ce5348ff34a2dde...
0cf996a9c12d9bc5b38787c2f3b0212c39d87dd5 authored about 2 years ago by Cuong Manh Le <[email protected]>Avoid allocating large amounts of memory for corrupt input.
No test case because the problem ca...
553f02c6ae9d9dc124559b6711a47cb3e99c6348 authored about 2 years ago by Tobias Klauser <[email protected]>
This CL changes the heuristic used to determine whether we can inline a
struct equality check or...
Like on Linux, use GODEBUG=madvdontneed=1 to enable madvise with
MADV_DONTNEED instead of MADV_F...
This CL optimizes RotateLeft8/16 on arm64.
For 16 bits, we form a 32 bits register by duplicati...
121344ac338ef21d87eee4f64a60d0ae8a7f6fe3 authored about 2 years ago by ruinan <[email protected]>
So they can be added to ignored list, since the tests now require
cgo.Incomplete, which is not r...
Go 1.17 will be used instead of Go 1.4 as minimum required version for
bootstrap, so runtime.Kee...
For the following code case:
var x uint64
x >> (shift & 63)
We can directly genereta `x >>...
54c7bc9cff748e6554e53fbbbf823fdd214d0482 authored about 2 years ago by ruinan <[email protected]>
This seems more sensible than the func keyword. With this change,
go/types uses the same error p...
On AIX when external linking, for some symbols we need to add
dummy references to prevent the ex...
Fixes #53287
Change-Id: If983ae34850d9b1b29764156a38628fa53897573
Reviewed-on: https://go-revie...
So it won't be visible outside of runtime package. There are changes to
make tests happy:
- Fo...
ec2ea40b315e8b1a3d1dc8f7987584c4e2a00ef4 authored about 2 years ago by Cuong Manh Le <[email protected]>
Change-Id: I313fff5684d89ee737572d11b1b697c5575866a8
Reviewed-on: https://go-review.googlesource...
Fixes #44488
Change-Id: I570950799788678b9dc6e9ddad894973b4611e09
Reviewed-on: https://go-revie...
Follow-up on comment in CL 427154.
Change-Id: Ib44a8e9b9129d68b794f91788c9b8c971d6c5436
Reviewe...
This CL moves the directories check, examples, fixedbugs, and spec
from inside go/types/testdata...
CL 425735 consolidated the testdata/check/shifts.go files between
go/types and types2. Because s...
Establish testdata/local directory for tests that are not (yet)
shared between the go/types and ...
Since the fixedbugs tests are now identical between the two type checkers,
remove the local copy...
Use the go/types version of testdata/fixedbugs tests where diffs
are only in the error positions...
Report a syntax error if the first element of a type instance is
not actually a type (but some o...
Rename .../issue46404.go1 to .../issue46404.go so that it is
not skipped anymore when running te...
For #54511.
Change-Id: I1ae391b5f157bf688f9f31b1577c90e681b6df26
Reviewed-on: https://go-review...
This is a port of CL 427156 from the syntax package's parser
to go/parser.
While at it, remove ...
d394f99f49aa9249324f7c3ef3bc77a7cc1cebf7 authored about 2 years ago by Robert Griesemer <[email protected]>
Change-Id: I114548640d51bf69833259578609901fa1602510
Reviewed-on: https://go-review.googlesource...
This results in better error recovery and allows us to use the
same tests for go/types and types...
For #54511.
Change-Id: I317c5f9beed7f1de4979ec12c6ec8d5de71bac1c
Reviewed-on: https://go-review...
Also: add a missing test.
For #54511.
Change-Id: Ie9828c6ba5186feb5a79db0d58beb2cda2beae56
Rev...
This matches the majority use case as well as types2.
For #54511.
Change-Id: If800afc35db8d32c...
6b555dc29e98ca756eb3f10edc4b8a17a72b1258 authored about 2 years ago by Robert Griesemer <[email protected]>Permissible now because go1.17 is used for bootstrapping.
Change-Id: Ic97b0706190c3eb907da69003...
0592ce5f69f4149da643b61e6bb1163e6046401c authored about 2 years ago by hopehook <[email protected]>Permissible now because go1.17 is used for bootstrapping.
Change-Id: Ia6f314f9314eda1cc42002dcb...
b2110bcdde636b77412778a8c1eab6e50163ca1c authored about 2 years ago by hopehook <[email protected]>
Instead of checking at parse-time that the LHS of a short variable
declaration contains only ide...
Logic matches the code in the syntax package.
This error was missing from go/parser and go/types...
The syntax for go and defer specifies an arbitrary expression, not
a call; the call requirement ...
Since the check tests are now identical between the two type checkers,
remove the local copy of ...
Use the go/types version of testdata/check tests where the diffs
are only in the error positions...
- Use "expected X" rather then "expecting X".
- Report a better error when a type argument list ...
If the go/defer syntax is bad, using a fake CallExpr may produce
a follow-on error in the type c...
Remove the code that verifies that an expression is a type or non-type
expression. For one, it c...
Linux kernel 5.8 added the faccessat2 syscall taking a flags argument.
Attempt to use it in Facc...
Amend the "mkall.sh -syscalls" implementation to
- prepend ./ before mksyscalls.pl;
- accept t...
Instead of passing the original length and the new length, pass
the new length and the length in...
Since when go1.17 is now used for bootstraping.
Change-Id: If28338fc82e6c61f057d7eb3a4c2ed77846...
1e7f535475febc247c9e27249ee35e3a00dfa769 authored about 2 years ago by hopehook <[email protected]>Since when go1.17 is now used for bootstraping.
Change-Id: I5f763dec1cb152f94ab1c677d3fa26da17a...
dced3461eee8297fe2bd666f2c5146d220b2ab5b authored about 2 years ago by hopehook <[email protected]>Since when go1.17 is now used for bootstraping.
Change-Id: I5ee65aff72500a04e243238cffeae92ea65...
d31c4bc2de1105d2b77beb6447166fdae7b64e94 authored about 2 years ago by hopehook <[email protected]>This reverts CL 426075.
Reason for revert: Import missing from cgocall.go.
Change-Id: Iac17e91...
ef8414101fba959c8df220ca0e544781029ce111 authored about 2 years ago by Michael Pratt <[email protected]>For #53821
Change-Id: Ib0d62ee36487b3ed68e063976968f3cac6499e4b
Reviewed-on: https://go-review....
These rules should belong to lowering rules not optimizations.
Change-Id: I964d2c4b1d9bef0ede57...
af991a6d28949cd27a41a93b46abf42cbf07023d authored about 2 years ago by Wayne Zuo <[email protected]>
Change-Id: I73081b85e763122be1f5c0dbab25cecc9cf809df
Reviewed-on: https://go-review.googlesource...
We have supported passing lists of arguments to the compiler and linker
for some time, since htt...
Since when go/types,types2 do not know about build constraints, and
runtime/cgo.Incomplete is on...
v.SetIterXXX(i) is semantically identical to v.Set(i.XXX()).
If the latter panics for unexported...
Same as CL 421880, but for test directory.
Updates #46731
Change-Id: If8d18df013a6833adcbd40ac...
64b260dbdefcd2205e74d236a7f33d0e6b8f48cb authored about 2 years ago by Cuong Manh Le <[email protected]>
After running the types2 type checker, walk info.Instances to reject
any not-in-heap type argume...
In go.dev/cl/419674 I added a mechanism to the inliner to allow
inlining to fail gracefully when...
Rotating by c, then by d, is the same as rotating by c+d.
Change-Id: I36df82261460ff80f7c6d39bc...
33a7e5a4b49fa04ce6f65b5b0645a44a0c93eaad authored about 2 years ago by Keith Randall <[email protected]>
The current mknode has a few problems:
1) It tends not to run successfully if the tree is in a b...
Currently we use a full cmpstring to do the comparison for each
split in the binary search for a...
for i := 0; i < 9; i += 3
Currently we compute bounds of [0,8]. Really we know that it is [0,6]...
af7f067e0d7f92bcf4d0938d093725a0ac6366b1 authored about 2 years ago by Keith Randall <[email protected]>For #53821
Change-Id: I9f57b84f6a2c29d750fb20420daef903a9311a83
Reviewed-on: https://go-review....
Since when internal linking cgo on some platforms, like android, is not
fully supported.
Update...
ce77a4640561567ab59c481dd917b4f98b723b97 authored about 2 years ago by Cuong Manh Le <[email protected]>
The prove pass will mark some shifts bounded, and then we can use that
information to generate b...
The negation does not change the comparison to zero.
Also remove unnecessary x.Uses == 1 condit...
971373f56a5e47e523c7ac7f097349b83f5d31b5 authored about 2 years ago by Joel Sing <[email protected]>The result of these operations are already extended.
Change-Id: Ifc8ba362dda7035d8fd0d40046a96f...
239115c3efcc54fb4f3f306032af40e03f5c66a8 authored about 2 years ago by Joel Sing <[email protected]>Removes more than 2000 instructions from the Go binary on linux/risv64.
Change-Id: I6db3e3b1c93...
9085ff585933d49261372b5a5fdf0686abc163c2 authored about 2 years ago by Joel Sing <[email protected]>For #53821
Change-Id: Ib10a745799e8bc0dc1d02a9c3e5d00b2842a9edd
Reviewed-on: https://go-review....
For #53003
Change-Id: I13a761daca8b433b271a1feb711c103d9820772d
Reviewed-on: https://go-review....
For #53821
Change-Id: I246b65ddb1171d2cab42f98092c64f20ecef392a
Reviewed-on: https://go-review....
Call libc wrappers directly rather than calling using syscall(2).
Updates golang/go#36435
Chan...
0d6a7f9d2eb2e5e9b96cd1b144d122f6eb5aac81 authored about 2 years ago by Tobias Klauser <[email protected]>
A condition check was added to parse.go in CL 405542 to prevent
usage of scaled operands on ppc6...
Previously the first operand of MSR could be $0, which would be
converted to the ZR register. Th...
leve --> level
Change-Id: Ia5ff46c79c4dda2df426ec75d69e8fcede909b47
GitHub-Last-Rev: e57cad22d9...
For #53821
Change-Id: I686fe81268f70acc6a4c3e6b1d3ed0e07bb0d61c
Reviewed-on: https://go-review....
Note that this changes the non-atomic operations in p.destroy() to atomic operations.
For #5382...
6e74c4116ae2825efab69cb8c60d078d76572a78 authored about 2 years ago by Andy Pan <[email protected]>For #53821
Change-Id: I1c8df255ce9e2345d4fa45bd4d1761b73b9fa064
Reviewed-on: https://go-review....
For #53821
Change-Id: I90ab52a45b7fb6b9e3ff1d6ea97251549306c7aa
Reviewed-on: https://go-review....
For #53821
Change-Id: I6ef90867e918d4907baa83c5a811f1f93e8c09a5
Reviewed-on: https://go-review....
Note that this changes a non-atomic operation to atomic operation in gcStart().
For #53821
Cha...
28e388589b48063047dbe7738bc1dfd4ed8e36bd authored about 2 years ago by Andy Pan <[email protected]>Updates #53821
Change-Id: Id579b2f8e48dfbe9f37e02d2fa8c94354f9887a4
Reviewed-on: https://go-rev...
And add some documentation for the debug query param.
Fixes #27737
Fixes #53971
Change-Id: I62...
3486735bf2ca08dcd84bb820fdcb0dea8102cf82 authored about 2 years ago by Sean Liao <[email protected]>