diff options
| author | Michael Pratt <mpratt@google.com> | 2022-12-15 17:17:01 -0500 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2023-01-30 16:32:56 +0000 |
| commit | 87860873efdcc3fde7327eb4c3a9d3e6ea33d245 (patch) | |
| tree | 73331ae648fc2d04995139d2ee894273d4e10cf5 /src/encoding/gob/encode.go | |
| parent | d42c08a2be456d353a7aca3110edeb9bdb66ebd0 (diff) | |
| download | go-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/gob/encode.go')
0 files changed, 0 insertions, 0 deletions
