]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.16] 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:11 +0000 (20:56 +0000)
commit355915ba9105cad1b0300de1ff1ef30ee643379c
treece55f703fc982fa83afc0260928d14c28d47ded0
parent07ee9e6445057e181fb3895df978748ffef30327
[release-branch.go1.16] debug/pe,debug/macho: add support for DWARF5 sections

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

For #49590
Fixes #50721

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/+/379915
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