delve/pkg
Alessandro Arzilli 582305a813
proc: for optimized functions allow .closureptr to not exist (#3808)
* proc: flag variables correctly when range-over-func stmts are used

Argument variables of a range-over-func body closure should be returned
flagged as normal local variables, not as function arguments.

Updates #3806

* proc: for optimized functions allow .closureptr to not exist

For optimized functions .closureptr is sometimes omitted from DWARF,
allow it to be 0 and try to recover the range-over-func stack by best
effort.

Fixes #3806
2024-09-18 14:16:34 -07:00
..
astutil pkg/astutil,pkg/elfwriter: fix package doc (#3753) 2024-06-20 21:48:33 +02:00
config go.mod: update gopkg.in/yaml to v3 (#3776) 2024-07-11 08:04:47 -07:00
dwarf pkg/dwarf/line: use t.Logf instead of fmt.Printf in tests (#3772) 2024-07-11 10:19:09 -07:00
elfwriter pkg/astutil,pkg/elfwriter: fix package doc (#3753) 2024-06-20 21:48:33 +02:00
gobuild all: replace deprecated io/ioutil with io and os (#3509) 2023-09-25 11:41:59 -07:00
goversion goversion: add 1.23 to supported versions, update test matrix (#3780) 2024-07-15 14:43:03 -07:00
internal/gosym *: remove redundant lines at the start/end of block (#3773) 2024-07-11 13:54:55 +02:00
locspec *: replace fmt.Errorf with errors.New (#3752) 2024-06-20 21:50:18 +02:00
logflags all: replace deprecated io/ioutil with io and os (#3509) 2023-09-25 11:41:59 -07:00
proc proc: for optimized functions allow .closureptr to not exist (#3808) 2024-09-18 14:16:34 -07:00
terminal terminal/starbind: fix starlark conversion of named consts (#3802) 2024-09-03 10:36:42 -07:00
version *: release version 1.23.0 (#3782) 2024-07-16 11:44:48 -07:00