Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

Hackpad

We strive for making code editing in the browser a powerful, streamlined experience.
Collective - Host: opensource - https://opencollective.com/hackpad - Website: https://hackpad.org - Code: https://github.com/hack-pad

time: add Duration.Abs

Fixes #51414

Change-Id: Ia3b1674f2a902c8396fe029397536643a3bc1784
GitHub-Last-Rev: 67159648af09...

github.com/hack-pad/go - 0bbd05b8262624bb8e8aea43fa76934fbff8fc81 authored over 2 years ago by Carl Johnson <[email protected]>
regexp: use input.step() to advance one rune in Regexp.allMatches()

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

github.com/hack-pad/go - 737837c9d45946e6a43f4de5fe3309b9e06ba83f authored over 2 years ago by Andy Pan <[email protected]>
test: fix inline test on noopt builder

CL 394074 broke the noopt builder. Something about time.After's inlining
depends on the build fl...

github.com/hack-pad/go - 018b78cc5b4b08447076f143271c249c0dde1297 authored over 2 years ago by Keith Randall <[email protected]>
cmd/compile: upgrade prove pass to know results of math/bits ops are nonnegative

Fixes #51963

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

github.com/hack-pad/go - 3bd8c78575a27ee9ac7b3c8d8c35db1feee31737 authored over 2 years ago by Keith Randall <[email protected]>
cmd/compile: optimize BSRQ with nonzero input

Same as BSFQ, if the input is known to be nonzero we don't need a CMOV
to correct for the weird ...

github.com/hack-pad/go - 7d3b64a2e372b0e7c550bf9152fe215605e448e4 authored over 2 years ago by Keith Randall <[email protected]>
reflect, runtime: add reflect support for regabi on riscv64

This CL adds regabi support needed for reflect.

Change-Id: Ib78f8c7765f03e3a7b46e8b115bf8870b80...

github.com/hack-pad/go - 56400fc70675cc2f404f33e3ed13386967cfe4da authored over 2 years ago by Meng Zhuo <[email protected]>
cmd/go/internal/modfetch: remove unused FileRev struct

In CL 367756 we remove ReadFileRevs function, We simplified
the implementation of the interface ...

github.com/hack-pad/go - 79e051ad33992cb50e689b0dff2c6fc6f8b4c94f authored over 2 years ago by Baokun Lee <[email protected]>
os: document DirFS implements fs.StatFS

Fixes #51856

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

github.com/hack-pad/go - b0750de656602bb1d994dd4a524f522567184db2 authored over 2 years ago by hopehook <[email protected]>
Revert "cmd/compile: stop interface conversions for generic method calls from allocating"

This reverts commit e550c3054586a224d949cc8fa030bac0887bee51.

Reason for revert: Method bound c...

github.com/hack-pad/go - 3f69cc7d77fbc569824307e6dca37950003ce5a8 authored over 2 years ago by Keith Randall <[email protected]>
cmd/compile: use method expression closures to implement bound method calls

When we have x.M(args) where x is a value of type parameter type, we
currently cast x to the bou...

github.com/hack-pad/go - f326964824a4001ea3964c256e70d61e7f663afa authored over 2 years ago by Keith Randall <[email protected]>
cmd/compile: implement generic method expressions with closures in dictionary

Currently we do quite a dance for method expressions on generic
types. We write a new closure, a...

github.com/hack-pad/go - 7fc38802e15be1a221290b0a9da1f587ace19488 authored over 2 years ago by Keith Randall <[email protected]>
internal/abi: define riscv64 register ABI constants

Add the riscv64 register ABI constants and allow regabi
value to be set for riscv64

Change-Id: ...

github.com/hack-pad/go - 0652274c10f8f2a520c30bf43bb968dac91bf9f5 authored over 2 years ago by Meng Zhuo <[email protected]>
cmd/compile: enable inlining SELECT

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

github.com/hack-pad/go - 80a7504a13a5dccb60757d1fc66d71bcba359799 authored over 2 years ago by Wayne Zuo <[email protected]>
cmd/compile: simplify fingerprint logic

Historically, we sometimes recorded imports based on either package
path ("net/http") or object ...

github.com/hack-pad/go - 3dac99ad4cdc7014343bcbddf01aca2d9e7a4e96 authored over 2 years ago by Matthew Dempsky <[email protected]>
net/netip: fix uses of "IPv4-mapped IPv6" in doc comments

The correct (or at least mostly commonly used) name for addresses of the
form ::ffff:192.0.2.128...

github.com/hack-pad/go - 3dac914b772f7c99bb749839946ca68878a65f35 authored over 2 years ago by Adam Pritchard <[email protected]>
net/mail: improve detection of charset errors

The detection of the "unknown charset" case was too tailored
to one specific address parser. Mak...

github.com/hack-pad/go - 2bbf383774952c8ddc309a45c024af76b47ea1fe authored over 2 years ago by Russ Cox <[email protected]>
cmd/compile/internal/ir: remove NewClosureExpr

The only usage of NewClosureExpr is inside NewClosureFunc, which is its
alternative version. So ...

github.com/hack-pad/go - f25631b490c7ccb8e555b4031dc12046b2534c11 authored over 2 years ago by Cuong Manh Le <[email protected]>
net/http/httptest: fix race in Server.Close

When run with race detector the test fails without the fix.

Fixes #51799

Change-Id: I273adb6d3...

github.com/hack-pad/go - 1d19cea740a5a044848aaab3dc119f60c947be1d authored over 2 years ago by Maisem Ali <[email protected]>
cmd/compile: handle sole component for 1-byte type interface conversion

For 1-byte type, we have a special case for converting to interface
type. But we missed an optim...

github.com/hack-pad/go - 3fd8b8627f39d34e1a66bf4d610784bcd3f4319d authored over 2 years ago by Cuong Manh Le <[email protected]>
cmd/compile: merge ANDconst and UBFX into UBFX on arm64

Add a new rewrite rule to merge ANDconst and UBFX into
UBFX.

Add test cases.

Change-Id: I24d64...

github.com/hack-pad/go - 8ab42a945aef7c09189a60263c4450a65bc00a47 authored over 2 years ago by fanzha02 <[email protected]>
net/http/httputil: ignore CloseNotify when a non-background context is present

If the http.Request passed to ReverseProxy.ServeHTTP has a context
with a non-nil Done channel, ...

github.com/hack-pad/go - a10a209b23f877c80d8a5f3ebda1ce4b492ac3a9 authored over 2 years ago by Damien Neil <[email protected]>
go/types, types2: clean up a few typos, and an unused const

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

github.com/hack-pad/go - b88600f926b6a1fb6de6e3a8cc1f0db9132bddb4 authored over 2 years ago by Robert Findley <[email protected]>
test: compile source files as if from "test" module

This CL updates test/run.go to compile xxx.dir/x.go with a package
path of "test/x" instead of j...

github.com/hack-pad/go - b95d332c7e876eb8de8e0df84894c934a3f5cbde authored over 2 years ago by Matthew Dempsky <[email protected]>
runtime: update framepointer_enabled doc

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

github.com/hack-pad/go - b2643c673970676065e4683bbbaa087db694bbc9 authored over 2 years ago by Romanos Skiadas <[email protected]>
cmd/link: do not add label symbols for DWARF on Windows/ARM64

Label symbols are only useful for relocations from text. No need
to do it for DWARF. And the PE ...

github.com/hack-pad/go - cccfb8ffdb97224aed5cc718d4bac3f3df9e55ed authored over 2 years ago by Cherry Mui <[email protected]>
cmd/gofmt: return a proper error for empty Go files

I was testing edge cases in gofumpt, a fork of gofmt,
and noticed that gofmt will return a bare ...

github.com/hack-pad/go - 0ed31eb73b13bd57aff727f4ab759c6701d45a01 authored over 2 years ago by Daniel Martí <[email protected]>
cmd/compile: clarify help message for -L flag

The file names reported in error messages by the compiler are
printed unchanged from the file na...

github.com/hack-pad/go - 9058080319e5e3b8edbde8c5e2406b11bac163ee authored over 2 years ago by Robert Griesemer <[email protected]>
cmd/compile: refactor walkIndexMap

So all runtime map functions will use the same code path, make it easier
for future CL to handle...

github.com/hack-pad/go - 209521c3e34820887c9d221f8f09d8f586c72419 authored over 2 years ago by Cuong Manh Le <[email protected]>
test: remove unused oldescape_linkname.dir directory

CL 187617 removed oldescape_linkname.go, but forgot to remove this
directory too.

Change-Id: I6...

github.com/hack-pad/go - 60be4ec096a180d74208230207e839bd2c8a030a authored over 2 years ago by Matthew Dempsky <[email protected]>
test: remove obsolete test case that misuses -p

bug302 compiles p.go with -p=p, and then manually creates a pp.a
archive, and imports it as both...

github.com/hack-pad/go - d14c02a20ca6937d46e4bf67e328627b773786b1 authored over 2 years ago by Matthew Dempsky <[email protected]>
test: use dot-relative imports where appropriate

Currently, run.go's *dir tests allow "x.go" to be imported
interchangeably as either "x" or "./x...

github.com/hack-pad/go - 999589e14829e8c69517efa58d903bb9a7588da3 authored over 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile: update riscv64 CALL* ops

This CL allow the CALL ops to take variable number of arguments.

Change-Id: If84bb306c2f23a0a93...

github.com/hack-pad/go - 849e42f028d20821aa68d7d37aa2e1fc3abbebe3 authored over 2 years ago by Meng Zhuo <[email protected]>
cmd/compile/internal/types: simplify AllowsGoVersion

After CL 394556, only LocalPkg is passed to AllowsGoVersion, so simplify
the code to not depend ...

github.com/hack-pad/go - 947bf333fc2d93e519241b521ddc13c76daa4862 authored over 2 years ago by Cuong Manh Le <[email protected]>
cmd/compile: remove types.Field.{Broken,SetBroken}

SetBroken is never called and Broken always returns false.

Updates #51691

Change-Id: I7e3fd3f2...

github.com/hack-pad/go - 0eb2c771248c74e462d3ed77dab23bb2de566de1 authored over 2 years ago by Cuong Manh Le <[email protected]>
cmd/compile/internal/types: remove anyBroke

anyBroke now always return false, we can get rid of it.

Updates #51691

Change-Id: Idab5bc9f9f2...

github.com/hack-pad/go - 2792a414c69d9e6bacee217f6beb92352fe3c2a4 authored over 2 years ago by Cuong Manh Le <[email protected]>
cmd/compile: remove AllowsGoVersion checks in old typechecker

types2 handles those checks instead.

The only exception is noder.checkEmbed, since when types2
...

github.com/hack-pad/go - 810868c9f646ace10aa37ba5ded4b5d07bd28a19 authored over 2 years ago by Cuong Manh Le <[email protected]>
cmd/compile: remove typecheck.FuncBody

CL 388535 removed the only usage of this function.

Change-Id: Ie5a61cce75b03d83162f62989fe52388...

github.com/hack-pad/go - 489e4882ef0df15f208e41915cedc1ceb2cc75fd authored over 2 years ago by Cuong Manh Le <[email protected]>
cmd/compile: remove ir.Node.SetDiag

And use base.Fatalf in code that use n.SetDiag(true) instead.

Updates #51691

Change-Id: Ib3c0b...

github.com/hack-pad/go - c10fb508946bccbd015634c0bdb1cbd18e206c8f authored over 2 years ago by Cuong Manh Le <[email protected]>
cmd/compile: remove types.Type.SetBroken

And use base.Fatalf in code that use t.SetBroke(true) instead.

Updates #51691

Change-Id: I9f36...

github.com/hack-pad/go - 515135f4c3f9c67d51d6d3d7b8fe82559ac2e9f2 authored over 2 years ago by Cuong Manh Le <[email protected]>
cmd/compile: remove reportTypeLoop

reportTypeLoop used to be used to report invalid recursive types in old
typechecker.

However, t...

github.com/hack-pad/go - 7e0a1d340ffd71f239bddbd4686392a5a2c5906b authored over 2 years ago by Cuong Manh Le <[email protected]>
go/types, types2: report struct type for literals with too few/many elements

This change essentially matches the 1.17 compiler error message for
this error.

Fixes #51877.

...

github.com/hack-pad/go - f9747b7f7315fa702a39b420b63977ca90e06e94 authored over 2 years ago by Robert Griesemer <[email protected]>
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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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:/...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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....

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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 ...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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 ...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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 ...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 4d2da99498ff55700eeddf09d603fa0618c8b55c authored over 2 years ago by Meng Zhuo <[email protected]>
cmd/compile: pre init shapeMap

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

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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....

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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....

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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 ...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 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...

github.com/hack-pad/go - 67f6b8c98715f265f38aff4052356ef6e6b35dfe authored over 2 years ago by Bryan C. Mills <[email protected]>