aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/vendor/github.com
diff options
context:
space:
mode:
authorCherry Mui <cherryyz@google.com>2024-02-06 18:08:34 -0500
committerCherry Mui <cherryyz@google.com>2024-02-16 14:59:05 +0000
commit5258d4ed60ffe272fe51d7793c4ca6f8cc054299 (patch)
tree4ff71b46818a27c35cf983a16c45f1dbc5188ea7 /src/cmd/vendor/github.com
parent284e553035137fc339617f01dd53766977cd3e8c (diff)
downloadgo-5258d4ed60ffe272fe51d7793c4ca6f8cc054299.tar.xz
cmd/link: add -randlayout flag to randomize function ordering
Sometimes we found that benchmark results may strongly depend on the ordering of functions laid out in the binary. This CL adds a flag -randlayout=seed, which randomizes the function layout (in a deterministic way), so can verify the benchmark results against different function ordering. Change-Id: I85f33881bbfd4ca6812fbd4bec00bf475755a09e Reviewed-on: https://go-review.googlesource.com/c/go/+/562157 Reviewed-by: David Chase <drchase@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Than McIntosh <thanm@google.com>
Diffstat (limited to 'src/cmd/vendor/github.com')
0 files changed, 0 insertions, 0 deletions