]> Cypherpunks repositories - gostls13.git/commit
cmd/link/internal/ld: split varDeclCoords tests
authorMichael Pratt <mpratt@google.com>
Fri, 16 Dec 2022 18:12:22 +0000 (13:12 -0500)
committerGopher Robot <gobot@golang.org>
Mon, 30 Jan 2023 16:41:51 +0000 (16:41 +0000)
commit8c347a093cf168aa714da07f4d0709aa6d5a090d
treebb814f752e16923d89eb918fc8f37b93acc7cfc1
parent87860873efdcc3fde7327eb4c3a9d3e6ea33d245
cmd/link/internal/ld: split varDeclCoords tests

This test set is a bit hard to follow due to trying to test both
variable and function declaration location information.

Now that we have additional helpers to avoid duplication, it isn't too
much work to split them up into individually more understandable tests.

Change-Id: I619ac82ac3b5d00683e22a4a2064e2a5b15e8ce9
Reviewed-on: https://go-review.googlesource.com/c/go/+/458197
Auto-Submit: Michael Pratt <mpratt@google.com>
Run-TryBot: Michael Pratt <mpratt@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
src/cmd/link/internal/ld/dwarf_test.go