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

debug/gosym: skip non-real functions in LineToPC lookup

The code iterates through the func table to find a function with
a given file and line number. T...

dd211cf039d5a3b57d2188751eca49ad816ed395 authored over 2 years ago by Cherry Mui <[email protected]>
cmd/compile: don't mark non-generic defined type symbol dupok

For a non-generic defined type, we generate its type descriptor
symbol only in the defining pack...

909a7a32138367abec92434872695fb65aa9b7d1 authored over 2 years ago by Cherry Mui <[email protected]>
cmd/compile: default to -p=main for main package

With the previous CL the compiler emits an unlinkable object if
the -p flag is not specified. It...

20ba3f5de52bf8665d35c86111312274f6a4d1be authored over 2 years ago by Cherry Mui <[email protected]>
go/types, types2: remove uses of "type list" and "operational type" (cleanup)

Fixes #49193.

Change-Id: Ief31ea6b3dddf9452efb94763c89b8639aa3ce9e
Reviewed-on: https://go-revi...

1e34c00b4c84a32423042e3d03397277e6c3573c authored over 2 years ago by Robert Griesemer <[email protected]>
cmd/compile/internal/importer: key tparams by Package instead of pkgname

The importer type param index used package name type parameter key,
causing type parameters to b...

fd1b5904ae7cc76eefd94d315f92265da5b81b14 authored over 2 years ago by Robert Findley <[email protected]>
runtime/pprof: rerun magnitude test on failure

Restructure TestCPUProfileMultithreadMagnitude so it will run again with
a longer duration on fa...

212bda066996d1ed06e738c8b408bb2b65896064 authored over 2 years ago by Rhys Hiltner <[email protected]>
cmd/link: write output in temp dir in TestUnlinkableObj

For unlinkable object the link will fail, but it opens the output
file in writable mode first th...

ac3efc83e6747c3e7e56250774332cec5d2862f4 authored over 2 years ago by Cherry Mui <[email protected]>
runtime: make static/dynamic startup detection work with musl on ppc64le

The glibc loader explicitly sets the first doubleword on the stack (R1)
to $0 to indicate it was...

946167906ed8646c433c257b074a10e01f0a7dab authored over 2 years ago by Paul E. Murphy <[email protected]>
runtime: delete useless TPIDR macro on arm64

The TPIDR macro in tls_arm64.h is not used anywhere, so remove it
to reduce confusion.

Change-I...

817d6ea2b3dd08d3594341ca5ab7932c102694ad authored over 2 years ago by eric fang <[email protected]>
cmd/link: simplify content hashed symbol handling

Symbol's content hash used to depend on package path expansion in
symbol names, so we have speci...

77680a064491dd54bd61ef0663276d6f64f66153 authored over 2 years ago by Cherry Mui <[email protected]>
cmd/compile, cmd/link: produce unlinkable object when compile without -p

CL 391014 requires the compiler to be invoked with the -p flag, to
specify the package path. Peo...

e8534640557939755917edc3e6afc16d93b2e70b authored over 2 years ago by Cherry Mui <[email protected]>
cmd/compile: add short self-link to ABI spec

This makes the short link discoverable.

Change-Id: I9a2f091652bc096feebbbd79a854aa68efe702bb
Re...

63ea27e9e02e9ddf5845a32082013e7344134fd7 authored over 2 years ago by Austin Clements <[email protected]>
A+C: change email of Ben Shi (individual CLA)

Change-Id: Icff75d5fbbeae7aa5003a848ea49b79ddde9933a
GitHub-Last-Rev: 489a69fc6bb02a57689a43ae8f...

38707059ab76a28a4d156797deada7626b9bd13c authored over 2 years ago by Ben Shi <[email protected]>
net/http: fix nil body causing ParseMultipartForm to panic

ParseMultipartForm relies on a valid multipartReader, if the request body is nil,
the multipartR...

eca0d44cec58951fb716e540dcc21c0f527686d5 authored over 2 years ago by hopehook <[email protected]>
os: skip TestOpenFileLimit on openbsd/mips64

For #46279
For #51713

Change-Id: I444f309999bf5576449a46a9808b23cf6537e7dd
Reviewed-on: https:/...

96567fb3ccdc8d8c052606112db7b39abd725b59 authored over 2 years ago by Ian Lance Taylor <[email protected]>
cmd/link: delete oReader.flags

Same information is provided from the fields of the embedded
goobj.Reader, and are accessed thro...

42d2d5e2b575a034b43bc1ab4e6b948a1670ef9f authored over 2 years ago by Cherry Mui <[email protected]>
go/types, types: add additional generic cases for the Selections API

Change-Id: Icc5240db7447846061d0d81f5e15f788758d4d64
Reviewed-on: https://go-review.googlesource...

2da1e47fb06bef29a99eaa1395ef1f7d11b05929 authored over 2 years ago by Robert Findley <[email protected]>
cmd/link: add DT_NEEDED for all 64-bit ELF dynimplib

Also change the relevant test to be tested on the linux-arm64 platform
as well.

Fixes #49789

C...

a8f019e956db40e9846e635a622489e356cb3c63 authored over 2 years ago by Byoungchan Lee <[email protected]>
runtime: combine wbuf checks in tryGetFast and putFast

Less text and improves codegen a bit.

compilecmp on ARM64:

runtime
(*gcWork).putFast 160 -> 14...

86c8075675ed74c1f404894242c26b99800f1639 authored over 2 years ago by Jakub Ciolek <[email protected]>
cmd/gofmt: don't descend into /testdata directories in tests (fix long builders)

Now that the go/types and types2 test files end in .go we must
avoid trying to format them as th...

4b6debaf2894757e7ae9ad31f52f6a1279c94e90 authored over 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: add an assertion that named type origin is idempotent

For #46794

Change-Id: I19edc19640a2dfa6bc7504dd8e1742a261ba29f1
Reviewed-on: https://go-review....

4a46e6e44c33b49a5953476669ce5943717f7e9a authored over 2 years ago by Robert Findley <[email protected]>
cmd/compile: replace Type.OrigSym with Type.OrigType

First law of cmd/compile frontend development: thou shalt not rely on
types.Sym.

This CL replac...

adae6ec542c3287ffe643093a0f61c9871f4e238 authored over 2 years ago by Matthew Dempsky <[email protected]>
go/types, types2: remove predecl. test functions from ordinary tests

The type checker implements additional built-in functions (assert
and trace) that are useful for...

29866aa2b6a6a48672a386d05b53779e768c13d6 authored over 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: rename testfile suffixes from .src to .go

Also, manually renamed some irregularly numbered files to
make their file names more regular.

W...

4dc5553930a7ead64e7cc62752907625642011d3 authored over 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: rename testfile suffixes from .go2 to .go

We don't need the distinction anymore.
Also, made corresponding adjustments to check_test.go.

C...

82b810f79cda7e6be28fa0b2675bb4f3ed294d5a authored over 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: use new flag mechanims to handle importC test

Change-Id: I6f0cb850ee23184380c03a53c12425c350aa16e3
Reviewed-on: https://go-review.googlesource...

101d14e3b315e6990f02bef2044a7021a9ca9ea0 authored over 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: implement flexible flag-setting mechanism for tests

Use it so set the language version. Adjust relevant tests.

Fixes #49074.

Change-Id: Ida6d0002b...

3395f74d865108e42eec677f69a24e8b2ccbbefe authored over 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: remove mechanism to exclude tests for unified build

The unified build will become the norm and the excluded tests run now.

Change-Id: I0f0873eb7348...

6be52abfa1aea30b33c1e2db27ea92e954661aa4 authored over 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: improved tracing output throughout (debugging support)

This change fine-tunes tracing output and adds additional
descriptions for delayed actions that ...

f2cdc6d1672fb335ac56f9c7b824071f1e5ba545 authored over 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: ensure we have a fully resolved type in validType

This addresses a situation where Named.fromRHS is nil which
is causing validType to panic when t...

7751883379621d8ecbf7e4920af0a81c31f2c078 authored over 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: better error msg when using fallthrough in type switch

Fixes #51533.

Change-Id: Ia41a2e96d1ef94f740887e3167e6396e4f52035c
Reviewed-on: https://go-revi...

5df3f491acc9188653e2793f0e83e72a091c1931 authored over 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: re-enable panic if unification stack-overflows

With all the unification/type-inference fixes in place now, we
should not see stack overflows an...

efbff6e43bee73787bbf45a1f038e2f3bf0c8bd9 authored over 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: alias type declarations may refer to constraint types

Fixes #51616.

Change-Id: I388a6d91d9bfe5410b5eb32e1606257ec668d618
Reviewed-on: https://go-revi...

3ebb1720d92f194d23ff9ba838715cfcf8fc90e1 authored over 2 years ago by Robert Griesemer <[email protected]>
go/types, types2: factor out isInterface(x) && !isTypeParam(x) (cleanup)

Fixes #51581.

Change-Id: I3232428edd7dd86f2930af950fb5841f7394c4e5
Reviewed-on: https://go-revi...

63c7614fd05052009c1eee061964241e4d73c6a1 authored over 2 years ago by Robert Griesemer <[email protected]>
cmd/compile/internal/types: remove Sym.Block and Sym.Lastlineno

These fields were used for tracking the last scope/position that an
identifier was declared, so ...

79103faf2d85d60c14702329964dc390e3057603 authored over 2 years ago by Matthew Dempsky <[email protected]>
build: force GOWORK=off in make.{bash,bat,rc}

While building Go from source, workspace mode should be disabled,
even if the external environme...

d8ce7ae49108dda3b223694df7ebe8f56a1c3032 authored over 2 years ago by Dmitri Shuralyov <[email protected]>
cmd/link: set alignment of compressed section based on arch

The ELF compression header(Chdr) has Addralign field that is set to the
alignment of the uncompr...

b9d6cea5016835ca5521469631e55f5c489aa0e7 authored over 2 years ago by Meng Zhuo <[email protected]>
internal/abi, internal/buildcfg: always enable register ABI on PPC64

In last cycle we developed register ABI for ARM64, enabled by
default as a GOEXPERIMENT. This cy...

b810a74da3c4de519433208163ea257ab33b2d24 authored over 2 years ago by Cherry Mui <[email protected]>
cmd/vendor: update golang.org/x/tools to c717623e3197

To pick up CL 394234.

Done by
go get -d golang.org/x/tools@c717623e3197
go mod tidy
go mod v...

0aaa55526e3a58fd3ed1929421d57d3f0ef11515 authored over 2 years ago by Cherry Mui <[email protected]>
cmd/compile: fix panic with nested dead hidden closures

CL 342350 fixed deadcode panic with dead hidden closures. However, a
closure may contains nested...

129a2fcf6c38e83566511304702eada696ed486b authored over 2 years ago by Cuong Manh Le <[email protected]>
debug/dwarf: better error detection in parseUnits

Tweak the (*Data).parseUnits method to check a bit more carefully for
buffer read errors, so as ...

627d6d6d5542a1ccf956a16608b0bc820568c09b authored over 2 years ago by Than McIntosh <[email protected]>
cmd/compile: remove regabi magic names

When developing register ABI, for early testing the compiler
recognized a few magic names to tri...

3f8a6941553ae007638335cb6af0b6a702adf64f authored over 2 years ago by Cherry Mui <[email protected]>
net/http: flesh out Request.SetBasicAuth docs a bit

Clarify that username can't contain a colon.
See https://go.dev/play/p/aM25UHC6n98

Change-Id: I...

7eaad60737bc507596c56cec4951b089596ccc9e authored over 2 years ago by Brad Fitzpatrick <[email protected]>
README.md: update links to go.dev

Fixes #50916.

Change-Id: I51f3269b7a0793a3002eef83de1d871111fc3cdc
GitHub-Last-Rev: fc8c183ac7f...

6673d5d701d224919d910e88a73b6f69472c9ed1 authored over 2 years ago by Jero Bado <[email protected]>
internal/reflectlite: fix name of type parameter

CL 372774 is for reflect, this CL is for internal/reflectlite.

Updates #50208

Change-Id: Ib7e8...

47efdcbf4c40a718ba6e1c28b8bb7b73e729f2b0 authored over 2 years ago by zhouguangyuan <[email protected]>
cmd/compile/internal/riscv64: add initial spill support

This CL adds some initial support for spilling and reloading
registers in the new ABI for RISCV6...

4d2da99498ff55700eeddf09d603fa0618c8b55c authored over 2 years ago by Meng Zhuo <[email protected]>
cmd/compile: pre init shapeMap

Change-Id: I4fea927b9d34e7bf382ddf148a787c1558176f2f
GitHub-Last-Rev: ff1fa78a3601243092f84a69e7...

fa8efc13478ec2c39704e9662a06869e22b5f87c authored over 2 years ago by cuiweixie <[email protected]>
cmd/compile/internal: add ABI register info for riscv64

This CL adds register information for riscv64

Updates #40724

Change-Id: If2275d9135596ff856d09...

caf5cd9da8b08e786442eeef3d3a3a8e4492d3dd authored over 2 years ago by Meng Zhuo <[email protected]>
cmd/compile: remove n.Diag() deadcode paths

CL 392918 changed n.Diag() to always return false, we can now get rid
of all its deadcode paths....

7ca6902c171b336d98adbb103d701a013229c806 authored over 2 years ago by Cuong Manh Le <[email protected]>
cmd/compile: remove t.Broke() deadcode paths

CL 392918 changed t.Broke() to always return false, we can now get rid
of all its deadcode paths...

da9649e6d9ddfc2677c289f8db3e0c02998f02e0 authored over 2 years ago by Cuong Manh Le <[email protected]>
cmd/go: diagnose unset GOROOT when built with -trimpath

For #51483

Change-Id: I4546c20cf968b595020a1eba888fe1d9a1c6cfc5
Reviewed-on: https://go-review....

cc2e7f36bad66c24eecf7868e7ac35c74455b212 authored over 2 years ago by Bryan C. Mills <[email protected]>
cmd/go: include the "-trimpath" flag in the stamped build settings

The -trimpath flag has a strong effect on the resulting binary:
in particular, it determines whe...

e1fbf13896feb0b55050c22f5be0746f8a2ba01b authored over 2 years ago by Bryan C. Mills <[email protected]>
cmd/go: stamp build settings for binaries in cmd

Also update cmd/dist to avoid setting gcflags and ldflags explicitly
when the set of flags to be...

0433f5770b9c92b06d5a15c8d2a70f00597faac4 authored over 2 years ago by Bryan C. Mills <[email protected]>
cmd/go/internal/test: ensure that build.ToolDir is accurate in tests

This fixes a build failure due to inability to locate the "vet" tool
when the test binary is bui...

d68615f64b0d7c1e886f4b8c1267ecc1c4da76ad authored over 2 years ago by Bryan C. Mills <[email protected]>
go/build: avoid setting Default.GOROOT when runtime.GOROOT() is empty

Previously, we called path.Clean on the value of runtime.GOROOT() even
if it was empty, which wo...

6378c0e753b75089611c8ca973b6e1777cf5aff8 authored over 2 years ago by Bryan C. Mills <[email protected]>
internal/testenv: add GOROOT and use it to fix tests broken with -trimpath

This fixes many (but not all) of the tests that currently fail
(due to a bogus path reported by ...

58631ba54f45506f2f178bb01d22273e7dfba674 authored over 2 years ago by Bryan C. Mills <[email protected]>
cmd/link: avoid stamping runtime.defaultGOROOT when paths are being trimmed

Previously, runtime.GOROOT() would return the string "go" in a binary
build with -trimpath. This...

9ac75d39514402d9b314e758524dcc28612b8937 authored over 2 years ago by Bryan C. Mills <[email protected]>
internal/buildcfg: initialize GOROOT to runtime.GOROOT

In the beginning the Go compiler was in C, and C had a function
'getgoroot' that returned GOROOT...

9a932c5712bebb2620e0719a93773403f4fb563d authored over 2 years ago by Bryan C. Mills <[email protected]>
cmd/go: avoid stamping VCS metadata in test binaries

Invoking a VCS tool requires that the VCS tool be installed, and also
adds latency to build comm...

67f6b8c98715f265f38aff4052356ef6e6b35dfe authored over 2 years ago by Bryan C. Mills <[email protected]>
time: fix zoneinfo.zip locating logic when built with -trimpath

When the test binary is built with the -trimpath flag,
runtime.GOROOT() is invalid, and must not...

9465878114232d4a9cd755fee9241fff1d63bbea authored over 2 years ago by Bryan C. Mills <[email protected]>
sort: generate generic variants with E rather than Elem

For #51698

Change-Id: Ifc5bef2cc41b163644ac80ace7c1470c8a130467
Reviewed-on: https://go-review....

a682a5c711097378a72e6cf3d498832e813a14e8 authored over 2 years ago by Ian Lance Taylor <[email protected]>
cmd/compile: pointers to notinheap types need their own shape

They should not share a shape with regular pointers. We could coalesce
multiple pointer-to-not-i...

fcf6afb82dc1e9f80a6260467026adc11d5c9529 authored over 2 years ago by Keith Randall <[email protected]>
cmd: update vendored pprof

go get github.com/google/pprof@latest
go mod vendor

Plus a tiny change to the pprof command...

7e5804cb7014bf3154542a3d2afc68c3a61b7452 authored over 2 years ago by Heschi Kreinick <[email protected]>
all: delete ARM64 non-register ABI fallback path

Change-Id: I3996fb31789a1f8559348e059cf371774e548a8d
Reviewed-on: https://go-review.googlesource...

9f252a0462bd8c279beec56d1538e8a6c26c44c5 authored over 2 years ago by Cherry Mui <[email protected]>
cmd/go: run 'go help documentation' through gofmt in TestDocsUpToDate

mkalldocs.sh runs gofmt on the output, but the test does not.
If go help documentation and gofmt...

0a49f706e172443d817cfb3d44e5b366da1cc72a authored over 2 years ago by Russ Cox <[email protected]>
internal/diff: add, replacing cmd/internal/diff

This is an in-process (non-exec'ing) replacement for cmd/internal/diff.
It uses an O(n log n) al...

7747c33a41491be74da65b116718f4df7a2f8337 authored over 2 years ago by Russ Cox <[email protected]>
internal/abi, internal/buildcfg: always enable register ABI on ARM64

In last cycle we developed register ABI for ARM64, enabled by
default as a GOEXPERIMENT. This cy...

8ff42d1bb1919b38e0d852618168f18d33db866b authored over 2 years ago by Cherry Mui <[email protected]>
internal/buildcfg: extract logic specific to cmd/go

cmd/go/internal/cfg duplicates many of the fields of
internal/buildcfg, but initializes them fro...

2c92b2349a0b735a447b07e6209f311ece8de91c authored over 2 years ago by Bryan C. Mills <[email protected]>
reflect, runtime: drop RegabiArgs conditions

With the previous CL, internal/abi.IntArgRegs and FloatArgRegs
is controlled by RegabiArgs (or a...

d8bee94be2fc2afa6418f0bf2d474c103d38c094 authored over 2 years ago by Cherry Mui <[email protected]>
all: delete regabireflect goexperiment

regabireflect goexperiment was helpful in the register ABI
development, to control code paths fo...

3684abbf6c82d7f151a30cce6f435ee203908b2c authored over 2 years ago by Cherry Mui <[email protected]>
syscall: use bytealg.IndexByte in clen

Change-Id: Ib3f92ea8371a13471acf9304dc9db66c0aae9bf4
Reviewed-on: https://go-review.googlesource...

12eca21f1c1c0f048b985a2a8545fb304b4383f6 authored over 2 years ago by Tobias Klauser <[email protected]>
A+C: update Changkun Ou's email

Add my current public email in both A+C, but keep old one too.
Add my @changkun.de email to CONT...

44320594855185b00af3abe038e52f7a00751d51 authored over 2 years ago by Changkun Ou <[email protected]>
runtime: allow TestCtrlHandler to run in ConPTY

Fixes #51602. Previous test would not run in a pseudo-console (ConPTY).

New test avoids taskkil...

f02108636c3b098b3153e90b6478e292628ac4f9 authored over 2 years ago by Nuno Cruces <[email protected]>
syscall: unskip TestDirentRepeat on freebsd

TestDirentRepeat fails on FreeBSD 11, but seems to pass on newer
versions. Go 1.18 is the last r...

3d19e8da7997eaf4ba18bfdf489c3bdb373a0c4d authored over 2 years ago by Tobias Klauser <[email protected]>
runtime/cgo: remove memset in _cgo_sys_thread_start on freebsd/arm

pthread_attr_init on freebsd properly initializes the pthread_attr,
there is no need to zero it ...

adfee1e1e7b3236770c19d255e945613a53a34cc authored over 2 years ago by Tobias Klauser <[email protected]>
syscall: optimize UTF16{,Ptr}FromString

Use bytealg.IndexByteString in UTF16FromString instead of an open-coded
loop.

Change-Id: I36644...

489102de18cff38d1b12d09eeb7e60af42492d63 authored over 2 years ago by Tobias Klauser <[email protected]>
crypto/x509: return err ans1.Marshal gives an error

Fixes #50663

Change-Id: I18754922bf139049443c0395eaa1606049df1331
GitHub-Last-Rev: 57ff5ddfe39c...

3ea22cf3c4b32e6473ad1358a3cbfccc11abc5be authored over 2 years ago by cuiweixie <[email protected]>
A+C: add PlanetScale, Inc.

Change-Id: Ide2567dc66e55880b938b5814879f012c88159b8
Reviewed-on: https://go-review.googlesource...

485d67bd38c94617921f55b99e89be0e9cbda39d authored over 2 years ago by Matt Layher <[email protected]>
runtime: call testenv.MustHaveCGO in a couple of tests

Fixes #51695

Change-Id: Icfe9d26ecc28a7db9040d50d4661cf9e8245471e
Reviewed-on: https://go-revie...

2d32594396b231b39d09ec21d34b22b0270268b5 authored over 2 years ago by Ian Lance Taylor <[email protected]>
net/rpc: reduce the execution of reflect and decode

Change-Id: Ief4b5e1c2d1002392901124c0694afe58c271573
GitHub-Last-Rev: e3b8a60377becfc9c30178d7ae...

3d7392a08f00a7328af45c877dc0b3a431780c5b authored over 2 years ago by fangguizhen <[email protected]>
all: update vendored x dependencies for Go 1.19 development cycle

Generated with x/build/cmd/updatestd.

Updates #36905.

Change-Id: I5d12dfc3b49c1476ce4b8d4cbeb3...

79861be2059e014ca0647de3be22e7c341e61e20 authored over 2 years ago by Heschi Kreinick <[email protected]>
cmd/doc: use the 'go' command from buildCtx.GOROOT, not whatever is in $PATH

For #51483.

Change-Id: I6150fdf97763d858e9ab012e807515da3387c25f
Reviewed-on: https://go-review...

3046ae927d7664a63bb8c3a2fb3b9ca95bcf93de authored over 2 years ago by Bryan C. Mills <[email protected]>
cmd/doc: use 'go env' to identify GOROOT if it isn't otherwise known

Updates #51483.

Change-Id: I13d8e58b30639d8a5ed3c9e8b72c8bbaa6a6f1cc
Reviewed-on: https://go-re...

2b0ac284cf4b81badb1c29e4fa299ea25cb9318f authored over 2 years ago by Bryan C. Mills <[email protected]>
runtime/debug: do not require a GOROOT/src prefix in TestStack

When paths are trimmed, the reported file locations begin with the
package import path (not GORO...

c6244b59095a74b77c977d250708ba1858ae2388 authored over 2 years ago by Bryan C. Mills <[email protected]>
crypto/x509: fix Certificate.Verify crash

(Primarily from Josh)

Fixes #51759

Co-authored-by: Josh Bleecher Snyder <[email protected]>
...

0fca8a8f25cf4636fd980e72ba0bded4230922de authored over 2 years ago by Brad Fitzpatrick <[email protected]>
cmd/compile: set conversions to unsafe.Pointer as an escaping operation when -asan is enabled

When ASan is enabled, treat conversions to unsafe.Pointer as
an escaping operation. In this way,...

c379c3d58d5482f4c8fe97466a99ce70e630ad44 authored over 2 years ago by fanzha02 <[email protected]>
Revert "cmd/compile: set conversions to unsafe.Pointer as an escaping operation when -asan is enabled"

This reverts commit 5fd0ed7aaf39f783ea6f505a3f2ac7d9da7cb03b.

Reason for revert: <The internal ...

599d5395ebb41eb17bbe77e75d12ed0d13294767 authored over 2 years ago by Fannie Zhang <[email protected]>
text/scanner: guard against installed IsIdentRune that accepts EOF

IsIdentRune may be installed by a client of the scanner. If the
installed function accepts EOF a...

9956a5423e40bab92c572489eae26ba80ed803ab authored over 2 years ago by Robert Griesemer <[email protected]>
os: raise open file rlimit at startup

Some systems set an artificially low soft limit on open file count,
for compatibility with code ...

8427429c592588af8c49522c76b3e0e0e335d270 authored over 2 years ago by Russ Cox <[email protected]>
syscall: allow EINVAL in TestSCMCredentials

This can occur on NixOS.

Change-Id: I0571b0cc5345d01396dca6a4116aa1024c390a5a
Reviewed-on: http...

f839aaa22b66bc556fac72f7396082212d2ef45d authored over 2 years ago by Josh Bleecher Snyder <[email protected]>
syscall: call ABI0 exitsyscall on Plan 9/AMD64

CL 376356 changes syscall.Syscall to call ABIInternal entersyscall
and exitsyscall. As mentioned...

66865363f017a8d4cb0b07d84a3a6117fcf1cd30 authored over 2 years ago by Cherry Mui <[email protected]>
cmd/compile: remove typecheckdef and Name.Walkdef

The only remaining use for typecheckdef after CL 393256 is to
typecheck the ONAME node that repr...

1cfe1007cdf17ee381443cd0d8ae31962805f96e authored over 2 years ago by Matthew Dempsky <[email protected]>
all: update vendored golang.org/x/tools

Update the vendored golang.org/x/tools to pick up the fix for #51717.

This also picks up some c...

8d4da2c7b582783f30f9c93c2bcb0641748103e2 authored over 2 years ago by Robert Findley <[email protected]>
cmd/compile: allow noop conversions when comparing expressions

Allows mapclear optimization to trigger in more cases, including
some generic instantiations.

F...

e5e638e512e1ec27673d5e01e99eb870899be7f7 authored over 2 years ago by Keith Randall <[email protected]>
cmd/api: remove debug print

Left over from CL 392414.

Change-Id: I32ff1d660ba03d6c2005ad247e2129daf83aac04
Reviewed-on: htt...

ed4db861182456a63b7d837780c146d4e58e63d8 authored over 2 years ago by Russ Cox <[email protected]>
cmd/link: mark unexported methods for plugins

When plugin is used, we already mark all exported methods
reachable. However, when the plugin an...

91631bc7e0131367eb051b581cf34573399ac592 authored over 2 years ago by Cherry Mui <[email protected]>
cmd/compile: remove unused code from typecheckdef

typecheckdef used to be used to handle references to package-level
declarations that hadn't yet ...

81d3c25c6cf39a76b17ab4eda97e8ad7b92a21e9 authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile: remove OIOTA

OIOTA used to be used to represent "iota" in the pre-typechecked IR,
before we knew whether it w...

d661bdeabf479c39fe98c6fc598a6d8114047914 authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile: Fatalf in Type.SetBroke(true) and Node.SetDiag(true)

Type.Broke and Node.Diag were used in the legacy typechecker to allow
reporting of multiple erro...

1024503f84b2ddcd59104ec5db36d10a8adaae99 authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile: detect invalid NIH conversions within unified IR

Unified IR currently relies on typecheck to diagnose invalid
//go:notinheap conversions, which p...

a1bf50eefe35087ac7151116558f4c19095b8473 authored over 2 years ago by Matthew Dempsky <[email protected]>