commit | 184474b3e823dae7dd5d6a80d28c0405dbaf5ec1 | [log] [tgz] |
---|---|---|
author | Than McIntosh <thanm@google.com> | Mon Sep 11 13:05:16 2023 -0400 |
committer | Than McIntosh <thanm@google.com> | Tue Sep 12 17:01:26 2023 +0000 |
tree | f84d92be9599bdb3e053617042c2580504281cbc | |
parent | 904067f65c6ee0231eb3b60c375b148f84187a90 [diff] |
dwtest: add explicit testpoint for runtime.throw Add a new testpoint that verifies the DWARF var location for the incoming parameter of the function 'runtime.throw'. We already have testpoings that validate DWARF for regular user-written functions that take a single string argument (as does 'runtime.throw'), but it is good to test the function in the runtime as well, since the rules for compiling the runtime are special, and we occasionally problems with DWARF generation can crop up that are runtime-specific. Fixes golang/go#62523. Cq-Include-Trybots: luci.golang.try:x_debug-gotip-linux-amd64-longtest Change-Id: I6558d9f12b22c997535cfc23d4b0758b10bd9548 Reviewed-on: https://go-review.googlesource.com/c/debug/+/526836 Reviewed-by: Alessandro Arzilli <alessandro.arzilli@gmail.com> Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
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.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the debug repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/debug:” in the subject line, so it is easy to find.