internal/gocore: add support and test for tip

The new test generates a core file on-the-fly using the test GOROOT,
which enables immediate test coverage of changes to the toolchain.

Internals of the runtime may change during the development cycle. The
intention is for gocore to only support the behavior of the final
release. Thus no backwards compatibilty need be maintained during

Change-Id: I95b09130da58467e8a8691eb0054880f12edf353
Auto-Submit: Michael Pratt <>
Reviewed-by: Keith Randall <>
Run-TryBot: Michael Pratt <>
Reviewed-by: Keith Randall <>
Reviewed-by: Michael Knyszek <>
TryBot-Result: Gopher Robot <>
5 files changed
tree: 470ef0718333f91d486195570953e6b7f4f8f0c8
  1. cmd/
  2. dwtest/
  3. internal/
  4. codereview.cfg
  6. go.mod
  7. go.sum

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

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