]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.17] debug/pe,debug/macho: add support for DWARF5 sections
authorAlessandro Arzilli <alessandro.arzilli@gmail.com>
Mon, 15 Nov 2021 09:14:04 +0000 (10:14 +0100)
committerIan Lance Taylor <iant@golang.org>
Thu, 3 Feb 2022 20:56:27 +0000 (20:56 +0000)
commit1b867ce3efa427d8b4bb07f51b0f8a262f3a1227
tree83738616adbb72f92906b2ea3299aa0201eeaa40
parent539d430efb5043cc6a2d4d4fcd2866b11717039a
[release-branch.go1.17] debug/pe,debug/macho: add support for DWARF5 sections

Adds the same logic used in debug/elf to load DWARF5 sections.

For #49590
Fixes #50722

Change-Id: Iee05b9927a6f521842b330eab8942ade3fc2bd86
Reviewed-on: https://go-review.googlesource.com/c/go/+/363895
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Trust: Than McIntosh <thanm@google.com>
(cherry picked from commit 6c36c332fefdd433cfe6e6468a2542fc310e9f8a)
Reviewed-on: https://go-review.googlesource.com/c/go/+/379914
Trust: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Alessandro Arzilli <alessandro.arzilli@gmail.com>
Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com>
src/debug/macho/file.go
src/debug/pe/file.go