1
0
mirror of https://github.com/golang/go synced 2024-11-26 03:17:57 -07:00
go/src/debug
Alessandro Arzilli 4f327f271d debug/macho: fix DWARF for section names longer than 16 chars
The Mach-O file format truncates section names to 16 characters
maximum, which makes some sections unrecognizable to debug/dwarf.
This CL works around this problem by re-expanding the truncated section
names.

This problem was originally reported as:
https://github.com/go-delve/delve/issues/3797

Change-Id: I8c4a02493b8d5c3f63c831da43f6292124edf670
Reviewed-on: https://go-review.googlesource.com/c/go/+/608995
Auto-Submit: Ian Lance Taylor <iant@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
2024-08-30 17:51:51 +00:00
..
buildinfo debug/buildinfo: stop searchMagic search at EOF 2024-08-27 17:29:18 +00:00
dwarf debug: add available godoc link 2023-10-18 19:33:30 +00:00
elf debug/elf: remove incorrect doc link 2024-04-23 16:49:58 +00:00
gosym debug/gosym: add detailed doc for text argument in NewLineTable 2024-01-25 19:43:24 +00:00
macho debug/macho: fix DWARF for section names longer than 16 chars 2024-08-30 17:51:51 +00:00
pe debug: add available godoc link 2023-10-18 19:33:30 +00:00
plan9obj debug: add available godoc link 2023-10-18 19:33:30 +00:00