]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/objabi,cmd/link/internal/sym: add SDWARFADDR symbol type
authorThan McIntosh <thanm@golang.org>
Fri, 6 Dec 2024 00:01:22 +0000 (19:01 -0500)
committerThan McIntosh <thanm@golang.org>
Sat, 22 Feb 2025 21:32:37 +0000 (13:32 -0800)
commit282a14ec617ea663740026687d0ec5130066d75c
tree3fd6e3be1222c264658687c59441580d558c4766
parent31b800abe6a599f001a545d98437b9d821cef5c2
cmd/internal/objabi,cmd/link/internal/sym: add SDWARFADDR symbol type

Add a new symbol type: SDWARFADDR. This kind of symbol stores content
to be added to the DWARF .debug_addr section (new with DWARF5). At the
moment these symbols are created only in the linker, but it's not hard to
imagine other implementations in which the compiler would create them,
so they are added to both the compiler and linker symbol kind space.

Updates #26379.

Change-Id: I4a82ead0d59fe6028abfd6d6e3fc3df2e28c0ef6
Reviewed-on: https://go-review.googlesource.com/c/go/+/634415
Reviewed-by: David Chase <drchase@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/cmd/internal/objabi/symkind.go
src/cmd/internal/objabi/symkind_string.go
src/cmd/link/internal/sym/symkind.go
src/cmd/link/internal/sym/symkind_string.go