go/src/cmd/cgo
Alex Brachet 32208e4fa2
[release-branch.go1.18] cmd/cgo: allow DW_TAG_variable's with no name
https://reviews.llvm.org/D123534 is emitting DW_TAG_variable's
that don't have a DW_AT_name. This is allowed in the DWARF
standard. It is adding DIE's for string literals for better
symbolization on buffer overlows etc on these strings. They
no associated name because they are not user provided variables.

Fixes #57044
Updates #53000

Change-Id: I2cf063160508687067c7672cef0517bccd707d7b
Reviewed-on: https://go-review.googlesource.com/c/go/+/406816
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
(cherry picked from commit e66f895667)
2022-12-03 19:36:57 +01:00
..
ast.go cmd/cgo: update to handle ast.IndexListExpr 2021-10-07 18:02:14 +00:00
ast_go1.go cmd/cgo: use "!compiler_bootstrap" tag instead of "go1.18" 2021-10-08 19:19:09 +00:00
ast_go118.go cmd/cgo: use "!compiler_bootstrap" tag instead of "go1.18" 2021-10-08 19:19:09 +00:00
doc.go runtime/cgo: add Handle for managing (c)go pointers 2021-04-06 23:39:42 +00:00
gcc.go [release-branch.go1.18] cmd/cgo: allow DW_TAG_variable's with no name 2022-12-03 19:36:57 +01:00
godefs.go cmd/cgo: add -trimpath flag allowing paths to be rewritten in outputs 2020-10-31 00:35:18 +00:00
main.go cmd: support space and quotes in CC and CXX 2021-08-16 20:23:11 +00:00
out.go cmd/cgo: add go:notinheap annotation to Windows handle types 2021-09-22 18:10:24 +00:00
util.go all: introduce and use internal/execabs 2021-01-21 19:10:18 +00:00