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 code iterates through the func table to find a function with
a given file and line number. T...
For a non-generic defined type, we generate its type descriptor
symbol only in the defining pack...
With the previous CL the compiler emits an unlinkable object if
the -p flag is not specified. It...
Fixes #49193.
Change-Id: Ief31ea6b3dddf9452efb94763c89b8639aa3ce9e
Reviewed-on: https://go-revi...
The importer type param index used package name type parameter key,
causing type parameters to b...
Restructure TestCPUProfileMultithreadMagnitude so it will run again with
a longer duration on fa...
For unlinkable object the link will fail, but it opens the output
file in writable mode first th...
The glibc loader explicitly sets the first doubleword on the stack (R1)
to $0 to indicate it was...
The TPIDR macro in tls_arm64.h is not used anywhere, so remove it
to reduce confusion.
Change-I...
817d6ea2b3dd08d3594341ca5ab7932c102694ad authored almost 3 years ago
Symbol's content hash used to depend on package path expansion in
symbol names, so we have speci...
CL 391014 requires the compiler to be invoked with the -p flag, to
specify the package path. Peo...
This makes the short link discoverable.
Change-Id: I9a2f091652bc096feebbbd79a854aa68efe702bb
Re...
Change-Id: Icff75d5fbbeae7aa5003a848ea49b79ddde9933a
GitHub-Last-Rev: 489a69fc6bb02a57689a43ae8f...
ParseMultipartForm relies on a valid multipartReader, if the request body is nil,
the multipartR...
For #46279
For #51713
Change-Id: I444f309999bf5576449a46a9808b23cf6537e7dd
Reviewed-on: https:/...
Same information is provided from the fields of the embedded
goobj.Reader, and are accessed thro...
Change-Id: Icc5240db7447846061d0d81f5e15f788758d4d64
Reviewed-on: https://go-review.googlesource...
Also change the relevant test to be tested on the linux-arm64 platform
as well.
Fixes #49789
C...
a8f019e956db40e9846e635a622489e356cb3c63 authored almost 3 years agoLess text and improves codegen a bit.
compilecmp on ARM64:
runtime
(*gcWork).putFast 160 -> 14...
Now that the go/types and types2 test files end in .go we must
avoid trying to format them as th...
For #46794
Change-Id: I19edc19640a2dfa6bc7504dd8e1742a261ba29f1
Reviewed-on: https://go-review....
First law of cmd/compile frontend development: thou shalt not rely on
types.Sym.
This CL replac...
adae6ec542c3287ffe643093a0f61c9871f4e238 authored almost 3 years ago
The type checker implements additional built-in functions (assert
and trace) that are useful for...
Also, manually renamed some irregularly numbered files to
make their file names more regular.
W...
4dc5553930a7ead64e7cc62752907625642011d3 authored almost 3 years ago
We don't need the distinction anymore.
Also, made corresponding adjustments to check_test.go.
C...
82b810f79cda7e6be28fa0b2675bb4f3ed294d5a authored almost 3 years ago
Change-Id: I6f0cb850ee23184380c03a53c12425c350aa16e3
Reviewed-on: https://go-review.googlesource...
Use it so set the language version. Adjust relevant tests.
Fixes #49074.
Change-Id: Ida6d0002b...
3395f74d865108e42eec677f69a24e8b2ccbbefe authored almost 3 years agoThe unified build will become the norm and the excluded tests run now.
Change-Id: I0f0873eb7348...
6be52abfa1aea30b33c1e2db27ea92e954661aa4 authored almost 3 years ago
This change fine-tunes tracing output and adds additional
descriptions for delayed actions that ...
This addresses a situation where Named.fromRHS is nil which
is causing validType to panic when t...
Fixes #51533.
Change-Id: Ia41a2e96d1ef94f740887e3167e6396e4f52035c
Reviewed-on: https://go-revi...
With all the unification/type-inference fixes in place now, we
should not see stack overflows an...
Fixes #51616.
Change-Id: I388a6d91d9bfe5410b5eb32e1606257ec668d618
Reviewed-on: https://go-revi...
Fixes #51581.
Change-Id: I3232428edd7dd86f2930af950fb5841f7394c4e5
Reviewed-on: https://go-revi...
These fields were used for tracking the last scope/position that an
identifier was declared, so ...
While building Go from source, workspace mode should be disabled,
even if the external environme...
The ELF compression header(Chdr) has Addralign field that is set to the
alignment of the uncompr...
In last cycle we developed register ABI for ARM64, enabled by
default as a GOEXPERIMENT. This cy...
To pick up CL 394234.
Done by
go get -d golang.org/x/tools@c717623e3197
go mod tidy
go mod v...
CL 342350 fixed deadcode panic with dead hidden closures. However, a
closure may contains nested...
Tweak the (*Data).parseUnits method to check a bit more carefully for
buffer read errors, so as ...
When developing register ABI, for early testing the compiler
recognized a few magic names to tri...
Clarify that username can't contain a colon.
See https://go.dev/play/p/aM25UHC6n98
Change-Id: I...
7eaad60737bc507596c56cec4951b089596ccc9e authored almost 3 years agoFixes #50916.
Change-Id: I51f3269b7a0793a3002eef83de1d871111fc3cdc
GitHub-Last-Rev: fc8c183ac7f...
CL 372774 is for reflect, this CL is for internal/reflectlite.
Updates #50208
Change-Id: Ib7e8...
47efdcbf4c40a718ba6e1c28b8bb7b73e729f2b0 authored almost 3 years ago
This CL adds some initial support for spilling and reloading
registers in the new ABI for RISCV6...
Change-Id: I4fea927b9d34e7bf382ddf148a787c1558176f2f
GitHub-Last-Rev: ff1fa78a3601243092f84a69e7...
This CL adds register information for riscv64
Updates #40724
Change-Id: If2275d9135596ff856d09...
caf5cd9da8b08e786442eeef3d3a3a8e4492d3dd authored almost 3 years ago
CL 392918 changed n.Diag() to always return false, we can now get rid
of all its deadcode paths....
CL 392918 changed t.Broke() to always return false, we can now get rid
of all its deadcode paths...
For #51483
Change-Id: I4546c20cf968b595020a1eba888fe1d9a1c6cfc5
Reviewed-on: https://go-review....
The -trimpath flag has a strong effect on the resulting binary:
in particular, it determines whe...
Also update cmd/dist to avoid setting gcflags and ldflags explicitly
when the set of flags to be...
This fixes a build failure due to inability to locate the "vet" tool
when the test binary is bui...
Previously, we called path.Clean on the value of runtime.GOROOT() even
if it was empty, which wo...
This fixes many (but not all) of the tests that currently fail
(due to a bogus path reported by ...
Previously, runtime.GOROOT() would return the string "go" in a binary
build with -trimpath. This...
In the beginning the Go compiler was in C, and C had a function
'getgoroot' that returned GOROOT...
Invoking a VCS tool requires that the VCS tool be installed, and also
adds latency to build comm...
When the test binary is built with the -trimpath flag,
runtime.GOROOT() is invalid, and must not...
For #51698
Change-Id: Ifc5bef2cc41b163644ac80ace7c1470c8a130467
Reviewed-on: https://go-review....
They should not share a shape with regular pointers. We could coalesce
multiple pointer-to-not-i...
go get github.com/google/pprof@latest
go mod vendor
Plus a tiny change to the pprof command...
7e5804cb7014bf3154542a3d2afc68c3a61b7452 authored almost 3 years ago
Change-Id: I3996fb31789a1f8559348e059cf371774e548a8d
Reviewed-on: https://go-review.googlesource...
mkalldocs.sh runs gofmt on the output, but the test does not.
If go help documentation and gofmt...
This is an in-process (non-exec'ing) replacement for cmd/internal/diff.
It uses an O(n log n) al...
In last cycle we developed register ABI for ARM64, enabled by
default as a GOEXPERIMENT. This cy...
cmd/go/internal/cfg duplicates many of the fields of
internal/buildcfg, but initializes them fro...
With the previous CL, internal/abi.IntArgRegs and FloatArgRegs
is controlled by RegabiArgs (or a...
regabireflect goexperiment was helpful in the register ABI
development, to control code paths fo...
Change-Id: Ib3f92ea8371a13471acf9304dc9db66c0aae9bf4
Reviewed-on: https://go-review.googlesource...
Add my current public email in both A+C, but keep old one too.
Add my @changkun.de email to CONT...
Fixes #51602. Previous test would not run in a pseudo-console (ConPTY).
New test avoids taskkil...
f02108636c3b098b3153e90b6478e292628ac4f9 authored almost 3 years ago
TestDirentRepeat fails on FreeBSD 11, but seems to pass on newer
versions. Go 1.18 is the last r...
pthread_attr_init on freebsd properly initializes the pthread_attr,
there is no need to zero it ...
Use bytealg.IndexByteString in UTF16FromString instead of an open-coded
loop.
Change-Id: I36644...
489102de18cff38d1b12d09eeb7e60af42492d63 authored almost 3 years agoFixes #50663
Change-Id: I18754922bf139049443c0395eaa1606049df1331
GitHub-Last-Rev: 57ff5ddfe39c...
Change-Id: Ide2567dc66e55880b938b5814879f012c88159b8
Reviewed-on: https://go-review.googlesource...
Fixes #51695
Change-Id: Icfe9d26ecc28a7db9040d50d4661cf9e8245471e
Reviewed-on: https://go-revie...
Change-Id: Ief4b5e1c2d1002392901124c0694afe58c271573
GitHub-Last-Rev: e3b8a60377becfc9c30178d7ae...
Generated with x/build/cmd/updatestd.
Updates #36905.
Change-Id: I5d12dfc3b49c1476ce4b8d4cbeb3...
79861be2059e014ca0647de3be22e7c341e61e20 authored almost 3 years agoFor #51483.
Change-Id: I6150fdf97763d858e9ab012e807515da3387c25f
Reviewed-on: https://go-review...
Updates #51483.
Change-Id: I13d8e58b30639d8a5ed3c9e8b72c8bbaa6a6f1cc
Reviewed-on: https://go-re...
When paths are trimmed, the reported file locations begin with the
package import path (not GORO...
(Primarily from Josh)
Fixes #51759
Co-authored-by: Josh Bleecher Snyder <[email protected]>
...
When ASan is enabled, treat conversions to unsafe.Pointer as
an escaping operation. In this way,...
This reverts commit 5fd0ed7aaf39f783ea6f505a3f2ac7d9da7cb03b.
Reason for revert: <The internal ...
599d5395ebb41eb17bbe77e75d12ed0d13294767 authored almost 3 years ago
IsIdentRune may be installed by a client of the scanner. If the
installed function accepts EOF a...
Some systems set an artificially low soft limit on open file count,
for compatibility with code ...
This can occur on NixOS.
Change-Id: I0571b0cc5345d01396dca6a4116aa1024c390a5a
Reviewed-on: http...
CL 376356 changes syscall.Syscall to call ABIInternal entersyscall
and exitsyscall. As mentioned...
The only remaining use for typecheckdef after CL 393256 is to
typecheck the ONAME node that repr...
Update the vendored golang.org/x/tools to pick up the fix for #51717.
This also picks up some c...
8d4da2c7b582783f30f9c93c2bcb0641748103e2 authored almost 3 years ago
Allows mapclear optimization to trigger in more cases, including
some generic instantiations.
F...
e5e638e512e1ec27673d5e01e99eb870899be7f7 authored almost 3 years agoLeft over from CL 392414.
Change-Id: I32ff1d660ba03d6c2005ad247e2129daf83aac04
Reviewed-on: htt...
When plugin is used, we already mark all exported methods
reachable. However, when the plugin an...
typecheckdef used to be used to handle references to package-level
declarations that hadn't yet ...
OIOTA used to be used to represent "iota" in the pre-typechecked IR,
before we knew whether it w...
Type.Broke and Node.Diag were used in the legacy typechecker to allow
reporting of multiple erro...
Unified IR currently relies on typecheck to diagnose invalid
//go:notinheap conversions, which p...