aboutsummaryrefslogtreecommitdiff
path: root/src/encoding/binary/binary.go
diff options
context:
space:
mode:
authorMichael Pratt <mpratt@google.com>2022-12-15 17:17:01 -0500
committerGopher Robot <gobot@golang.org>2023-01-30 16:32:56 +0000
commit87860873efdcc3fde7327eb4c3a9d3e6ea33d245 (patch)
tree73331ae648fc2d04995139d2ee894273d4e10cf5 /src/encoding/binary/binary.go
parentd42c08a2be456d353a7aca3110edeb9bdb66ebd0 (diff)
downloadgo-87860873efdcc3fde7327eb4c3a9d3e6ea33d245.tar.xz
cmd/link/internal/ld: add dwarf testing helpers
Many tests build a program just to analyze it with dwtest.Examiner. Add gobuildAndExamine, a helper that returns Examiner directly to reduce duplication in these tests. Many tests also lookup the DIE for a specific subprogram, which includes several verification steps. Package those up in findSubprogramDIE. Change-Id: I72202ba289ae8389b682be525ff7e6cfbfc00ff3 Reviewed-on: https://go-review.googlesource.com/c/go/+/458196 Reviewed-by: Than McIntosh <thanm@google.com> Reviewed-by: Cherry Mui <cherryyz@google.com> Auto-Submit: Michael Pratt <mpratt@google.com> Run-TryBot: Michael Pratt <mpratt@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
Diffstat (limited to 'src/encoding/binary/binary.go')
0 files changed, 0 insertions, 0 deletions