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

all: replace `` and '' with “ (U+201C) and ” (U+201D) in doc comments

go/doc in all its forms applies this replacement when rendering
the comments. We are considering...

81431c7aa7c5d782e72dec342442ea7664ef1783 authored over 2 years ago by Russ Cox <[email protected]>
os/signal: run TestNotifyContextNotifications subtests in parallel

If we run out of time on the first subtest, we don't want to start the
second one with essential...

b4cabaf8c094da8387ac6274706fe4850d77ebc6 authored over 2 years ago by Bryan C. Mills <[email protected]>
cmd/internal/objabi: fix FuncID of runtime.rt0_go and runtime.systemstack_switch

Fixes #52092

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

7c45dafdb2aae2afaf09aa90b3b5338c992f6912 authored over 2 years ago by zhouguangyuan <[email protected]>
crypto/x509: rework path building

This change does four things:
* removes the chain cache
* during path building, equality is ...

65153e478e302eaf3556372ff257ebfc893943c1 authored over 2 years ago by Roland Shoemaker <[email protected]>
[dev.boringcrypto] all: merge master into dev.boringcrypto

Change-Id: Iaf618444dd2d99721c19708df9ce2c1f35854efd

4739b353bb878f29ee78e1cd7eaf3d8f32199798 authored over 2 years ago by Lasse Folger <[email protected]>
reflectdata: unroll a loop in array equal function generation

As josharian mentioned, a compare function could benefit from
unrolling a loop for arrays. This ...

1a955bcdb701d788b048a39d7273621729e257bc authored over 2 years ago by vpachkov <[email protected]>
run.bat: use cmd/dist instead of 'go install' to rebuild std and cmd

cmd/dist may set and/or unset variables before building, and at any
rate it is fragile to run 'g...

5210a7128563e64952d432a0efd2d38c32cd090c authored over 2 years ago by Bryan C. Mills <[email protected]>
cmd/go/internal/work: omit modinfo line from cache key when empty

Cache keys are dumped in case of mismatch; an empty modinfo string
adds noise to that dump witho...

592078ff3f7d938b2fbcd98ddcb72e0d2748fdb1 authored over 2 years ago by Bryan C. Mills <[email protected]>
cmd/go: quote fragments in CGO_ env variables reported by 'go env'

These fields have been parsed as quoted fields since CL 334732,
but we missed the unparsing side...

62bceae32de7bad48fbdc1fe3fae14c81cd093d2 authored over 2 years ago by Bryan C. Mills <[email protected]>
crypto/elliptic: delete outdated fuzz test

It had not been doing anything since CL 233939, because the Params
method was getting upgraded t...

a5f801f39d8c9d4df2edfd6ffd9171b9216445d1 authored over 2 years ago by Filippo Valsorda <[email protected]>
crypto/elliptic: fix BenchmarkMarshalUnmarshal/Compressed

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

a041a752955d772a3b5e1080ee7951a66c2be12b authored over 2 years ago by Filippo Valsorda <[email protected]>
api: add x509.CertPool.Equal to next/46057.txt

CL 388915 added an exported API but was authored (and tested)
before the API check became strict...

eec47d06c1bb7ae6156c3910bfec8a0b5244d157 authored over 2 years ago by Dmitri Shuralyov <[email protected]>
crypto/subtle: note that input length mismatch makes ConstantTimeCompare return immediately

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

07b0c57a75d4b8c94b16983c5a78026ba46377ac authored over 2 years ago by Dan Kortschak <[email protected]>
crypto/rand: make Prime not deterministic for a fixed input stream

rand.Prime does not guarantee the precise prime selection algorithm as
part of its contract. For...

c18f398f32c45afe2e9a81a6d885a4e0183cd649 authored over 2 years ago by Filippo Valsorda <[email protected]>
crypto/x509: add CertPool.Equal

Fixes #46057

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

4aacb7ff0f103d95a724a91736823f44aa599634 authored over 2 years ago by Roland Shoemaker <[email protected]>
debug: define ELF relocation for loong64

Contributors to the loong64 port are:
Weining Lu <[email protected]>
Lei Wang <wanglei@l...

cd33b4089caf362203cd749ee1b3680b72a8c502 authored over 2 years ago by Xiaodong Liu <[email protected]>
doc/go_spec.html: update type identity example

In the Type identity section, the example provides various types as givens.

The example refers ...

0b3cb1a56cde72066645a182c93bd710708c45f5 authored over 2 years ago by Jared Horvat <[email protected]>
internal/goexperiment: add GOEXPERIMENT=boringcrypto

Not hooked up to everything else yet.

Copy of CL 395880, for setting up GOEXPERIMENT=boringcryp...

5c4ed73f1c3f2052d8f60ce5ed45d9d4f9686331 authored over 2 years ago by Russ Cox <[email protected]>
make.bash: disable GOEXPERIMENT when using bootstrap toolchain

When using Go 1.4 this doesn't matter, but when using Go 1.17,
the bootstrap toolchain will comp...

ef5505335432572678c19e202e0edde61b7c5b95 authored over 2 years ago by Russ Cox <[email protected]>
unsafe: document that Sizeof includes field alignment

Fixes #52018

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

11ec59a60e0d18e805b7f0c3a2c5ee8c10481877 authored over 2 years ago by Ian Lance Taylor <[email protected]>
cmd/compile: use shlx&shrx instruction for GOAMD64>=v3

The SHRX/SHLX instruction can take any general register as the shift count operand, and can read...

7fbabe8d57de184c75bc938fa619235711bc4229 authored over 2 years ago by Wayne Zuo <[email protected]>
runtime/race: update PPC64LE syso file to new TSAN runtime (v3)

In CL 397494 Linux/PPC64LE syso was not updated due to test
failure. It should be fixed by the ...

6f1dce0fcb03f22402dac00f66a42b8b0f5bef2b authored over 2 years ago by Cherry Mui <[email protected]>
cmd/compile: switch to final unified IR export format

Now that there's a native go/types importer for unified IR, the
compiler no longer needs to stay...

e146d3eafafe149aa3a28e6a251db9c01d04f11d authored over 2 years ago by Matthew Dempsky <[email protected]>
go/internal/gcimporter: add support for unified IR

This CL ports unified IR's types2 importer back to the go/types
API. Notably, it drops support f...

deaec2ecb3cca5b7a151feff2bf195c0fb76d3f5 authored over 2 years ago by Matthew Dempsky <[email protected]>
make.bash: document CC_FOR_${GOOS}_${GOARCH}

Fixes #51306

Change-Id: I5989d86fe5ac4d02793b2ecb00c549d9586763da
GitHub-Last-Rev: 6b0f6bee4342...

7d1e07049fec1d9a9fd4116111e52b161746dbde authored over 2 years ago by uji <[email protected]>
copyright: add Loongson into AUTHORS

Contributors to the loong64 port are:
Weining Lu <[email protected]>
Lei Wang <wanglei@l...

5bfd51147e460bad6615b5baaf68609a413eda1a authored over 2 years ago by Xiaodong Liu <[email protected]>
text/template: permit eq and ne funcs to check against nil

The existing code errors out immediately if the argument is not
"comparable", making it impossib...

c58f1bb65f2187d79a5842bb19f4db4cafd22794 authored over 2 years ago by Rob Pike <[email protected]>
reflect: fix Value.NumMethod docs

NumMethod counts unexported methods for interface types. This
behavior is documented in Type.Num...

ac313524fe4997b80a4221647f0da79d0e07b88e authored over 2 years ago by zlasd <[email protected]>
crypto/x509: only disable SHA-1 verification for certificates

Disable SHA-1 signature verification in Certificate.CheckSignatureFrom,
but not in Certificate.C...

35998c010947d3a5a26409fffcb4ed16c3595850 authored over 2 years ago by Roland Shoemaker <[email protected]>
cmd/compile: support reading union type for compiler backend in unified IR

Fixes #52124

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

efbe17d6f1f016616453d43208200ebf4a45d87c authored over 2 years ago by Cuong Manh Le <[email protected]>
runtime: use proper C ABI for race call on PPC64LE

On PPC64LE, the C ABI requires SP to be 16-byte aligned. Also, in
the C ABI the callee may save ...

c8110c3df64a4eea12334a627cca2b78d6ff3082 authored over 2 years ago by Cherry Mui <[email protected]>
go/types, types2: fix overlap test for union termlist

Per the spec, "the type sets of all non-interface terms must be
pairwise disjoint (the pairwise ...

35fb79be6abc1a9a0860cd28cae89dda038f5125 authored over 2 years ago by Robert Griesemer <[email protected]>
Revert "os: add handling of os.Interrupt for windows"

This reverts CL 367495.

Reason for revert: broke `x/tools` tests on Windows.

Change-Id: Iab6b3...

f86f9a3038eb6db513a0ea36bc2af7a13b005e99 authored over 2 years ago by Bryan Mills <[email protected]>
regexp/syntax: add and use ErrInvalidDepth

The fix for #51112 introduced a depth check but used
ErrInternalError to avoid introduce new API...

1af60b2f4990bffdd1b050ffd11e978578d1e38f authored over 2 years ago by Russ Cox <[email protected]>
cmd/go: prevent panic in go work use

Check if paths passed as arguments are existing directories.

Fixes #51841
Fixes #51749

Change-...

492c85ab84dc1d4d19be0466d2d73f4a6174f07e authored over 2 years ago by Filippo Rossi <[email protected]>
reflect: fix the collision of variable name and package name

The return value "abi" of func "funcLayout" is the same as package
"internal/abi", which current...

884e75fa53529321352a18538fe9e02fd485c49a authored over 2 years ago by hopehook <[email protected]>
cmd/compile: use LZCNT instruction for GOAMD64>=3

LZCNT is similar to BSR, but BSR(x) is undefined when x == 0, so using
LZCNT can avoid a special...

a92ca515077e5cf54673eb8c5c2d9db4824330db authored over 2 years ago by Wayne Zuo <[email protected]>
cmd/compile: add MOVBEWstore support for GOAMD64>=3

This CL add MOVBE support for 16-bit version, but MOVBEWload is
excluded because it does not sat...

ba6df85c7c94c7b26d4979e92fdb9ec7fa4cc1e4 authored over 2 years ago by Wayne Zuo <[email protected]>
os: add handling of os.Interrupt for windows

Add GenerateConsoleCtrlEvent call to internal syscall package.
Define ErrProcessDone while revie...

345184496ce358e663b0150f679d5e5cf1337b41 authored over 2 years ago by Constantin Konstantinidis <[email protected]>
net: support error.Is of network errors and context errors

Change timeouts to be Is(context.DeadlineExceeded) and cancelation to
be Is(context.Canceled).

...

85b5f86584686677c554b2538a7edee96d684aea authored over 2 years ago by Ian Lance Taylor <[email protected]>
cmd/cgo: retain original file paths in godefs generated comment

Don't rewrite relative file paths to absolute file paths in the
godefs generated code comment.

...

73a81d84b644da13bb11ce2e63d7f61041f7ebac authored over 2 years ago by Tobias Klauser <[email protected]>
os: run TestStatSymlinkLoop on all platforms

The test doesn't seem to be specific to Windows, so run in on all
platforms supporting symlinks....

8e50298f12c9cb8dc8093c00059e46a302977b83 authored over 2 years ago by Tobias Klauser <[email protected]>
doc: add illegal octal over 255 example

Octal values over 255, like \400 or \777, are illegal. It wasn't clear if the expected behavior...

01c83be7932e7f51333c813460752f09f78ec2c4 authored over 2 years ago by Zach Collier <[email protected]>
go/types: don't report errors for untyped int shifts on Go < 1.13

CL 337529 introduced upfront type-checking of constant shift operands,
to avoid converting their...

8a816d5efcc842ae92f0193aa9c1d433bd66ef31 authored over 2 years ago by Robert Findley <[email protected]>
strings: document the use of simple case-folding in EqualFold

Fixes #52022

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

f8e70fc9a6d2a88d51d36208e64b12a236fce1b1 authored over 2 years ago by hopehook <[email protected]>
net/netip: improve documentation terminology for IPv4-mapped IPv6 addresses

Updates #51834

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

153c18a515c90a78bf4c90a56e4ba5b700f407b1 authored over 2 years ago by hopehook <[email protected]>
net: in TestNotTemporaryRead, reject io.EOF on platforms other than plan9

Updates #29685

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

67d6a510653c8dcb2e2a4eca5a0e7caf4fe38677 authored over 2 years ago by Bryan C. Mills <[email protected]>
all: remove trailing blank doc comment lines

A future change to gofmt will rewrite

// Doc comment.
//
func f()

to

// Doc comment.
fun...

690ac4071fa3e07113bf371c9e74394ab54d6749 authored over 2 years ago by Russ Cox <[email protected]>
all: fix TODO comment hanging indents

For whatever reason (perhaps some tool does this), a handful of comments,
including some doc com...

89dff118ada91061350aa149b54a2ab4fdbd6810 authored over 2 years ago by Russ Cox <[email protected]>
all: fix various doc comment formatting nits

A run of lines that are indented with any number of spaces or tabs
format as a <pre> block. This...

7d87ccc860dc31c0cd60faf00720e2f30fd37efb authored over 2 years ago by Russ Cox <[email protected]>
crypto/x509: skip WSATRY_AGAIN errors when dialing badssl.com subdomains

(Temporarily, until the root cause of the test failure can be
diagnosed and fixed properly.)

Fo...

df89f2ba53aab53356be197c581d142cefc2c6bc authored over 2 years ago by Bryan C. Mills <[email protected]>
runtime/race: update syso files to new TSAN runtime (v3)

Following CL 333529, update syso files for other architectures.

Windows/AMD64 is not updated, w...

995a6045919e6cf5a46ee09f8695ed5e05062ce7 authored over 2 years ago by Cherry Mui <[email protected]>
debug/dwarf: better error handling in SeekPC

The dwarf.Reader "SeekPC" method was not properly handling the case
of a truncated/empty unit (s...

1fc3346275d0457cfc154b1001b25bd0cb0c1751 authored over 2 years ago by Than McIntosh <[email protected]>
cmd/pprof: point to -h in package documentation

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

2e8dc8f4725c84d352b718620628a4fb0f86e748 authored over 2 years ago by Eli Bendersky <[email protected]>
cmd/asm: add DC instruction on arm64

There was only a placeholder for DC instruction in the previous code.
gVisor needs this instruct...

62d4c32b7e5c1f5954c97c264d1105fc3743220e authored over 2 years ago by erifan01 <[email protected]>
cmd/asm: add TLBI instruction on arm64

There was only a placeholder for TLBI instruction in the previous code.
gVisor needs this instru...

26ab2159694b19ef5feb56f4fe7a9cd18360dcdd authored over 2 years ago by erifan01 <[email protected]>
flag: recover panic when calling String on zero value in PrintDefaults

When printing the usage message, recover panics when calling String
methods on reflect-construct...

029d2c4524e729dbd913475ca4a5138bb6c5e099 authored over 2 years ago by Andrew Gerrand <[email protected]>
runtime: use correct parameter name in comment

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

9d6c711e3c7f16fd4dd2e812d855e881c6692f3e authored over 2 years ago by Ian Lance Taylor <[email protected]>
cmd/asm: refactor some operands that are not special registers on arm64

The previous code treats some operands such as EQ, LT, etc. as special
registers. However, they ...

f5290ef947b2471db27c35321a49b4e3b756e56e authored over 2 years ago by erifan01 <[email protected]>
reflect, runtime: add reflect support for regabi on riscv64

This CL adds regabi support needed for reflect and reimplement
of CL 360994, which is reverted.
...

bb2b16d15ead9c5b6b9e2b699aed8bdfcf7e9518 authored over 2 years ago by Meng Zhuo <[email protected]>
cmd/internal/obj/arm64: fix encoding error for SYS instruction

Currently using the SYS instruction will report the "illegal combination"
error. This is because...

ecee4a32918c5e575303530abb9a504a235a1c71 authored over 2 years ago by eric fang <[email protected]>
cmd/dist: enable msan/asan

Supporting memory sanitizer and address sanitizer in toolchains

Change-Id: Ie292657b78954d65bd7...

be8ee5a58f8c30e95e425779fb31b2ae4e35cb8c authored over 2 years ago by Meng Zhuo <[email protected]>
mime/multipart: allow nested boundary with outer boundary+dash prefix

Fixes #46042

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

c4efe7fb2777fca05a904b0c62bee8915e13b03f authored over 2 years ago by Olivier Szika <[email protected]>
cmd/internal/obj/riscv: fix illegal form of MOV instructions

The MOV like instructions should only have two operands.

Change-Id: Icbfb49e47a91ac305194c2f140...

5dbfa6e61a2a733bca601c330967d12a3a5b12f4 authored over 2 years ago by Ben Shi <[email protected]>
debug/elf: ajdust SectionOverlap test for proper fields

The current SectionOverlap tests Size (addr) with Offset (file)

This CL set this test for overl...

baf6df06c0525b0bbcf43066f3360eb31b8e7941 authored over 2 years ago by Meng Zhuo <[email protected]>
cmd/compile: use opregreg for x86.AXOR* ops

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

a4ffeb9edd23e1edbea87eb9ebd8cbb84fad6efa authored over 2 years ago by nimelehin <[email protected]>
runtime: check GOAMD64 v4 compatibility on Darwin

Darwin requires a different approach to check AVX512 support.

Update #45453

Change-Id: Ia3dfec...

6a40bdcbaf97ca6a815bf48998d90ccfa5a0b6fc authored over 2 years ago by vpachkov <[email protected]>
net/http: handle 3xx responses with no Location

RFC 7231 does not require that a 3xx response contain a Location header.
When receiving such a r...

a41763539c7ad09a22720a517a28e6018ca4db0f authored over 2 years ago by Damien Neil <[email protected]>
mime/multipart: unified Part and Reader receiver name

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

fb2a9d27e395af5bb0c88d0fa453bba868275800 authored over 2 years ago by Wayne Zuo <[email protected]>
crypto/x509: properly handle issuerUniqueID and subjectUniqueID

Fixes #51754

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

9a53b472b5ed41f9fe79a73f1236ed3f45f8871a authored over 2 years ago by Roland Shoemaker <[email protected]>
net: skip tests that use netsh on the windows-arm64-10 builder

These tests sometimes hang on Windows 10 on ARM64, due to what appears
to be a platform bug. Sin...

ff6b6c61d7818e4a32402acbf65940afa372368e authored over 2 years ago by Bryan C. Mills <[email protected]>
syscall: relax output check in TestGroupCleanupUserNamespace

“If you have a procedure with ten parameters, you probably missed some.”
― attr. Alan J. Perlis
...

434b2a5d0dbdfdce6327beb06ca03c02b3fd2785 authored over 2 years ago by Bryan C. Mills <[email protected]>
cmd/go: prevent go work use panic when given a file

The current implementation fails to identify that an argument to go work
use is a file when expe...

a84ef500213ef6c2a0e4bfd82253e9fcd28f1f62 authored over 2 years ago by John Anthony <[email protected]>
strconv: quote rune 007F as \x7f, not \u007f

\u007f is not wrong but it's weird to use \u when we could use the
shorter \x.

Fixes #52062

Ch...

31ee4bb28dff98f29654e7f1b43488641b3157db authored over 2 years ago by Ian Lance Taylor <[email protected]>
cmd/go: allow either test to complete first in TestScript/test_chatty_parallel_success_run

This fixes a failure mode observed in
https://build.golang.org/log/7b28a914b1914dabe94f7c4e36ad6...

825309962fd6d8e34f7f38f51c4994395826d139 authored over 2 years ago by Bryan C. Mills <[email protected]>
cmd/compile: better propagation of desired registers

This fixes two independent problems:

We normally propagate desired registers backwards through ...

bdd0f0f780cf650ed7844dbc1bcfab20460783cc authored over 2 years ago by Keith Randall <[email protected]>
runtime: rewrite stale comment about pacer

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

23756207fb68c34ae15a030319dc31248e21cf45 authored over 2 years ago by Michael Anthony Knyszek <[email protected]>
runtime: add wrappers for sys* functions and consolidate docs

This change lifts all non-platform-specific code out of sys* functions
for each platform up into...

f990b0f1e80cf6152219b4d3f9a397899e8d6d40 authored over 2 years ago by Michael Anthony Knyszek <[email protected]>
runtime: remove intermediate fields in memstats for ReadMemStats

Currently, the ReadMemStats (really this is all happening in
readmemstats_m, but that's just a d...

4a56ba1c453927256f231a8bcef316bb4b3aa68a authored over 2 years ago by Michael Anthony Knyszek <[email protected]>
runtime: remove old pacer and the PacerRedesign goexperiment

Now that Go 1.18 has been released, remove the old pacer.

Change-Id: Ie7a7596d67f3fc25d3f375a08...

3334afd7609185574ad179cb030064f0825c2101 authored over 2 years ago by Michael Anthony Knyszek <[email protected]>
runtime/internal/atomic: add Bool

This change adds the Bool type, a convenient wrapper around Uint8 for
atomic bool values.

Chang...

f1b5c048d7b7589a5b3ae423114baf27b3456021 authored over 2 years ago by Michael Anthony Knyszek <[email protected]>
runtime: remove AVX2less code in memclrNoHeapPointers for GOAMD64 >= 3

Optimize memclr by removing simple case loop along with the
runtime check since AVX2 is guarante...

12acf9b0f009305eefc71d4cee8808cc244e86aa authored over 2 years ago by vpachkov <[email protected]>
cmd/link/internal/ld: revise recipe for ASLR enable on windows

When doing external linking on windows, the existing Go linker code
assumed that the external li...

cc3a3519af5b8b4cf26bf27133675776fdfcaeb9 authored over 2 years ago by Than McIntosh <[email protected]>
cmd/go: update TestCgoHandlesWlORIGIN to avoid -rpath on windows

Tweak the cgo recipe for the TestCgoHandlesWlORIGIN testpoint to avoid
using "-rpath" on Windows...

f7670b9f9471d0d40666c28faaaa67851eb8ec2e authored over 2 years ago by Than McIntosh <[email protected]>
cmd/compile: remove a false dependency for TZCNT

LZCNT/TZCNT on some Intel CPUs suffer from a false dependency on
the destination register.

The ...

96081f854547353caaa77b795974f76b24572493 authored over 2 years ago by nimelehin <[email protected]>
go/build: set allTags even when short-circuiting x_GOOS_GOARCH.go

Fixes #52053

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

9743fdd097171cada6231503974209edc5400ee8 authored over 2 years ago by Ian Lance Taylor <[email protected]>
cmd/compile: clean up arm64 32bit pointer in Reverse

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

40504892c1720a3a36d82c492fd2302b7ccb870a authored over 2 years ago by Wayne Zuo <[email protected]>
cmd/compile: fix clobberFlags for BSWAP

BSWAP does not affect EFLAGS on neither 386 nor x64. Set the clobberFlags value accordingly.

Ch...

913ecf492d99801eefdebd7eb6773a5ea98107f8 authored over 2 years ago by Jakub Ciolek <[email protected]>
debug/pe: skip TestReadCOFFSymbolAuxInfo on big-endian systems

Disable the new TestReadCOFFSymbolAuxInfo testpoint on big endian
systems, pending resolution of...

c5c66d78b21074c562ece01d6682d4a499815786 authored over 2 years ago by Than McIntosh <[email protected]>
cmd/compile: simplify func value symbol generation

Currently, in most cases the compiler generates a func value
symbol when it is referenced, excep...

b1e83c0513cc009192ebb6fcf5e232adf23552d4 authored over 2 years ago by Cherry Mui <[email protected]>
test: update comments in run.go (cleanup)

The -G compiler option doesn't exist anymore. Update some variable
names and comments to reflect...

b76f8df1334993cb5d43b2d883fdb0ed66b402f6 authored over 2 years ago by Robert Griesemer <[email protected]>
crypto/elliptic: tolerate zero-padded scalars in generic P-256

Fixes #52075

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

37065847d87df92b5eb246c88ba2085efcf0b331 authored over 2 years ago by Filippo Valsorda <[email protected]>
runtime: remove use of -mnop-fun-dllimport from cgotest win.go

This flag is not supported by clang, so remove it from the cgo cflags
when building for windows....

5138401209a70475451561b18d2c6d92bda93810 authored over 2 years ago by Than McIntosh <[email protected]>
cmd/link/internal/loadpe: add rudimentary COMDAT support

Add some rudimentary support to the PE file loader for handling
sections in COMDAT when reading ...

1edc2769ca5eb60293747c37e765bc56ce04d2da authored over 2 years ago by Than McIntosh <[email protected]>
debug/pe: add APIs for reading section def aux info

Add hooks to support reading of section definition symbol aux data
(including COMDAT information...

378221bd6e73bdc21884fed9e32f53e6672ca0cd authored over 2 years ago by Than McIntosh <[email protected]>
cmd/link: resolve __CTOR_LIST__/__DTOR_LIST__ refs for PE

When doing an internal link on Windows, it's possible to see
unresolved references to the symbol...

cdee8004ab5fa71d705979eaaee0948200256ed0 authored over 2 years ago by Than McIntosh <[email protected]>
go/types, types2: better error message for invalid type parameter term

The spec says "In a union, a term cannot be a type parameter,...",
but it's really the type in a...

2ea9376266b71e8a0752b8b3663bbf5b9ed48c4d authored over 2 years ago by Robert Griesemer <[email protected]>
debug/elf: check for negative shoff and phoff fields

No test because we could add an infinite number of tests of bogus data.

For #47653
Fixes #52035...

109a18dce7ef8ecb2aa60cef25362ebd05661ea0 authored over 2 years ago by Ian Lance Taylor <[email protected]>
cmd/link: read crt2.o for windows internal-linking CGO

For Windows internal linking with CGO, when using more modern
LLVM-based compilers, we may need ...

a9d13a9c230bafba64469f126202315ba4d24eea authored over 2 years ago by Than McIntosh <[email protected]>
cmd/link/internal/loadpe: generalize handling of "__imp_*" syms

The existing PE file loader has a special case for the symbol
"__acrt_iob_func", whose hosting o...

821420d6bbc53d4cd8b3f9a903fccd0c6432eb6f authored over 2 years ago by Than McIntosh <[email protected]>