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
This patch reworks CL 394534 to fix things so that reading auxiliary
symbol info works properly ...
This unrolls the counter loop and simplifies the load/storing
of text/ciphertext and keys by usi...
They are usually needed when internally linking gcc code
compiled with -Os. These are typically ...
Avoid coercing the CR bit into a GPR register type argument, and
move the existing usage to CRx_...
This race is benign, but it still trips up the race detector, so turn
this into an atomic read.
...
There is a TODO comment that checking hidden visibility is
probably not the right thing to do. I...
For #52535
Change-Id: I6798a8379163497ebebcdadf836b8569735c282b
Reviewed-on: https://go-review....
The path building rework broke the enforcement of EKU nesting, this
change goes back to using th...
This is a port of the printer changes from CLs 402256 and 404397
in the syntax package to go/pri...
Without this change, the type parameter list "[P T | T]" is printed
as "[P T | T,]" in an attemp...
pthread_attr_init in glibc and musl libc already explicitly clear the
pthread_attr argument befo...
I've made it return 0 following what the other DataStart implementation
do when they do not foun...
Change-Id: Ia670d96ce4926c88d5d955d31dd89837b236a806
Reviewed-on: https://go-review.googlesource...
CL402374 default regabi for riscv64 but TestStmtLines
keep fail trybot within a tiny overlimit (...
The tests don't work on big-endian systems. This change handles more
of the tests added in CL 38...
Add support for ppc64le assembler to p256. Most of the changes
are due to the change in nistec i...
CL 402556 moved a special-cased package and broke the longtests.
Change-Id: I10b48e0912c1cee0ea...
86536b934a6a5d074f1539b3103d7bc86a97e869 authored over 2 years ago by Filippo Valsorda <[email protected]>
Use the batched reader to chunk large Read calls on windows to a max of
1 << 31 - 1 bytes. This ...
This will allow us to use crypto/internal/edwards25519/field from
crypto/ecdh to implement X2551...
So it's reachable from crypto/ecdsa and the upcoming crypto/ecdh.
No code changes.
For #52182
...
Fixes #50975
For #52182
Change-Id: I4a98d965436c7034877b8c0146bb0bd5b802d6fa
Reviewed-on: https...
For #52182
Change-Id: If9eace36b757ada6cb5123cc60f1e10d4e8280c5
Reviewed-on: https://go-review....
name old time/op new time/op delta
pkg:crypto/ecdsa goos:darwin goarch:...
For #52182
Change-Id: I8a68fda3e54bdea48b0dfe528fe293d47bdcd145
Reviewed-on: https://go-review....
The goal of this CL is to move the implementation to the new interface
with the least amount of ...
For #52182
Change-Id: I8d8b4c3d8299fbd59b0bf48e5c8b7b41c533a2cc
Reviewed-on: https://go-review....
For #52182
Change-Id: I4dedd8ed9f57f6fc394c71cd20c3b27c3ea29a95
Reviewed-on: https://go-review....
This enables publicationBarrier to be used as an intrinsic
on ppc64le/ppc64.
A call to this app...
c9f67c289faba2d3876bc166dbcc3b325d3c5ecc authored over 2 years ago by Lynn Boger <[email protected]>
Move the aesCipherGCM struct definition into cipher_asm.go, it is
needed to compile this file, b...
Discovered running recent changes against Google internal tests.
Change-Id: Ief51eae82c9f27d2a2...
fa603aaa4e7ac460aee2e2de509842b89152a418 authored over 2 years ago by Russ Cox <[email protected]>
CL 403935 changed the API for typecheck.DeclFunc, while CL 403851 was
submitted in the mean time...
No longer needed. We now always directly construct TFUNC types when
needed.
Change-Id: I1bb286c...
983906fa6db6df56e3912ba5c6be8fada00b232b authored over 2 years ago by Matthew Dempsky <[email protected]>
This CL reworks DeclFunc so that we no longer need to internally
create an ir.FuncType. The next...
Currently all typecheck.DeclFunc callers already construct a fresh new
ir.FuncType, which is the...
Unused since CL 403839.
Change-Id: Ib416778738523be11213c82a9e1a4cdaa8afb294
Reviewed-on: https...
Ident, ParenExpr, SelectorExpr, and StarExpr used to need to be
allowed as Ntypes for the old -G...
Type arguments are always type expressions, which are semantically
represented by Ntype.
In fac...
3abe8fe00bdc9ae35b54c36e5e73632346051315 authored over 2 years ago by Matthew Dempsky <[email protected]>
As with ir.CompLitExpr.Ntype, there's no need for
ir.TypeAssertExpr.Ntype in a pure-types2 world...
It's no longer needed, since type expressions are all evaluated by
types2. We can just use Node....
All callers were already using TypeNode to get an Ntype anyway, so
just push the TypeNode constr...
No longer needed now that IR construction uses types2.
Change-Id: If8b7aff80cd8472be7d87fd3a36d...
a6a49d128bbd67051c2246fbb9abae85c8601a5d authored over 2 years ago by Matthew Dempsky <[email protected]>
This method used to be needed so the legacy typechecker could report
type declaration loops, but...
Prep refactoring for the next CL, which removes Name.Ntype
entirely. Pulled out separately becau...
It's deprecated and no longer needed.
Simplify underlying code while here.
Change-Id: I2a68108...
53647a1994184e471988b53f1a98c02bd6c609df authored over 2 years ago by Matthew Dempsky <[email protected]>It's never assigned/initialized, so replace all uses with nil.
Change-Id: If224075aab925536114d...
14fed2c8f13b036472c024b185f00b1f8578a6a2 authored over 2 years ago by Matthew Dempsky <[email protected]>ir.NewField is always called with ntyp as nil.
Change-Id: Iccab4ce20ae70d056370a6469278e68774e6...
73fb829f5969c8370ca81bbbf67ad1ffa4c46b98 authored over 2 years ago by Matthew Dempsky <[email protected]>
The CPU profiler adds goroutine labels to its samples based on
getg().m.curg. That allows the pr...
MD5 is hopelessly broken, we already don't allow verification of
MD5 signatures, we shouldn't su...
We used to use SHA1 for content hashes, but CL 402595 changed
all the “don't care” hashes to cmd...
Fixes #52704
Change-Id: Ia2104c62d7ea9d67469144948b2ceb5d9f1313b3
Reviewed-on: https://go-revie...
In walkCompare, any ir.OCONVNOP was removed from both operands. So when
constructing assignments...
Add tests to test that -asan in Go can detect the error memory access
to the global objects.
Up...
d544591d72ade40d34d7a8ee70e7239ae63b4116 authored over 2 years ago by fanzha02 <[email protected]>Fixes #52673
Change-Id: Ib2faa5a669c05778fc6beb38c3e63d558af9b2be
Reviewed-on: https://go-revie...
Change-Id: I718ad2fd98a3d30087e169abdd5ba3cc4f4b36ba
Reviewed-on: https://go-review.googlesource...
Since when its only usage is in maplit, and its body is simple enough to
be inlined directly at ...
The only fields of the go list output that require BuildInfo to be
computed are the Stale and St...
Using the CR bit register arguments makes it more easy to
understand which condition and CR fiel...
It is hit ~70k times building go.
This make the go binary, 0.04% smaller.
I didn't included benc...
Backport the recommended changes suggested in CL 403937.
Change-Id: I3ac29c90977e33899881838825...
fbb47e81c1f24a8b9cb84430e9561ace60580af1 authored over 2 years ago by Robert Griesemer <[email protected]>
This is a port of CL 402256 from the syntax package to go/parser
with adjustments because of the...
Fixes #51115
Change-Id: I3c5296e4adc71c1c1b1808a45abd4801ae43465a
GitHub-Last-Rev: 4c197acd51e1...
This is already used in AddrPort.String.
name old time/op new ...
037b209ae3e0453004a4d57e152aa522c56f79e4 authored over 2 years ago by Tobias Klauser <[email protected]>
With this patch, -asan option can detect the error memory
access to global variables.
So this p...
1b0f9fbb67ad3708665675c9f600608dc9b375fa authored over 2 years ago by fanzha02 <[email protected]>
This shows up in a few crypto functions, and other
assorted places.
Change-Id: I5a7f4c25ddd4a64...
c570f0eda2c6d250c58028eb9d1e45061f607b67 authored over 2 years ago by Paul E. Murphy <[email protected]>
These implementations will inline to the lower-level primitives,
but they hide the underlying va...
This entrypoint was missed in CL 349600, and the behavior happened not
to be covered by existing...
This reverts CL 401775.
Reason for revert: broke build.
Change-Id: I4f6f2edff1e4afcf31cd90e26d...
265b5fd2f1c6d3379893b58940dde48e156ce531 authored over 2 years ago by Bryan Mills <[email protected]>
With this patch, -asan option can detect the error memory
access to global variables.
So this p...
f52b4ec63d6ce5c4eb9edcb81c3a0661e6f53da0 authored over 2 years ago by fanzha02 <[email protected]>
LLVM has SystemZ ThreadSanitizer support now [1], this patch integrates
it with golang. The bigg...
This CL implement archFloat32FromReg and archFloat32ToReg
need for riscv64 due to differences in...
This is a port of CL 402255 from the syntax package to go/parser
with adjustments because of the...
This CL improves the annotation documentation of the debugCallV2 function
for arm64.
Change-Id:...
4f898840d1e81955231e42a0c5aee29065568196 authored over 2 years ago by eric fang <[email protected]>
methodName was brittle in that it assumed exactly where
in the call stack the exported Value met...
When we convert a type to a shaped interface type, we are not able
to recognize the itab. So pas...
CL 400795, which uses the runtime/internal/atomic package in trace.go,
raced against CL 397014 r...
This reverts commit a41e37f56a4fc2523ac88a76bf54ba3e45dcf533, and
updates the ASM usage to be go...
The profiles for memory allocations, sync.Mutex contention, and general
blocking store their dat...
When the CPU profiler and execution tracer are both active, report the
CPU profile samples in th...
The goroutine profile needs to stop the world to get a consistent
snapshot of all goroutines in ...
For #33250
Change-Id: Ic7aa74b1bb5da9c4319718bac96316b236cb40b2
Reviewed-on: https://go-review....
The race annotations for goroutine label maps covered the special type
of read necessary to crea...
Currently the consistent total allocation stats are managed as uintptrs,
which means they can ea...
Ran, in src and src/cmd:
go get -u golang.org/x/sys
go mod vendor
go mod tidy
This...
bccce9028996502e62a92255d79d5e003fbae63b authored over 2 years ago by Ian Lance Taylor <[email protected]>Fixes #52633
Change-Id: I3f19804cd7c00cee7e365062402c264d84b596c1
Reviewed-on: https://go-revie...
Upper bits of registers for uint8/uint16 are junk. Make sure we
mask those off before using LZCN...
After an analysis, I figured that a way to do it could be to check, after
the call to readEncode...
Support for operating system versions requiring this fallback path was
dropped from recent Go ve...
Found via staticcheck. Unused as of CL 357489.
Change-Id: I3aa409994ba4388912ac7e7809168529a5b6...
356c8c54521efb02cc2a103ac2b80c77f54b4bcd authored over 2 years ago by Kale Blankenship <[email protected]>
Change-Id: I898733dff529a40eeec9f9db2a0a59a6757c3827
Reviewed-on: https://go-review.googlesource...
Fixes #52666.
Updates #43724.
Updates #43947.
Change-Id: I72cb585036b7e93cd7adbff318b400586ea97...
61a585a32cc44cb1d8d00d12dcf101a61f145d69 authored over 2 years ago by Bryan C. Mills <[email protected]>
I landed the bottom CL of my stack without rebasing or retrying trybots,
but in the rebase "esca...
This change also adds an end-to-end test for SetMemoryLimit as a
testprog.
Fixes #48409.
Chang...
f01c20bf2ba889e5c9e3565175cc4276f9c11516 authored over 2 years ago by Michael Anthony Knyszek <[email protected]>
Currently the runtime's scavenging algorithm involves running from the
top of the heap address s...
This change does everything necessary to make the memory allocator and
the scavenger respect the...
This change makes the memory limit functional by including it in the
heap goal calculation. Spec...
As of the last CL, the heap trigger is computed as-needed. This means
that some of the niceties ...
As it stands, the heap goal and the trigger are set once by
gcController.commit, and then read o...
Currently the maximum trigger calculation is totally incorrect with
respect to the comment above...
Fundamentally, all of these memstats exist to serve the runtime in
managing memory. For the sake...
The inconsistent heaps stats in memstats are a bit messy. Primarily,
heap_sys is non-orthogonal ...