Commit 6e46c8fb authored by Matthew Dempsky's avatar Matthew Dempsky
Browse files

[dev.typeparams] all: merge dev.regabi (7e0a81d2) into dev.typeparams

As with CL 285875, this required resolving some conflicts around
handling of //go:embed directives. Still further work is needed to
reject uses of //go:embed in files that don't import "embed", so this
is left as a TODO. (When this code was written for dev.typeparams, we
were still leaning towards not requiring the "embed" import.)

Also, the recent support for inlining closures (CL 283112) interacts
poorly with -G=3 mode. There are some known issues with this code
already (#43818), so for now this CL disables inlining of closures
when in -G=3 mode with a TODO to revisit this once closure inlining is
working fully.

Conflicts:

- src/cmd/compile/internal/noder/noder.go
- src/cmd/compile/internal/typecheck/dcl.go
- src/cmd/compile/internal/typecheck/func.go
- test/run.go

Merge List:

+ 2021-01-22 7e0a81d2 [dev.regabi] all: merge master (dab3e5af) into dev.regabi
+ 2021-01-22 dab3e5af runtime: switch runtime to libc for openbsd/amd64
+ 2021-01-22 a1b53d85 cmd/go: add documentation for test and xtest fields output by go list
+ 2021-01-22 b268b607 runtime: remove pthread_kill/pthread_self for openbsd
+ 2021-01-22 ec405176 runtime: fix typo in mgcscavenge.go
+ 2021-01-22 7ece3a7b net/http: fix flaky TestDisableKeepAliveUpgrade
+ 2021-01-22 50cba050 time: clarify Timer.Reset behavior on AfterFunc Timers
+ 2021-01-22 cf10e69f doc/go1.16: mention net/http.Transport.GetProxyConnectHeader
+ 2021-01-22 ec1b9452 doc/go1.16: mention path/filepath.WalkDir
+ 2021-01-22 11def3d4 doc/go1.16: mention syscall.AllThreadsSyscall
+ 2021-01-21 07b02356 doc/go1.16: add notes about package-specific fs.FS changes
+ 2021-01-21 e2b4f1fe doc/go1.16: minor formatting fix
+ 2021-01-21 9f43a9e0 doc/go1.16: mention new debug/elf constants
+ 2021-01-21 3c2f11ba cmd/go: overwrite program name with full path
+ 2021-01-21 953d1fec all: introduce and use internal/execabs
+ 2021-01-21 b186e4d7 cmd/go: add test case for cgo CC setting
+ 2021-01-21 5a8a2265 cmd/cgo: report exec errors a bit more clearly
+ 2021-01-21 46e2e2e9 cmd/go: pass resolved CC, GCCGO to cgo
+ 2021-01-21 3d40895e runtime: switch openbsd/arm64 to pthreads
+ 2021-01-21 d95ca913 crypto/elliptic: fix P-224 field reduction
+ 2021-01-21 d7e71c01 [dev.regabi] cmd/compile: replace ir.Name map with ir.NameSet for dwarf
+ 2021-01-21 5248f59a [dev.regabi] cmd/compile: replace ir.Name map with ir.NameSet for SSA
+ 2021-01-21 970d8b6c [dev.regabi] cmd/compile: replace ir.Name map with ir.NameSet in inlining
+ 2021-01-21 68a46644 [dev.regabi] cmd/compile: remove tempAssigns in walkCall1
+ 2021-01-21 fd9a391c [dev.regabi] cmd/compile: remove CallExpr.Rargs
+ 2021-01-21 19a6db6b [dev.regabi] cmd/compile: make sure mkcall* passed non-nil init
+ 2021-01-21 9f036844 [dev.regabi] cmd/compile: use ir.DoChildren directly in inlining
+ 2021-01-21 213c3905 [dev.regabi] cmd/compile: use node walked flag to prevent double walk for walkSelect
+ 2021-01-20 1760d736 [dev.regabi] cmd/compile: exporting, importing, and inlining functions with OCLOSURE
+ 2021-01-20 ecf4ebf1 cmd/internal/moddeps: check content of all modules in GOROOT
+ 2021-01-20 92cb157c [dev.regabi] cmd/compile: late expansion of return values
+ 2021-01-20 d2d155d1 runtime: don't adjust timer pp field in timerWaiting status
+ 2021-01-20 803d18fc cmd/go: set Incomplete field on go list output if no files match embed
+ 2021-01-20 6e243ce7 cmd/go: have go mod vendor copy embedded files in subdirs
+ 2021-01-20 be28e5ab cmd/go: fix mod_get_fallback test
+ 2021-01-20 928bda4f runtime: convert openbsd/amd64 locking to libc
+ 2021-01-19 824f2d63 cmd/go: allow go fmt to complete when embedded file is missing
+ 2021-01-19 0575e35e cmd/compile: require 'go 1.16' go.mod line for //go:embed
+ 2021-01-19 9423d50d [dev.regabi] cmd/compile: use '%q' for printing rune values less than 128
+ 2021-01-19 ccb2e906 cmd/link: exit before Asmb2 if error
+ 2021-01-19 ca5774a5 embed: treat uninitialized FS as empty
+ 2021-01-19 d047c91a cmd/link,runtime: switch openbsd/amd64 to pthreads
+ 2021-01-19 61debffd runtime: factor out usesLibcall
+ 2021-01-19 9fed39d2 runtime: factor out mStackIsSystemAllocated
+ 2021-01-19 a2f825c5 [dev.regabi] cmd/compile: directly create go.map and go.track symbols
+ 2021-01-19 4a4212c0 [dev.regabi] cmd/compile: refactor Linksym creation
+ 2021-01-19 4f5c603c [dev.regabi] cmd/compile: cleanup callTargetLSym
+ 2021-01-18 dbab0798 runtime: free Windows event handles after last lock is dropped
+ 2021-01-18 5a8fbb0d os: do not close syscall.Stdin in TestReadStdin
+ 2021-01-18 422f38fb [dev.regabi] cmd/compile: move stack objects to liveness
+ 2021-01-18 6113db0b [dev.regabi] cmd/compile: convert OPANIC argument to interface{} during typecheck
+ 2021-01-18 4c835f91 [dev.regabi] cmd/compile: use LinksymOffsetExpr in TypePtr/ItabAddr
+ 2021-01-18 0ffa1ead [dev.regabi] cmd/compile: use *obj.LSym instead of *ir.Name for staticdata functions
+ 2021-01-17 7e0fa38a [dev.regabi] cmd/compile: remove unneeded packages from ir.Pkgs
+ 2021-01-17 99a5db11 [dev.regabi] cmd/compile: use LinksymOffsetExpr in walkConvInterface
+ 2021-01-17 87845d14 [dev.regabi] cmd/compile: add ir.TailCallStmt
+ 2021-01-17 e3027c68 [dev.regabi] cmd/compile: fix linux-amd64-noopt builder
+ 2021-01-17 59ff93fe [dev.regabi] cmd/compile: rename NameOffsetExpr to LinksymOffsetExpr
+ 2021-01-17 82b9cae7 [dev.regabi] cmd/compile: change ir.NameOffsetExpr to use *obj.LSym instead of *Name
+ 2021-01-17 88956fc4 [dev.regabi] cmd/compile: stop analyze NameOffsetExpr.Name_ in escape analysis
+ 2021-01-17 7ce2a838 [dev.regabi] cmd/compile: simplify stack temp initialization
+ 2021-01-17 ba0e8a92 [dev.regabi] cmd/compile: refactor temp construction in walk
+ 2021-01-17 78e5aabc [dev.regabi] cmd/compile: replace Node.HasCall with walk.mayCall
+ 2021-01-16 6de94234 [dev.regabi] cmd/compile: cleanup OAS2FUNC ordering
+ 2021-01-16 a956a0e9 [dev.regabi] cmd/compile, runtime: fix up comments/error messages from recent renames
+ 2021-01-16 ab3b67ab [dev.regabi] cmd/compile: remove ONEWOBJ
+ 2021-01-16 c9b1445a [dev.regabi] cmd/compile: remove TypeAssertExpr {Src,Dst}Type fields
+ 2021-01-15 682a1d21 runtime: detect errors in DuplicateHandle
+ 2021-01-15 9f83418b cmd/link: remove GOROOT write in TestBuildForTvOS
+ 2021-01-15 ec947016 cmd/compile: allow embed into any string or byte slice type
+ 2021-01-15 54198b04 cmd/compile: disallow embed of var inside func
+ 2021-01-15 b386c735 cmd/go: fix go generate docs
+ 2021-01-15 bb5075a5 syscall: remove RtlGenRandom and move it into internal/syscall
+ 2021-01-15 1deae0b5 os: invoke processKiller synchronously in testKillProcess
+ 2021-01-15 03a87513 [dev.regabi] cmd/compile: unexport reflectdata.WriteType
+ 2021-01-15 14537e6e [dev.regabi] cmd/compile: move stkobj symbol generation to SSA
+ 2021-01-15 ab523fc5 [dev.regabi] cmd/compile: don't promote Byval CaptureVars if Addrtaken
+ 2021-01-15 ff196c3e crypto/x509: update iOS bundled roots to version 55188.40.9
+ 2021-01-15 b7a698c7 [dev.regabi] test: disable test on windows because expected contains path separators.
+ 2021-01-15 4be7af23 [dev.regabi] cmd/compile: fix ICE during ir.Dump
+ 2021-01-14 e125ccd1 cmd/go: in 'go mod edit', validate versions given to -retract and -exclude
+ 2021-01-14 eb330020 cmd/dist, cmd/go: pass -arch for C compilation on Darwin
+ 2021-01-14 84e8a06f cmd/cgo: remove unnecessary space in cgo export header
+ 2021-01-14 0c86b999 cmd/test2json: document passing -test.paniconexit0
+ 2021-01-14 91357958 cmd/go/internal/load: report positions for embed errors
+ 2021-01-14 35b9c666 [dev.regabi] cmd/compile,cmd/link: additional code review suggestions for CL 270863
+ 2021-01-14 d9b79e53 cmd/compile: fix wrong complement for arm64 floating-point comparisons
+ 2021-01-14 c73232d0 cmd/go/internal/load: refactor setErrorPos to PackageError.setPos
+ 2021-01-14 6aa28d3e go/build: report positions for go:embed directives
+ 2021-01-14 9734fd48 [dev.regabi] cmd/compile: use node walked flag to prevent double walk for walkSwitch
+ 2021-01-14 f9798324 [dev.regabi] cmd/compile: move more PAUTOHEAP to SSA construction
+ 2021-01-14 44763004 [dev.regabi] cmd/compile: use byte for CallExpr.Use
+ 2021-01-14 5a5ab246 [dev.regabi] cmd/compile: do not rely on CallExpr.Rargs for detect already walked calls
+ 2021-01-14 983ac4b0 [dev.regabi] cmd/compile: fix ICE when initializing blank vars
+ 2021-01-13 7eb31d99 cmd/go: add hints to more missing sum error messages
+ 2021-01-13 d6d46737 [dev.regabi] cmd/compile: fix GOEXPERIMENT=regabi builder
+ 2021-01-13 c41b999a [dev.regabi] cmd/compile: refactor abiutils from "gc" into new "abi"
+ 2021-01-13 861707a8 [dev.regabi] cmd/compile: added limited //go:registerparams pragma for new ABI dev
+ 2021-01-13 c1370e91 [dev.regabi] cmd/compile: add code to support register ABI spills around morestack calls
+ 2021-01-13 2abd24f3 [dev.regabi] test: make run.go error messages slightly more informative
+ 2021-01-13 9a19481a [dev.regabi] cmd/compile: make ordering for InvertFlags more stable
+ 2021-01-12 ba76567b cmd/go/internal/modload: delete unused *mvsReqs.next method
+ 2021-01-12 665def2c encoding/asn1: document unmarshaling behavior for IMPLICIT string fields
+ 2021-01-11 81ea89ad cmd/go: fix non-script staleness checks interacting badly with GOFLAGS
+ 2021-01-11 75930902 doc: update editors.html for Go 1.16
+ 2021-01-11 c3b4c709 cmd/internal/objfile: don't require runtime.symtab symbol for XCOFF
+ 2021-01-08 59bfc18e cmd/go: add hint to read 'go help vcs' to GOVCS errors
+ 2021-01-08 cd6f3a54 cmd/go: revise 'go help' documentation for modules
+ 2021-01-08 6192b987 cmd/go: make hints in error messages more consistent
+ 2021-01-08 25886cf4 cmd/go: preserve sums for indirect deps fetched by 'go mod download'
+ 2021-01-08 62508339 runtime/metrics: mark histogram metrics as cumulative
+ 2021-01-08 8f6a9acb runtime/metrics: remove unused StopTheWorld Description field
+ 2021-01-08 6598c656 cmd/compile: fix exponential-time init-cycle reporting
+ 2021-01-08 fefad1dc test: fix timeout code for invoking compiler
+ 2021-01-08 6728118e cmd/go: pass signals forward during "go tool"
+ 2021-01-08 e65c543f go/build/constraint: add parser for build tag constraint expressions
+ 2021-01-08 0c5afc4f testing/fstest,os: clarify racy behavior of TestFS
+ 2021-01-08 32afcc94 runtime/metrics: change unit on *-by-size metrics to match bucket unit
+ 2021-01-08 c6513bca io/fs: minor corrections to Glob doc
+ 2021-01-08 304f769f cmd/compile: don't short-circuit copies whose source is volatile
+ 2021-01-08 ae977171 runtime,runtime/metrics: use explicit histogram boundaries
+ 2021-01-08 a9ccd2d7 go/build: skip string literal while findEmbed
+ 2021-01-08 d92f8add archive/tar: fix typo in comment
+ 2021-01-08 cab12021 cmd/link: accept extra blocks in TestFallocate
+ 2021-01-08 ee4d3224 io/fs: minor corrections to Glob release date
+ 2021-01-08 54bd1ccc cmd: update to latest golang.org/x/tools
+ 2021-01-07 9ec21a8f Revert "reflect: support multiple keys in struct tags"
+ 2021-01-07 091414b5 io/fs: correct WalkDirFunc documentation
+ 2021-01-07 9b55088d doc/go1.16: add release note for disallowing non-ASCII import paths
+ 2021-01-07 fa90aaca cmd/compile: fix late expand_calls leaf type for OpStructSelect/OpArraySelect
+ 2021-01-07 7cee66d4 cmd/go: add documentation for Embed fields in go list output
+ 2021-01-07 e60cffa4 html/template: attach functions to namespace
+ 2021-01-07 6da2d3b7 cmd/link: fix typo in asm.go
+ 2021-01-07 df81a158 runtime: check mips64 VDSO clock_gettime return code
+ 2021-01-06 4787e906 crypto/x509: rollback new CertificateRequest fields
+ 2021-01-06 c9658bee cmd/go: make module suggestion more friendly
+ 2021-01-06 4c668b25 runtime/metrics: fix panic message for Float64Histogram
+ 2021-01-06 d2131704 net/http/httputil: fix deadlock in DumpRequestOut
+ 2021-01-05 3e1e13ce cmd/go: set cfg.BuildMod to "readonly" by default with no module root
+ 2021-01-05 0b0d0049 cmd/go: pass embedcfg to gccgo if supported
+ 2021-01-05 1b85e7c0 cmd/go: don't scan gccgo standard library packages for imports
+ 2021-01-05 6b37b15d runtime: don't take allglock in tracebackothers
+ 2021-01-04 9eef49cf math/rand: fix typo in comment
+ 2021-01-04 b01fb2af testing/fstest: fix typo in error message
+ 2021-01-01 3dd58676 doc: 2021 is the Year of the Gopher
+ 2020-12-31 95ce805d io/fs: remove darwin/arm64 special condition
+ 2020-12-30 20d0991b lib/time, time/tzdata: update tzdata to 2020f
+ 2020-12-30 ed301733 misc/cgo/testcarchive: remove special flags for Darwin/ARM
+ 2020-12-30 0ae2e032 misc/cgo/test: enable TestCrossPackageTests on darwin/arm64
+ 2020-12-29 780b4de1 misc/ios: fix wording for command line instructions
+ 2020-12-29 b4a71c95 doc/go1.16: reference misc/ios/README for how to build iOS programs
+ 2020-12-29 f83e0f66 misc/ios: add to README how to build ios executables
+ 2020-12-28 4fd94558 io/fs: fix typo in comment

Change-Id: If24bb93f1e1e7deb1d92ba223c85940ab93b2732
parents e4ef30a6 7e0a81d2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment