]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: emit DIEs for zero sized variables
authorAlessandro Arzilli <alessandro.arzilli@gmail.com>
Fri, 23 Sep 2022 15:31:19 +0000 (17:31 +0200)
committerThan McIntosh <thanm@google.com>
Fri, 28 Oct 2022 17:49:22 +0000 (17:49 +0000)
commite59d873ff906550ace73b86bdb74b68ebe482a10
tree3e3f28b67d2dacf3b5675857e7235519dba89ac4
parent77296e36457b070bc811a605c4c4bd6c36d972ae
cmd/compile: emit DIEs for zero sized variables

Fixes the compiler to emit DIEs for zero sized variables.

Fixes #54615

Change-Id: I1e0c86a97f1abcc7edae516b6a7fe35bcb65ed0f
Reviewed-on: https://go-review.googlesource.com/c/go/+/433479
Reviewed-by: Damien Neil <dneil@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Alessandro Arzilli <alessandro.arzilli@gmail.com>
Reviewed-by: Than McIntosh <thanm@google.com>
src/cmd/compile/internal/dwarfgen/dwarf.go
src/cmd/compile/internal/ssa/debug.go
src/cmd/compile/internal/ssagen/pgen.go
src/cmd/link/internal/ld/dwarf_test.go