diff options
| author | Michael Pratt <mpratt@google.com> | 2023-02-22 17:11:28 -0500 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2023-02-23 21:40:21 +0000 |
| commit | 778a60c1033f21ed0a8977d6292e9964476dda68 (patch) | |
| tree | 77ff61b3788840070de51ba737bfb8deda1ecaab /src/encoding/json/encode.go | |
| parent | 20da76da91ddf1629cbabb31d4f05cdff1ce452a (diff) | |
| download | go-778a60c1033f21ed0a8977d6292e9964476dda68.tar.xz | |
cmd/link/internal/ld: split TestInlinedRoutineRecords
A later CL will add additional test cases for CallFile and CallLine with
a //line directive. The parameter/variable checks have nothing to do
with line numbers and will only serve to make the test more difficult to
follow, so split this single mega-test into two: one for testing
file/line and the other for testing parameters/variables.
There are a few additional minor changes:
1. A missing AttrName is now an error.
2. Check added for AttrCallLine, which was previously untested.
For #58648.
Change-Id: I35e75ead766bcf910c58eb20541769349841f2b5
Reviewed-on: https://go-review.googlesource.com/c/go/+/470875
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Than McIntosh <thanm@google.com>
Auto-Submit: Michael Pratt <mpratt@google.com>
Reviewed-by: Than McIntosh <thanm@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Diffstat (limited to 'src/encoding/json/encode.go')
0 files changed, 0 insertions, 0 deletions
