]> Cypherpunks repositories - gostls13.git/commit
cmd/cgo: run recordTypes for each of the debugs at the end of Translate
authormatloob <matloob@golang.org>
Mon, 25 Aug 2025 21:16:05 +0000 (17:16 -0400)
committerGopher Robot <gobot@golang.org>
Mon, 8 Sep 2025 20:14:03 +0000 (13:14 -0700)
commitcf42b785b701e48260e1b4785e270fe81e2e1bb2
tree8a4a4c180b09ecf5190bb02738ce0cbec0280e62
parent5e6296f3f8a5fd8c07a0602435eae681002e09ad
cmd/cgo: run recordTypes for each of the debugs at the end of Translate

Save the debug information in a slice and then process all of them at
the end of the loop.

For #75167

Change-Id: I6a6a6964dffa784b0aa776334562333ecf247023
Reviewed-on: https://go-review.googlesource.com/c/go/+/699019
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Matloob <matloob@google.com>
Auto-Submit: Michael Matloob <matloob@google.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Michael Pratt <mpratt@google.com>
src/cmd/cgo/gcc.go