-
Notifications
You must be signed in to change notification settings - Fork 19k
Comparing changes
Open a pull request
base repository: golang/go
base: go1.22.5
head repository: golang/go
compare: go1.22.6
- 11 commits
- 19 files changed
- 10 contributors
Commits on Jul 10, 2024
-
[release-branch.go1.22] os/exec: only use cachedLookExtensions if Cmd…
….Path is unmodified Caching the invocation of lookExtensions on an absolute path in Command and reusing the cached result in Start is only viable if Cmd.Path isn't set to a different value after Command returns. For #66586. For #68314. Fixes #68331. Change-Id: I57007850aca2011b11344180c00faded737617b5 Reviewed-on: https://go-review.googlesource.com/c/go/+/596875 Reviewed-by: qiu laidongfeng2 <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]> Auto-Submit: Dmitri Shuralyov <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> (cherry picked from commit d0146bd) Reviewed-on: https://go-review.googlesource.com/c/go/+/596976
Configuration menu - View commit details
-
Copy full SHA for ea96074 - Browse repository at this point
Copy the full SHA ea96074View commit details -
[release-branch.go1.22] cmd/go: fix build config before creating acti…
…ons for 'go list -cover' When -covermode is set to atomic, instrumented packages need to import sync/atomic. If this is not already imported by a package being instrumented, the build needs to ensure that sync/atomic is compiled whenever 'go list' is run in a way that triggers package builds. The build config was already being made to ensure the import, but only after the action graph had been created, so there was no guarantee that sync/atomic would be built when needed. For #65264. For #68212 Fixes #68222 Change-Id: Ib3f1e102ce2ef554ea08330d9db69a8c98790ac5 Reviewed-on: https://go-review.googlesource.com/c/go/+/560236 Run-TryBot: Bryan Mills <[email protected]> Auto-Submit: Bryan Mills <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Reviewed-by: Bryan Mills <[email protected]> Reviewed-by: Michael Matloob <[email protected]> (cherry picked from commit ac08c05) Reviewed-on: https://go-review.googlesource.com/c/go/+/595496 LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Than McIntosh <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 49906f9 - Browse repository at this point
Copy the full SHA 49906f9View commit details -
[release-branch.go1.22] cmd/compile: don't elide zero extension on to…
…p of signed values v = ... compute some value, which zeros top 32 bits ... w = zero-extend v We want to remove the zero-extension operation, as it doesn't do anything. But if v is typed as a signed value, and it gets spilled/restored, it might be re-sign-extended upon restore. So the zero-extend isn't actually a NOP when there might be calls or other reasons to spill in between v and w. Fixes #68230 Change-Id: I3b30b8e56c7d70deac1fb09d2becc7395acbadf8 Reviewed-on: https://go-review.googlesource.com/c/go/+/595675 LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Joedian Reid <[email protected]> Reviewed-by: Cuong Manh Le <[email protected]> Reviewed-by: Cherry Mui <[email protected]> (cherry picked from commit 7f90b96) Reviewed-on: https://go-review.googlesource.com/c/go/+/595696 Reviewed-by: Keith Randall <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 45f9ded - Browse repository at this point
Copy the full SHA 45f9dedView commit details -
[release-branch.go1.22] cmd/link: don't let dsymutil delete our temp …
…directory To work around #59026, where dsymutil may not clean up its temp directory at exit, we set DSYMUTIL_REPRODUCER_PATH to our temp directory so it uses that, and we can delete it at the end. In Xcode 16 beta, dsymutil deletes the DSYMUTIL_REPRODUCER_PATH directory even if it is not empty. We still need our tmpdir at the point, so give a subdirectory to dsymutil instead. Updates #68088. Fixes #68198. Change-Id: I18759cc39512819bbd0511793ce917eae72245d6 Reviewed-on: https://go-review.googlesource.com/c/go/+/593659 Reviewed-by: Than McIntosh <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> (cherry picked from commit 5f319b7) Reviewed-on: https://go-review.googlesource.com/c/go/+/596455
Configuration menu - View commit details
-
Copy full SHA for 4e548f2 - Browse repository at this point
Copy the full SHA 4e548f2View commit details
Commits on Jul 16, 2024
-
[release-branch.go1.22] go/types: fix assertion failure when range ov…
…er int is not permitted Fixes an assertion failure in Checker.rangeStmt that range over int only has a key type and no value type. When allowVersion failed, rangeKeyVal returns Typ[Invalid] for the value instead of nil. When Config.Error != nil, rangeStmt proceeded. The check for rhs[1]==nil was not enough to catch this case. It must also check rhs[1]== Fixes #68334 Fixes #68370 Change-Id: Iffa1b2f7b6a94570ec50b8c6603e727a45ba3357 Reviewed-on: https://go-review.googlesource.com/c/go/+/597356 Reviewed-by: Robert Findley <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> (cherry picked from commit 4e77872) Reviewed-on: https://go-review.googlesource.com/c/go/+/598055
Configuration menu - View commit details
-
Copy full SHA for 4b27560 - Browse repository at this point
Copy the full SHA 4b27560View commit details
Commits on Jul 17, 2024
-
[release-branch.go1.22] internal/bytealg: extend memchr result correc…
…tly on wasm The mem address should be regarded as uint32. Fixes #68475 Change-Id: Icee38d11f2d93eeca7d50b2e133159e321daeb90 GitHub-Last-Rev: c2568b1 GitHub-Pull-Request: #68400 Reviewed-on: https://go-review.googlesource.com/c/go/+/597955 Reviewed-by: Keith Randall <[email protected]> Reviewed-by: Keith Randall <[email protected]> Reviewed-by: Cuong Manh Le <[email protected]> Reviewed-by: Cherry Mui <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> (cherry picked from commit 90c6558) Reviewed-on: https://go-review.googlesource.com/c/go/+/598975
Configuration menu - View commit details
-
Copy full SHA for 9e148a4 - Browse repository at this point
Copy the full SHA 9e148a4View commit details -
[release-branch.go1.22] cmd/internal/cov: close counter data files ea…
…gerly When reading the counter data files from a given pod, close the underlying *os.File immediately after each one is read, as opposed to using a deferred close in the loop (which will close them all at the end of the function). Doing things this way avoids running into "too many open files" when processing large clumps of counter data files. Fixes #68492. Updates #68468. Change-Id: Ic1fe1d36c44d3f5d7318578cd18d0e65465d71d9 Reviewed-on: https://go-review.googlesource.com/c/go/+/598735 Reviewed-by: Cherry Mui <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> (cherry picked from commit 3557118) Reviewed-on: https://go-review.googlesource.com/c/go/+/599036
Configuration menu - View commit details
-
Copy full SHA for 4c50f91 - Browse repository at this point
Copy the full SHA 4c50f91View commit details
Commits on Jul 24, 2024
-
[release-branch.go1.22] cmd/trace/v2: handle the -pprof flag
Turns out we ported all the profile generation, but forgot to actually support the command line flags for them! This change fixes the issue by handling the different kinds of profiles and writing them out to stdout. For #66782 For #68542 For #68546 Change-Id: I7756fb4636ce8daaf11ed471be79c86ce3d463cc Reviewed-on: https://go-review.googlesource.com/c/go/+/578318 Reviewed-by: Carlos Amedee <[email protected]> Auto-Submit: Michael Knyszek <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> (cherry picked from commit e14aad1) Reviewed-on: https://go-review.googlesource.com/c/go/+/600255 Reviewed-by: Michael Knyszek <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> Auto-Submit: Dmitri Shuralyov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2c88c1d - Browse repository at this point
Copy the full SHA 2c88c1dView commit details -
[release-branch.go1.22] cmd/trace/v2: make the -pprof actually useful
In both the v1 and v2 cmd/trace, pprofMatchingGoroutines will generate no output at all if the filter name passed to it is the empty string. This is rather pointless because there are at least two places where we don't pass a name to filter. Modify pprofMatchingGoroutines to include *all* goroutines in the trace if the name to filter by is not specified. For #66782 Fixes #68542 Fixes #68546 Change-Id: I6b72298d676bc93892b075a7426e6e56bc6656c7 Reviewed-on: https://go-review.googlesource.com/c/go/+/578356 LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Carlos Amedee <[email protected]> Auto-Submit: Michael Knyszek <[email protected]> (cherry picked from commit d1f2cd8) Reviewed-on: https://go-review.googlesource.com/c/go/+/600275 Reviewed-by: Michael Knyszek <[email protected]> Auto-Submit: Dmitri Shuralyov <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 70a1aae - Browse repository at this point
Copy the full SHA 70a1aaeView commit details
Commits on Jul 31, 2024
-
[release-branch.go1.22] cmd/compile: add 0-sized-value simplification…
… to copyelim The problem was caused by faulty handling of unSSA-able operations on zero-sized data in expand calls, but there is no point to operations on zero-sized data. This CL adds a simplify step to the first place in SSA where all values are processed and replaces anything producing a 0-sized struct/array with the corresponding Struct/Array Make0 operation (of the appropriate type). I attempted not generating them in ssagen, but that was a larger change, and also had bugs. This is simple and obvious. The only question is whether it would be worthwhile to do it earlier (in numberlines or phielem). Fixes #68594. Fixes #68585. Change-Id: I0a596b3d272798015e7bb6b1a20411241759fe0e Reviewed-on: https://go-review.googlesource.com/c/go/+/568258 Reviewed-by: Cuong Manh Le <[email protected]> Reviewed-by: Keith Randall <[email protected]> Reviewed-by: Keith Randall <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> (cherry picked from commit 6f5d774) Reviewed-on: https://go-review.googlesource.com/c/go/+/601195
Configuration menu - View commit details
-
Copy full SHA for 8c8adff - Browse repository at this point
Copy the full SHA 8c8adffView commit details
Commits on Aug 6, 2024
-
[release-branch.go1.22] go1.22.6
Change-Id: I44f2d95946993adffabc021347afdc41ca974ccd Reviewed-on: https://go-review.googlesource.com/c/go/+/603416 Reviewed-by: David Chase <[email protected]> Reviewed-by: Michael Knyszek <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Auto-Submit: Gopher Robot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cb4eee6 - Browse repository at this point
Copy the full SHA cb4eee6View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff go1.22.5...go1.22.6