go/src/internal
Matthew Dempsky 9371a65584 internal/pkgbits: change EnableSync into a dynamic knob
Rather than requiring users to recompile the compiler and all tools to
enable/disable sync markers, this CL adds a flag word into the Unified
IR file format to allow indicating whether they're enabled or not.
This in turn requires bumping the file format version.

Thanks to drchase@ for benchmarks showing this isn't as expensive as I
feared it would be.

Change-Id: I99afa0ee0b6ef5f30ed8ca840805ff9fd46b1857
Reviewed-on: https://go-review.googlesource.com/c/go/+/417097
Reviewed-by: David Chase <drchase@google.com>
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-07-12 19:30:30 +00:00
..
abi internal/abi: define riscv64 register ABI constants 2022-03-26 01:27:54 +00:00
buildcfg buildcfg: disable regabiwrappers along with regabiargs 2022-05-13 18:21:52 +00:00
bytealg internal/bytealg: support basic byte operation on loong64 2022-05-17 19:55:37 +00:00
cfg cmd/go: set go.work path using GOWORK, and remove -workfile flag 2022-02-16 15:58:47 +00:00
cpu cpu: fix typos in test case 2022-06-14 14:49:40 +00:00
diff all: gofmt main repo 2022-05-19 15:49:05 +00:00
fmtsort all: gofmt main repo 2022-04-11 16:34:30 +00:00
fuzz cmd/compile: support libFuzzer value profiling mode for integer compares 2022-05-23 16:21:22 +00:00
goarch internal/goarch, internal/goos: update generators for syslist.go 2022-06-15 21:31:23 +00:00
godebug net/netip: add new IP address package 2021-11-02 01:28:01 +00:00
goexperiment internal/goexperiment: add GOEXPERIMENT=boringcrypto 2022-04-04 21:06:49 +00:00
goos internal/goarch, internal/goos: update generators for syslist.go 2022-06-15 21:31:23 +00:00
goroot all: use os/exec instead of internal/execabs 2022-05-02 17:49:12 +00:00
goversion internal/goversion: update Version to 1.19 2022-02-28 22:24:58 +00:00
intern all: separate doc comment from //go: directives 2022-04-05 17:54:15 +00:00
itoa all: add internal/itoa package 2021-03-14 17:56:50 +00:00
lazyregexp
lazytemplate all: gofmt -w -r 'interface{} -> any' src 2021-12-13 18:45:54 +00:00
nettrace all: gofmt main repo 2022-04-11 16:34:30 +00:00
obscuretestdata all: update to use os.ReadFile, os.WriteFile, os.CreateTemp, os.MkdirTemp 2020-12-09 19:12:23 +00:00
oserror
pkgbits internal/pkgbits: change EnableSync into a dynamic knob 2022-07-12 19:30:30 +00:00
poll internal/poll, net, syscall: use accept4 on solaris 2022-05-03 14:38:32 +00:00
profile all: gofmt main repo 2022-04-11 16:34:30 +00:00
race all: go fmt std cmd (but revert vendor) 2021-02-20 03:54:50 +00:00
reflectlite cmd/compile,runtime,reflect: move embedded bit from offset to name 2022-06-14 23:22:11 +00:00
singleflight all: gofmt -w -r 'interface{} -> any' src 2021-12-13 18:45:54 +00:00
syscall cmd/go: add functions to read index file 2022-06-03 19:59:31 +00:00
sysinfo testing: print cpu type as label for benchmarks 2020-10-20 21:30:18 +00:00
testenv runtime: convert flaky semaphore linearity test into benchmark 2022-06-21 19:37:22 +00:00
testlog cmd/go, testing, os: fail test that calls os.Exit(0) 2020-08-27 23:19:15 +00:00
trace internal/trace: add Go 1.19 test data 2022-06-24 22:08:17 +00:00
txtar all: gofmt main repo 2022-04-11 16:34:30 +00:00
unsafeheader all: gofmt -w -r 'interface{} -> any' src 2021-12-13 18:45:54 +00:00
xcoff