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

cmd/compile: add ability to hash-debug on file:line, including inlining

Modified the fmahash gc debug flag to use this, and modified the
test to check for a hash match ...

d33043d37dc8cc5d691ff590ebcd2fd42e356a66 authored almost 2 years ago by David Chase <[email protected]>
internal/types: fix the iota value in error code declarations

The new "InvalidSyntaxTree" node in the error code declaration
inadvertently incremented the val...

271f139f17c8ec5895bde52dac4056f99768e258 authored almost 2 years ago by Robert Findley <[email protected]>
cmd/compile/internal/importer: turn off debugging output

Also, remove `debug` constant. Was not used.
Follow-up on CL 442303.

Fixes #56681.

Change-Id: ...

d3726f346925e8a6ef30b2db9de013fa314492e2 authored almost 2 years ago by Robert Griesemer <[email protected]>
go/doc: recognize methods on generic types as Funcs

When writing markdown for godoc, we can reference a method M of
a type T as [T.M]. This doesn't ...

a11cd6f69aec5c783656601fbc7b493e0d63f605 authored almost 2 years ago by Keith Randall <[email protected]>
os/user: allocate buffers in Go memory, not C memory

Since the first implementation of os/user, it's called C malloc
to allocate memory for buffers. ...

c3d444d09852981daa6ed9e0ba65d90c89a7d917 authored almost 2 years ago by Ian Lance Taylor <[email protected]>
expvar: convert f to atomic type

For #53821

Change-Id: I2e7c5376e6ca3e3dbb2f92ad771aed62fca8b793
GitHub-Last-Rev: b67ddf81ecec18...

d2aa787f2a925a97dad11b1acb2a065f52b097f8 authored almost 2 years ago by cui fliter <[email protected]>
cmd/go: cache compiler flag info

When you run 'go env' or any command that needs to consider
what the default gcc flags are (such...

db259cdd80eff527e8f344d678031c516167d258 authored almost 2 years ago by Russ Cox <[email protected]>
cmd/api: point to API docs in all.bash failure

When people add new API and get an all.bash failure,
they often don't know about the API checker...

cb6e4f08c2e760c4eb90f3ed50eca3177b7ff6ff authored almost 2 years ago by Russ Cox <[email protected]>
crypto: allow hash.Hash for OAEP and MGF1 to be specified independently

crypto/rsa assumes RSA OAEP uses the same hash to be used for both the label
and the mask genera...

e48fc2665e2e95eddea612fa315403d50c7beb2b authored almost 2 years ago by Aleks Rudzitis <[email protected]>
encoding/xml: error when more than one colon in qualified names

Add test.

Fixes #20396

Change-Id: I89e9013eb338f831e1908e390b284794df78fb6b
Reviewed-on: https...

89332e037aeaf1223de4c24805719f733e4c0977 authored almost 2 years ago by Constantin Konstantinidis <[email protected]>
encoding/xml: disallow empty namespace when prefix is set

Non-regression tests are added.

Fixes #8068

Change-Id: Icb36c910bbf4955743b7aa8382002b2d9246fa...

bef5eca118fab6b7dd56c31fd1957c5edc214021 authored almost 2 years ago by Constantin Konstantinidis <[email protected]>
api/next/54299: add missing newline

Updates #54299.

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

e70f74b0aa125a4e017f2b0a81e10ac41d0fd71c authored almost 2 years ago by Bryan C. Mills <[email protected]>
unsafe: add docs for SliceData, String, and StringData

Updates #53003.

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

42768b4c265065df9b7faeb9df0301ef64b271a2 authored almost 2 years ago by Matthew Dempsky <[email protected]>
Revert "path/filepath: change IsAbs("NUL") to return true"

This reverts commit d154ef60a0c88be98c70bbe1c5735fb7b1f45250.

This change made IsAbs return tru...

739618945ef271793d608b587694ca1df353951d authored almost 2 years ago by Damien Neil <[email protected]>
os: remove special casing of NUL in Windows file operations

Some file operations, notably Stat and Mkdir, special cased their
behavior when operating on a f...

61c57575cd01940d06a327ce61b8923bf4a7553a authored almost 2 years ago by Damien Neil <[email protected]>
path/filepath: detect all forms of \\ volume paths on Windows

Previously, the volumeNameLen function checked for UNC paths starting
with two slashes, a non-'....

be9d78c9c5905fbc10d8cd6a4714dd4ad1c91674 authored almost 2 years ago by Damien Neil <[email protected]>
cmd/go: improve handling of os.DevNull on Windows

The "go test" and "go build" commands have special-case behavior when
passed "-o /dev/null". The...

575964d42c7b3001c09f2676d0ee9d520debb5eb authored almost 2 years ago by Damien Neil <[email protected]>
doc/go1.20: add a release note for os/exec API changes

Updates #50436.

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

0521a12401887a0e84c1c913d1af50c647efaf8b authored almost 2 years ago by Bryan C. Mills <[email protected]>
cmd/go: mod vendor: emit error if any replacement in vendor directory

Fixes #29169

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

d02fceb95e185478ba04bad3a2f9bd8f1d427e1e authored almost 2 years ago by rleungx <[email protected]>
cmd/go: decide whether to install .a based on number of CgoFiles

Instead of hardcoding the set of five packages that depend on cgo to
decide whether a package sh...

f5d21ffc816760813079d4429060a6c03f643b55 authored almost 2 years ago by Michael Matloob <[email protected]>
cmd/go/testdata: don't set GOPATH=NUL in test

An upcoming change to the filepath package to make IsAbs("NUL")==false
on Windows will cause thi...

342751a695835fb99ad8b8f9b9f3f818e9086b86 authored almost 2 years ago by Damien Neil <[email protected]>
internal/fsys: follow root symlink in fsys.Walk

If fsys.Walk is called with a root directory that is a symlink, follow
the symlink when doing th...

4f13067f8ac7f2c64a093ef4125cfa03dd67a0a5 authored almost 2 years ago by Michael Matloob <[email protected]>
net/http: add Transport.OnProxyConnectResponse

Fixes #54299

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

2f4d5c3b791b9b78c32ad587a70adfc1b46f29e0 authored almost 2 years ago by cuiweixie <[email protected]>
cmd/go: more informative test failures when GOROOT is stale

If GOROOT is stale, test fail when commands unexpectedly write to GOROOT.
Include an message in ...

cd8d1bca2cc2ec228b21e5df893fec7a2e766e08 authored almost 2 years ago by Damien Neil <[email protected]>
cmd/go: print test2json start events

Add a new "Action":"start" test2json event to mark the
start of the test binary execution. This ...

7a92c4fc637621368eb26a7e72bb027b29568e50 authored almost 2 years ago by Russ Cox <[email protected]>
crypto/x509: allow BoringCrypto to use 4096-bit keys

FIPS-140 has been updated to allow 4096-bit RSA keys.
Allow them in certificate processing.

Fix...

9ff2a6677fd34084295172aff0848ab9a4f5b76e authored almost 2 years ago by Russ Cox <[email protected]>
all: add missing copyright header

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

821e31042a47a9f65529c16f76b392428329c20b authored almost 2 years ago by cui fliter <[email protected]>
runtime: using wyrand for fastrand on linux/loong64

Benchmarks on linux/loong64:
name old time/op new time/op delta
Fastrand ...

3a41094107237535673bdbbdaabc10e54cb2b67c authored almost 2 years ago by Guoqi Chen <[email protected]>
cmd/compile: enable brachelim pass on loong64

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

268f4629df14f5b256ba51b78e1cf5799ce9818b authored almost 2 years ago by Wayne Zuo <[email protected]>
all: fix some comments

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

6b45863e47ad1a27ba3051ce0407f0bdc7b46113 authored almost 2 years ago by cui fliter <[email protected]>
io: correctly process result of sendfile(2) when src returns 0 bytes

Fixes #53658. io.Copy() uses sendfile(2) to avoid allocating extra buffers when src is a file an...

27c38142756902c9a2e281ff1dd0f2e0a7273f75 authored almost 2 years ago by Daulet Zhanguzin <[email protected]>
encoding/xml: error when closing tag does not match opening tag

Comparing opening and closing tag is done using the prefix when available.
Documentation states ...

f13849a7af4c058caa6af14f7d3f9aa81982c124 authored almost 2 years ago by Constantin Konstantinidis <[email protected]>
encoding/xml: add check of namespaces to detect field names conflicts

Test added.

Fixes #8535

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

b459166219b77857dc6d9366366b015d84e17bbe authored almost 2 years ago by Constantin Konstantinidis <[email protected]>
runtime internal/cpu: rename "Zeus" "NeoverseV1".

Rename "Zeus" to "NeoverseV1" for the partnum 0xd40 to be
consistent with the documentation of M...

fe4e59e78b30fb76936fdc02fa0ce044ca465c09 authored almost 2 years ago by Matthew Horsnell <[email protected]>
net: allocate res_state entirely in C memory

The linux-amd64-wsl builder was failing because the res_nsearch
implementation was storing point...

896faf306c8ff8b1ae9f5200fa9b7927432b632b authored almost 2 years ago by Russ Cox <[email protected]>
runtime: fix uncondition calls to traceGCSTWDone

startTheWorldWithSema should call traceGCSTWDone only when
the tracing is enabled.

Change-Id: I...

8befe0e4083a2a61741f03fb4e4cc2814fe27c35 authored almost 2 years ago by Xiangdong Ji <[email protected]>
runtime: remove the started field from sweepdata

This bool doesn't seem to be used anymore. Remove it.

Change-Id: Ic73346a98513c392d89482c5e1d81...

2df6c1abce8cfd3f47ed5eb5a45733d7cbb53b4b authored almost 2 years ago by Jakub Ciolek <[email protected]>
cmd/compile: fix transitive inlining of generic functions

If an imported, non-generic function F transitively calls a generic
function G[T], we may need t...

9944ba757b0f8005cfb7715d41592c7e13c0a2b8 authored almost 2 years ago by Matthew Dempsky <[email protected]>
net: fix res_search uses on alpine, android, dragonfly

On Android and Dragonfly, don't use -lresolv. It doesn't exist there.

On Linux, use res_search ...

a7538d78214920b798a1914a2a789ae833d6f1e1 authored almost 2 years ago by Russ Cox <[email protected]>
net: pass C string to res_nsearch, in case it stores the pointer

The current code passes a Go pointer to a NUL-terminated C string
to the C function res_nsearch ...

12ab0ac184f45e4fc04ffa77a73e211a0aa86d5f authored almost 2 years ago by Russ Cox <[email protected]>
net/textproto: reject invalid header keys/values in ReadMIMEHeader

Return an error when parsing a MIME header containing bytes in the
key or value outside the set ...

a6642e67e16b9d769a0c08e486ba08408064df19 authored almost 2 years ago by Damien Neil <[email protected]>
cmd/go: fix svn vctest on Windows and make them timezone agnostic

This CL updates svn vctest so they work on Windows.

Side effect is that svn logs are no longer ...

41be62e168fa7de2cf3357ad32f7105377bfd758 authored almost 2 years ago by qmuntal <[email protected]>
cmd/go: add -pgo build flag

Add a -pgo flag for "go build" (and other build actions), to
specify the file path of a profile ...

4b43b741710eb87cbae25f19cbde7eb733b08df1 authored almost 2 years ago by Cherry Mui <[email protected]>
runtime: smooth cons/mark with a moving average and use actual trigger

This change modifies the pacer in two ways:
* It replaces the PI controller used as a smoothing ...

41795528b0132170ec70a8e8ce0bcdb2e972e074 authored almost 2 years ago by Michael Anthony Knyszek <[email protected]>
reflect: use unsafe.String in name.name and name.tag

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

26b2c9a62043c40f3cdfd294ad2cea11edeea658 authored almost 2 years ago by Tobias Klauser <[email protected]>
cmd/compile: adjust PGO debug output slightly

- Include the callee names in hot call inlining message.
- Print the graph when pgoinline >= 2.
...

e5d2814576937162ce183d5aab09616ae13d983c authored almost 2 years ago by Cherry Mui <[email protected]>
cmd/compile/internal/pgo: allow and ignore profiles with no sample

Passing a profile with no sample is arguably not a user error.
Accept such a profile, and ignore...

efe541d4e53f0e229e7069adbdcedb7f0b117d8e authored almost 2 years ago by Cherry Mui <[email protected]>
cmd/compile: fix PGO line offset matching

Appears to be a typo in CL 447315.

Change-Id: I9f380a3c7521f5ac5a1d7e271eaa60bd4bbcfb29
Reviewe...

0409314db39db8f1d587fff31f79a24f1aa36ad2 authored almost 2 years ago by Cherry Mui <[email protected]>
net: unify CNAME handling across ports

Unix and Windows differ in how they handle LookupCNAME(name).

If name exists in DNS with an A o...

6939659a085de15ba7e08ebe0c8864616ba21b76 authored almost 2 years ago by Russ Cox <[email protected]>
cmd/go: replace Action.Func with Action.Actor

The interface will let us store actor-specific state in the
interface implementation instead of ...

a1c31d6803dac891b200b3598aa00224ab80c0bb authored almost 2 years ago by Russ Cox <[email protected]>
internal/coverage/slicereader: use unsafe.String

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

be3184c4059e1ed69f74ad4e28b49e32a836b126 authored almost 2 years ago by Tobias Klauser <[email protected]>
context: add APIs for writing and reading cancelation cause

Extend the context package to allow users to specify why a context was
canceled in the form of a...

5b42f89e394a9e9fbd28fa93cc8a09186db0f233 authored almost 2 years ago by Sameer Ajmani <[email protected]>
cmd/asm: optimize if statement to return directly

Change-Id: Iddf4d3bcc3bc2badf0d0f6b06375c901e76a40bb
GitHub-Last-Rev: 95586bfc1666985c270c3b4dcc...

0b7aa9fa5b207a3d9e2b1de2629babb6f5ce6e45 authored almost 2 years ago by mantuliu <[email protected]>
math/big: remove underscores from Binomial docs

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

9860faa5127931183e4dfb716d89ce7dface3f41 authored almost 2 years ago by Eric Lagergren <[email protected]>
net/http: remove redundant code

Remove redundant code at line 365, `oldCtx := req.Context()`, because it's the same as line 349...

e6f662d7b071c659f4146408e31671cb32e2104c authored almost 2 years ago by tk <[email protected]>
net/netip: use slice-to-array conversions

Resend of CL 432735 (with one additional conversion that the original CL
missed) after it broke ...

dc98ccd836da7d22a5d270b9778fb055826fa07b authored almost 2 years ago by Tobias Klauser <[email protected]>
net/netip: remove unused unexported functions and methods

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

b417f62b00276a2ccca3fa7e490f3673a1df8a4c authored almost 2 years ago by Tobias Klauser <[email protected]>
sync/atomic: disallow type conversions of atomic.Pointer[T]

Fixes #56603

Change-Id: I6af9d80201025ae4028bfaa4a62e5de9ac0c501d
GitHub-Last-Rev: e6ed5e14512e...

6bead8f77afd2f7317eb011ca019b61ac3d90c17 authored almost 2 years ago by Mateusz Poliwczak <[email protected]>
cmd/compile: let compiler downgrade its own concurrency

This gets the Go command out of the business of thinking it understands
compiler debug flags, an...

f3d656be502a7cc4e2afbec461983b453665fca5 authored almost 2 years ago by David Chase <[email protected]>
cmd/covdata: fix wrong struct name in the comment

Invalid struct name in the comment in merge.go
dstate -> mstate
dstate already exists and is in ...

4538f30e2d35fdf44331d7066098c0daf2dd1a85 authored almost 2 years ago by Dmitry Alimov <[email protected]>
misc/cgo/test: skip Test9400 on Alpine

Alpine has a known issue where setgid clobbers the Go stack (#39857).
misc/cgo/test skips other ...

42105eb8a5b59e715573f5299218e12be2dbb050 authored almost 2 years ago by Austin Clements <[email protected]>
net: adjust build tags for darwin libc calls

Support for direct libc calls was added in CL 446178 but the build
tags weren't quite activating...

e7422b05915759a8e4a8f38382ffd4d38d4fa2ea authored almost 2 years ago by Dan Peterson <[email protected]>
runtime: fix a few function names on comments

Change-Id: I9ef4898d68dfd06618c0bd8e23f81a1d2c77a836
Signed-off-by: cui fliter <[email protected]...

969bea8d59daa6bdd478b71f6e99d8b8f625a140 authored almost 2 years ago by cui fliter <[email protected]>
crypto/tls: use certificate cache in client

In verifyServerCertificate parse certificates using the global
certificate cache.

This should s...

72ce9ba9cb640f1a2184389d1dc146d731882328 authored almost 2 years ago by Roland Shoemaker <[email protected]>
math: fix function name in comment

Change-Id: Iabf955cdb161d02cb4a3e06f466b331e1b6eb2c2
Signed-off-by: cui fliter <[email protected]...

601ad2e4570896d07df8ace7d2ab9100a57d301c authored almost 2 years ago by cui fliter <[email protected]>
crypto/tls: add a certificate cache implementation

Adds a BoringSSL CRYPTO_BUFFER_POOL style reference counted intern
table for x509.Certificates. ...

81ed1354e8fef60cac1f7043d723d9d38c9ce174 authored almost 2 years ago by Roland Shoemaker <[email protected]>
internal/bytealg: add PCALIGN to indexbodyp9 function on ppc64x

Adding PCALIGN in indexbodyp9 function shows
improvements in some SimonWaldherr benchmarks and o...

92c7df116ecbd8f230b48f72eb44fa7de5d13233 authored almost 2 years ago by Archana R <[email protected]>
cmd/trace: only include required frames in splits

Though we split traces into 100MB chunks, currently each chunk always
includes the entire stack ...

d2b5a6f332b011c75c17bfb99216cc51ac7a0b5f authored almost 2 years ago by Michael Pratt <[email protected]>
runtime: yield in goschedIfBusy if gp.preempt

runtime.bgsweep contains an infinite loop. With aggressive enough
inlining, it may not perform a...

50664c236f9ab38cd57e0a36cf29527d4c513010 authored almost 2 years ago by Michael Pratt <[email protected]>
doc: add a release note for fewer pre-compiled GOROOT .a files

For #47257

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

82c6967adad6319ac08fca4f3e84066a43083963 authored almost 2 years ago by Michael Matloob <[email protected]>
codegen: check for PPC64 ISEL in condmove tests

ISEL is roughly equivalent to CMOV on PPC64. Verify ISEL generation
in all reasonable cases.

No...

390abbbbf1018f9bb814baf6ab38e31efaf58666 authored almost 2 years ago by Paul E. Murphy <[email protected]>
testing: Document RunParallel ns/op behavior

Updates #31884

Change-Id: Ibad3d31038a8426c0bce61c1726392880f934865
Reviewed-on: https://go-rev...

8ec1c9e2850c642e3ebd0ea3a9749dd13cd4545a authored almost 2 years ago by Felix Geisendörfer <[email protected]>
cmd/vet: remove unused const

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

a9767ea59d8b321bafc5e899889ff1d047a2b217 authored almost 2 years ago by Yasuhiro Matsumoto <[email protected]>
all: fix comment typos

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

1c05968c9a5d6432fc6f30196528f8f37287dd3d authored almost 2 years ago by Dan Kortschak <[email protected]>
reflect: rewrite value.Equal to avoid allocations

For #46746

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

a343f4017b501358c202154f074f54d710df6698 authored almost 2 years ago by Ian Lance Taylor <[email protected]>
all: fix function names in comments

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

a74985092c14784db86fdf391b9cf939e1b06f2f authored almost 2 years ago by cui fliter <[email protected]>
cmd/compile/internal/pgo: use a slice for locations

Currently locations are stored in a map and looked up by ID from
the map. The IDs are usually sm...

d9cc39b25c8ebef5a976e34848dc3c5216108f07 authored almost 2 years ago by Cherry Mui <[email protected]>
cmd/go: use clean GOCACHE in TestNewReleaseRebuildsStalePackagesInGOPATH

Now that most GOROOT packages do not have install targets, their
staleness depends on whether th...

6d58aea5d412d135ec08463db515ee9453c508b5 authored almost 2 years ago by Michael Matloob <[email protected]>
cmd/compile/internal/pgo: match on call line offsets

Rather than matching calls to edges in the profile based directly on
line number in the source f...

bdd1e283a914d4d161589adce4f2ad79767d029d authored almost 2 years ago by Michael Pratt <[email protected]>
cmd/compile/internal/pgo: check repeated edge only when node is seen

When adding weights for a call stack, for recursive calls, to
avoid double counting we check if ...

f187c6b08eac9dddd161bb2e7537def3bbf8ec9a authored almost 2 years ago by Cherry Mui <[email protected]>
cmd/dist: simplify cgo_test

Now that misc/cgo/test doesn't invoke any Go builds itself, we don't
need to use GOFLAGS to thre...

9dcc873413aa390bd9392d1ed6ae4198593e4c5d authored almost 2 years ago by Austin Clements <[email protected]>
misc/cgo/test: simplify for module mode

When we were first introducing module mode, CL 163418 moved many of
the tests in misc/cgo/test i...

b079640404a1e83a23b95bd22ec67cedd38798a9 authored almost 2 years ago by Austin Clements <[email protected]>
cmd/compile/internal/pgo: use slices for in/out edges

Currently in the pprof Graph, a Node's in/out edges are
represented as maps, keyed by the source...

7e88b866f9576d6f9ddfe0a054da7383bfff54fa authored almost 2 years ago by Cherry Mui <[email protected]>
cmd/compile/internal/pgo: remove some unused fields

We intentionally don't use file path so it is resilient to code
moving. OrigName and Objfile are...

a72e133422d3eb2f24ca6f5d834c622137f0ccd2 authored almost 2 years ago by Cherry Mui <[email protected]>
cmd/compile/internal/pgo: remove label handling

We don't use it. Make graph building a little faster.

Change-Id: I4a6f516f8e68bf338be8350f91c51...

1a4cc091a9a0d5729db5f276ed1ad6f3aa768023 authored almost 2 years ago by Cherry Mui <[email protected]>
cmd/compile: tweak compiler concurrency

Default concurrency is now GOMAXPROCS, though this is normally
reduced to 4 by the go build comm...

b725622ceb3d537334e1a3bb1723b1e939a40823 authored almost 2 years ago by David Chase <[email protected]>
cmd/compile: change the multiple (gossa)hash separator from ; to /

Semicolon has bad copy-paste ergonomics; it requires quoting.
Slash is okay, and won't be a sepa...

1bcfdc777ad38bbb4faec8e1db2eaa92873f4e10 authored almost 2 years ago by David Chase <[email protected]>
cmd/compile: fix PGO cross-package inlining

With CL 447015, we identify hot callees from edge weights, but
the code only traverses edges for...

ada9385a5fd3908243dbb514040c07a41e4806bb authored almost 2 years ago by Cherry Mui <[email protected]>
runtime: eliminate arbitrary timeouts in runBuiltTestProg and TestGdbBacktrace

This may fix the TestEINTR failures that have been frequent on the
riscv64 builders since CL 445...

0758a7d82da03d38fff8619a245f5fcb05721cf9 authored almost 2 years ago by Bryan C. Mills <[email protected]>
net/http: ignore ranges if the content is empty in serveContent

Fixes #54794

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

edfe07834905809d687b30632ccb849b84ebd4f2 authored almost 2 years ago by Jorropo <[email protected]>
api: add newline to 55301.txt

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

7ddbadb397b18ffadd308fea84884ae363e87b58 authored almost 2 years ago by cuiweixie <[email protected]>
text/template/parse: fix interaction of break/continue keywords and functions

Fixes a bug that was introduced in CL 410414; in that CL, to avoid
a race condition in the initi...

d65c0593c4f1dd4a9b381cf654668aa27166b24e authored almost 2 years ago by Eli Bendersky <[email protected]>
net: add ControlContext to Dialer

Fixes #55301

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

90b40c0496440fbd57538eb4ba303164ed923d93 authored almost 2 years ago by cuiweixie <[email protected]>
os/exec: allow NUL in environment variables on Plan 9

Plan 9 uses NUL as os.PathListSeparator, so it's almost always going
to appear in the environmen...

bc2dc2384619d871000f9627b5d4e2bdc1dd38dc authored almost 2 years ago by Matthew Dempsky <[email protected]>
cmd/compile: remove the resultInArg0 register checks on linux/loong64

The automatic resultInArg0 register check has been implemented by CL 296010.

Change-Id: Id0e085...

c1c6b0ca79233c8b7612957291c2d47d337cc2de authored almost 2 years ago by Guoqi Chen <[email protected]>
testing: add Get method for -test.v option

There is existing code that calls flag.Lookup("test.v") and inspects
the value. That stopped wor...

3615eb16af57b832a3b6d957d86b84b656865a14 authored almost 2 years ago by Ian Lance Taylor <[email protected]>
cmd/link: support PPC64 prefixed relocations for power10

Handle emitting (to ld) or resolving commonly used ELFv2 1.5
relocations. The new ISA provides P...

69abfab979a22307bbd1b3f5f02a64349d16d3d5 authored almost 2 years ago by Paul E. Murphy <[email protected]>
cmd/compile: allow ineffectual //go:linkname in -lang=go1.17 and older

Prior to Go 1.18, ineffectual //go:linkname directives (i.e.,
directives referring to an undecla...

aa6240a445d2478f29add6218b19147f5bf2204f authored almost 2 years ago by Matthew Dempsky <[email protected]>
cmd/go: fix a bug printing error output from c compiler

fmt.Sprint should be called instead of fmt.Sprintf as is done
elsewhere in exec.go

Change-Id: I...

48ff5c1042af780dade9f539368e8bc2259d2679 authored almost 2 years ago by Michael Matloob <[email protected]>
cmd/compile/internal/ssa: re-adjust CarryChainTail scheduling priority

This needs to be as low as possible while not breaking priority
assumptions of other scores to c...

d031e9e07a07afef8d16576fd7079a739a7e4394 authored almost 2 years ago by Paul E. Murphy <[email protected]>