third_party/delve/dwarf: refresh to add support for DWARF 5

This patch pulls in some additional pieces from Delve that add support
for DWARF 5. Prior to this point the code copied from delve here was
specific to DWARF 2; once the Go compiler starts generating DWARF
version 5 we need more machinery to handle that.

Updates golang/go#26379.

Change-Id: Ib7bee1101101459e8eb5f7c62c625f0b7b53411f
Reviewed-on: https://go-review.googlesource.com/c/debug/+/654255
Reviewed-by: Michael Pratt <mpratt@google.com>
Reviewed-by: Junyang Shao <shaojunyang@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
5 files changed
tree: 43e2be376466a9cb3e49def2fef9144d9e7da0d0
  1. cmd/
  2. dwtest/
  3. internal/
  4. third_party/
  5. codereview.cfg
  6. CONTRIBUTING.md
  7. go.mod
  8. go.sum
  9. LICENSE
  10. README.md
README.md

Go Debug

Go Reference

This repository holds utilities and libraries for debugging Go programs.

WARNING! Please expect breaking changes and unstable APIs. Most of them are currently are at an early, experimental stage.

Report Issues / Send Patches

This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://go.dev/doc/contribute.

The git repository is https://go.googlesource.com/debug.

The main issue tracker for the debug repository is located at https://go.dev/issues. Prefix your issue with “x/debug:” in the subject line, so it is easy to find.