
Delve represents registerized variables (fully or partially) using compositeMemory, implementing proc.(*compositeMemory).WriteMemory is necessary to make SetVariable and function calls work when Go will switch to using the register calling convention in 1.17. This commit also makes some refactoring by moving the code that converts between register numbers and register names out of pkg/proc into a different package.
567 B
567 B
Tests skipped by each supported backend:
- 386 skipped = 2.7% (4/148)
- 1 broken
- 3 broken - cgo stacktraces
- arm64 skipped = 2.7% (4/148)
- 2 broken
- 1 broken - cgo stacktraces
- 1 broken - global variable symbolication
- darwin/lldb skipped = 0.68% (1/148)
- 1 upstream issue
- freebsd skipped = 8.1% (12/148)
- 11 broken
- 1 not implemented
- linux/386/pie skipped = 0.68% (1/148)
- 1 broken
- pie skipped = 0.68% (1/148)
- 1 upstream issue - https://github.com/golang/go/issues/29322
- windows skipped = 1.4% (2/148)
- 1 broken
- 1 upstream issue