go/src/cmd/compile/internal/gc
Cherry Mui 3494a72600 cmd/compile: don't generate DWARF info for static vars
Static data symbols are compiler generated, not user symbols. The
linker already does not include them in the final DWARF section.
Don't generate the DWARF info in the first place.

Change-Id: Id2ae36683bfc1ed60b9924b7305eae5e8aa14d80
Reviewed-on: https://go-review.googlesource.com/c/go/+/490817
Run-TryBot: Cherry Mui <cherryyz@google.com>
Reviewed-by: Than McIntosh <thanm@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2023-05-02 12:53:37 +00:00
..
compile.go all: implement wasmimport directive 2023-03-02 05:28:55 +00:00
export.go cmd/compile: use exact constant in go_asm.h 2022-01-10 21:27:19 +00:00
main.go cmd/compile: remove -wrapglobalmapinit flag 2023-03-09 20:09:52 +00:00
obj.go cmd/compile: don't generate DWARF info for static vars 2023-05-02 12:53:37 +00:00
util.go all: remove pre-Go 1.17 workarounds 2022-08-04 17:05:18 +00:00